A dashboard for finding high-opportunity tweets and drafting engaging AI-powered replies.
- Background Curation - Browses your For You feed, clicks interesting tweets to train X's algorithm
- Smart Reply Generation - Different styles for tech vs culture tweets
- Proxy Support - Route through residential proxies to avoid rate limits
- One-Click Reply - Copy or open directly in X with pre-filled text
git clone <repo>
cd replyguy
npm installcp .env.example .envAdd your Anthropic API key:
ANTHROPIC_API_KEY=sk-ant-...
Get one at console.anthropic.com
The app uses your X session to browse tweets:
-
Install Cookie-Editor (Chrome) or Cookie-Editor (Firefox)
-
Go to x.com and make sure you're logged in
-
Click the extension → Export → Export as JSON
-
Save as
src/data/x-cookies.json
The voice profile helps generate replies that match your writing style:
cp src/data/voice-profile.example.json src/data/voice-profile.jsonEdit voice-profile.json to reflect your style preferences, or leave the defaults.
X rate-limits aggressively. A residential proxy helps avoid blocks:
PROXY_URL=http://user:[email protected]:8080
Providers: IPRoyal, Smartproxy, Oxylabs
npm start- Background curation runs automatically - Browses For You every 3-6 minutes
- Click a tweet card - Opens modal with AI-generated reply options
- Pick or edit a reply - Click to select, modify if needed
- Reply on X - Opens tweet with your reply pre-filled
- Refresh for variations - Click ↻ for new options
Go to /compose.html to:
- Paste any tweet URL
- Add custom context/direction
- Generate replies with all 4 styles
| Style | Description |
|---|---|
| 🎯 witty | Clever wordplay, puns |
| 🔥 savage | Brutal, no mercy |
| 🤪 chaotic | Unhinged, absurdist |
| 😐 deadpan | Dry, understated |
Auto-detects tweet type:
- Tech/AI tweets → Insightful, value-adding
- Culture tweets → Short, snarky one-liners
| Variable | Required | Description |
|---|---|---|
ANTHROPIC_API_KEY |
Yes | Claude API key |
PROXY_URL |
No | Residential proxy URL |
PORT |
No | Server port (default: 3000) |
| File | Description |
|---|---|
src/data/x-cookies.json |
Your X session cookies |
src/data/voice-profile.json |
Writing style preferences |
"Not logged in" errors - Re-export your X cookies
Timeouts / empty results - Add a proxy, X rate-limited your IP
No tweets showing - Wait for a curate cycle (3-6 min), check console
MIT