Group sources for efficient one-command collection.
Bundles are named groups of sources you can fetch from with one command.
Instead of:
./capcat fetch hn --count 20
./capcat fetch lb --count 20
./capcat fetch iq --count 20
Use:
./capcat bundle techpro --count 20
./capcat bundle tech --count 20
Sources:
./capcat bundle techpro --count 15
Sources:
./capcat bundle news --count 25
Sources:
./capcat bundle science --count 20
Sources:
./capcat bundle ai --count 20
Sources:
./capcat bundle bbcsport --count 25
Sources:
./capcat bundle all --count 10
See all bundles:
./capcat list bundles
Output:
--- Available Bundles ---
tech - Consumer Technology
Sources: ieee, mashable, gizmodo
techpro - Professional Developer
Sources: hn, lb, iq
news - General News
Sources: bbc, guardian
Total: 6 bundles
vim sources/active/bundles.yml
Add your bundle:
mybundle:
description: "My custom news bundle"
sources:
- hn
- bbc
- nature
- mitnews
default_count: 15
Save and use:
./capcat bundle mybundle
./capcat catch
# Select: Manage Sources
# Select: Manage Bundles
# Select: Create New Bundle
Follow prompts to:
Quick overview of everything:
morning:
description: "Morning news briefing"
sources:
- bbc
- hn
- nature
default_count: 10
Use:
./capcat bundle morning --html
Deep dive articles with media:
research:
description: "Research and academic content"
sources:
- nature
- scientificamerican
- mitnews
default_count: 30
Use:
./capcat bundle research --media --html
Long-form content:
weekend:
description: "Weekend long-form reading"
sources:
- iq
- nature
- guardian
default_count: 50
Use:
./capcat bundle weekend --count 50 --html
Edit sources/active/bundles.yml:
tech:
sources:
- ieee
- mashable
- gizmodo
- newsource # Add here
Remove from list:
tech:
sources:
- ieee
- mashable
# gizmodo removed
Remove from one, add to another:
# Remove from tech
tech:
sources:
- ieee
- mashable
# Add to news
news:
sources:
- bbc
- guardian
- gizmodo # Moved here
Bundles automatically include sources with matching category.
If you have a bundle named "tech":
tech:
sources:
- ieee # Explicitly listed
And sources with category: tech:
These are auto-included without editing bundles.yml.
Morning, noon, evening collections:
# Morning (8 AM)
./capcat bundle morning --count 10 --html
# Noon update
./capcat bundle news --count 5
# Evening deep dive
./capcat bundle research --count 20 --media
Different bundles each day:
# Monday - Professional news
./capcat bundle techpro --count 20
# Wednesday - General news
./capcat bundle news --count 25
# Friday - Science
./capcat bundle science --count 30
# Sunday - Everything
./capcat bundle all --count 15
Bundles have default counts, but you can override:
# Use default count
./capcat bundle tech
# Override with custom count
./capcat bundle tech --count 50
# With HTML for browsing
./capcat bundle tech --html
# Without HTML (faster)
./capcat bundle tech
One after another:
./capcat bundle tech --count 15
./capcat bundle news --count 10
./capcat bundle science --count 10
Or all bundles:
./capcat bundle --all --count 10
# Check bundles.yml exists
ls sources/active/bundles.yml
# List available bundles
./capcat list bundles
# Test individual source
./capcat fetch sourcename --count 3
# Remove failing source from bundle
vim sources/active/bundles.yml
# Use bundle
./capcat bundle BUNDLE_NAME
# List bundles
./capcat list bundles
# Override count
./capcat bundle BUNDLE_NAME --count N
# With HTML
./capcat bundle BUNDLE_NAME --html
# All bundles
./capcat bundle --all
# Edit bundles
vim sources/active/bundles.yml
Location: sources/active/bundles.yml
Structure:
bundle_name:
description: "Description of bundle"
sources:
- source1
- source2
- source3
default_count: 20