High-performance meme API service with Reddit integration, Next.js dashboard, and Telegram bot.
- Reddit meme scraping with smart caching
- REST API with JSON and image-only endpoints
- Rate limiting with tiered access (Free/Standard/Premium)
- Smart deduplication (never see same meme twice)
- Admin dashboard with glassmorphism design
- Telegram bot with Stars payment integration
- Infinite API keys support
npm install
npm run db:migrate
npm run devADMIN_USERNAME=admin
ADMIN_PASSWORD=your_secure_password
DATABASE_URL=postgresql://...
TELEGRAM_BOT_TOKEN=your_bot_token # optional# Get memes
curl "/api/memes?apiKey=YOUR_KEY&count=10"
# Get image only
curl "/api/memes/image?apiKey=YOUR_KEY"/start- Get 100 free requests/getmeme [query]- Random meme/balance- Check credits/buy- Purchase with Stars/stats- View statistics
Deploy to Railway:
- Connect GitHub repo
- Add PostgreSQL database
- Set environment variables
- Deploy
Visit /docs on your deployed instance for full API documentation.
Private