A context-aware crypto Twitter engagement tool that generates persona-based replies, variants, and quote tweets. Built with secure backend API and designed specifically for crypto Twitter interactions.
- Tweet Context Detection: Automatically classifies tweets (announcement, technical thread, hot take, opinion, partnership/launch)
- Crypto Personas: Builder, Trader, Researcher, Degen, Founder, Community personas
- Engagement Modes: Engagement Max, Neutral, Signal-only modes
- Reply Variants: Generate Safe, Bold, and Alpha variants for each tweet
- Quote Tweet Generator: Create compelling quote tweets with hooks and supporting lines
- Session Memory: Saves user preferences locally
- Thread-Aware Mode: Detects and responds appropriately to tweet threads
- Crypto-Native Language: Uses proper crypto terminology and context
- Context-Aware Responses: Adjusts tone and structure based on tweet type
- Mobile-First Design: Optimized for crypto Twitter's mobile-heavy usage
- Chrome Extension: Direct Twitter integration with auto-fill and paste
- Secure Backend: API key stored safely on server
- Rate Limiting: 10 requests/minute protection
- Responsive Design: Works perfectly on all devices
- Zero Chrome Store Cost: Direct installation without store approval
# Clone or download the project
npm install# Copy the example environment file
cp .env.example .env
# Edit .env and add your OpenRouter API key
OPENROUTER_API_KEY=your_api_key_here
PORT=3000
SITE_URL=http://localhost:3000- Sign up at OpenRouter
- Get your free API key from the dashboard
- Add it to your
.envfile
# Development mode (with auto-restart)
npm run dev
# Production mode
npm startVisit http://localhost:3000 to use the app!
- Paste Tweet: Copy any crypto tweet you want to engage with
- Choose Persona: Select your crypto persona (Builder, Trader, etc.)
- Set Engagement Mode: Choose your engagement strategy
- Generate Options:
- Single Reply: Generate one optimized reply
- 3 Variants: Get Safe, Bold, and Alpha versions
- Quote Tweet: Create a compelling quote tweet
- Copy & Engage: Use the generated content on Twitter
- Install: Download and install the extension directly
- Auto-Fill: Click to extract tweet text from Twitter
- Generate: Create replies without leaving Twitter
- Paste: Directly insert replies into Twitter's reply box
- π¨ Builder: Technical focus, development-oriented responses
- π Trader: Market-focused, price action commentary
- π¬ Researcher: Data-driven, analytical insights
- π² Degen: High-risk plays, meme-friendly, casual
- π Founder: Strategic thinking, ecosystem development
- π€ Community: Collaborative, educational, inclusive
- βοΈ Neutral: Balanced, safe engagement
- π₯ Engagement Max: Hooks, questions, conversation starters
- π― Signal Only: Pure insights, minimal fluff
- Length: Ultra-short to long responses
- Style: Casual, Professional, Technical, Alpha, etc.
- Tone: Neutral, Confident, Contrarian, Bullish, Analytical
- Emojis: Toggle crypto-appropriate emojis
- Security: Helmet.js for security headers, CORS protection
- Rate Limiting: 50 requests/15min general, 10 requests/min for AI endpoints
- API Integration: Secure OpenRouter API handling
- Error Handling: Comprehensive error responses and logging
- Pure JavaScript: No frameworks, lightweight and fast
- Responsive Design: CSS Grid and Flexbox
- User Experience: Loading states, error handling, success feedback
- Accessibility: Proper ARIA labels and keyboard navigation
POST /api/analyze- Analyze tweet content and contextPOST /api/generate-reply- Generate crypto-aware replies with persona/modePOST /api/generate-quote- Generate quote tweets with hooksGET /api/extension-version- Extension update checkingGET /api/health- Health check endpoint
The AI automatically detects tweet types:
- Partnership/Launch: Announcements, partnerships, product launches
- Technical Thread: Deep dives, technical explanations, tutorials
- Hot Take: Controversial opinions, debate starters
- Opinion: Personal views, market commentary
- Announcement: News, updates, breaking information
- General: Standard crypto discussion
- π‘οΈ Safe: Conservative, broadly acceptable, low-risk responses
- π₯ Bold: Confident, opinionated, conversation-starting replies
- β‘ Alpha: High-conviction, contrarian, thought-leadership content
OPENROUTER_API_KEY=your_openrouter_api_key
PORT=3000
NODE_ENV=production
SITE_URL=https://yourdomain.comThe app is ready for deployment on platforms like:
- Heroku:
git push heroku main - Railway: Connect your GitHub repo
- DigitalOcean App Platform: Deploy from GitHub
- Vercel/Netlify: For static hosting + serverless functions
- API key stored securely on backend
- Rate limiting to prevent abuse
- Input validation and sanitization
- Security headers (CSP, HSTS, etc.)
- CORS protection
- Request size limits
- Modern browsers with ES6+ support
- Chrome, Firefox, Safari, Edge (latest versions)
- Mobile browsers supported
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - feel free to use this project for personal or commercial purposes.