The source management menu provides a user-friendly interface for adding, removing, and configuring news sources in Capcat.
This is a submenu within Capcat's interactive mode. For complete interactive mode documentation, see Interactive Mode Guide.
Launch the interactive menu:
./capcat catch
From the main menu, select
Quickly add a new source by providing an RSS feed URL.
Enter the RSS feed URL: https://techcrunch.com/feed/
[OK] Feed 'TechCrunch' found.
Source ID: techcrunch
Category: tech
Add to bundle? Yes
Select bundle: tech
[OK] Added 'techcrunch' to bundle 'tech'.
Test fetch? Yes
[OK] Source added and verified successfully!
Create a comprehensive YAML configuration for more complex sources.
A complete YAML file saved to sources/active/config_driven/configs/
Interactive source removal with safety features.
.capcat-backups/View all available sources grouped by category.
TECH:
- hn Hacker News
- lb Lobsters
- iq InfoQ
- gizmodo Gizmodo
NEWS:
- bbc BBC News
- guardian The Guardian
SCIENCE:
- nature Nature News
- scientificamerican Scientific American
Total: 15 sources
Validate that a source is working correctly.
Return to the main Capcat catch menu.
./capcat catch
> Manage Sources (add/remove/configure)
> Add New Source from RSS Feed
Enter RSS feed URL: https://arstechnica.com/feed/
[OK] Feed 'Ars Technica' found.
Source ID: arstechnica
Category: tech
Add to bundle? Yes
Bundle: tech
Test fetch? Yes
[OK] Source added successfully!
./capcat catch
> Manage Sources (add/remove/configure)
> Remove Existing Sources
Select sources to remove:
[x] oldblog
[x] discontinued-source
[ ] current-source
Confirm removal? Yes
[OK] Backup created: .capcat-backups/backup_20251019_143022/
[OK] 2 sources removed successfully
./capcat catch
> Manage Sources (add/remove/configure)
> Generate Custom Source Config
[Interactive configuration wizard launches]
- Source ID: newsite
- Display name: NewSite Tech
- Category: tech
- Discovery method: html
- Article selectors: h2.headline a
- Content selectors: div.article-content
- Images: article img
- Rate limit: 5 seconds
...
Configuration saved to: sources/active/config_driven/configs/newsite.yaml
Next steps:
1. Review: cat sources/active/config_driven/configs/newsite.yaml
2. Test: ./capcat fetch newsite --count 5
3. Add to bundle: edit sources/active/bundles.yml
All menu functions have CLI equivalents:
./capcat add-source --url ./capcat generate-config./capcat remove-source./capcat list sources./capcat fetch --count 3 ./capcat remove-source --undoFor adding multiple RSS sources quickly:
After modifying a config file:
Use CLI for batch operations:
# Add multiple sources from file
./capcat add-source --batch sources.txt
# Remove multiple sources
./capcat remove-source --batch remove-list.txt
Backups stored in .capcat-backups/:
# List backups
ls -la .capcat-backups/
# Restore specific backup
./capcat remove-source --undo backup_20251019_143022
# Restore last backup
./capcat remove-source --undo
Edit configs manually:
# Open config in editor
vim sources/active/config_driven/configs/newsource.yaml
# Validate syntax
python3 -c "import yaml; yaml.safe_load(open('newsource.yaml'))"
# Test changes
./capcat fetch newsource --count 3
The source management menu makes it easy to maintain your Capcat news sources without touching configuration files directly. All operations are interactive, safe, and reversible.