A CLI tool that filters your X (Twitter) timeline using Claude AI, surfacing content that matches your interests while filtering out noise.
# Install with pipx (recommended)
pipx install git+https://github.com/ericksoa/xfeed.git
# Or with pip
pip install git+https://github.com/ericksoa/xfeed.git
# Run it
xfeed mosaicOn first run, xfeed will:
- Prompt for your Anthropic API key
- Auto-install the browser component
- Create a default objectives file at
~/.xfeed/objectives.md
Prerequisite: You must be logged into X (twitter.com) in Chrome.
- AI-Powered Filtering: Claude Haiku scores tweets 0-10 based on your interests
- Rich Mosaic Display: Visual heatmap sized by relevance
- Reasoning Quality: Boosts evidence-based posts, penalizes rage bait
- Interactive Controls: Adjust filters on-the-fly
- Engagement Tracking: See your notifications at a glance
xfeed mosaicKeyboard shortcuts:
| Key | Action |
|---|---|
1-9 |
Open tweet in browser |
+ / - |
Adjust relevance threshold |
c |
Cycle tweet count |
o |
Edit objectives |
r |
Refresh |
q |
Quit |
xfeed fetch # List view of filtered tweets
xfeed watch # Periodic updates (ambient mode)
xfeed ticker # CNN-style rotating display
xfeed objectives --edit # Edit your interests
xfeed config --show # Show configurationEdit ~/.xfeed/objectives.md to define what you care about:
# Things I Care About
## Topics
- AI/ML research
- Developer tools
- Open source
## People
- @karpathy
- @simonw
## Exclude
- Crypto promotions
- Rage bait
- DramaSet via environment variable or xfeed will prompt on first run:
export ANTHROPIC_API_KEY=sk-ant-...All config is stored in ~/.xfeed/:
.env- API key (chmod 600)config.yaml- Settingsobjectives.md- Your interests
MIT