Personal automated tweet scheduling and posting system.
- Tweet Scheduling: Schedule single tweets and threads via API
- Automated Posting: Vercel cron job runs every 30 minutes to post ready tweets
- Queue Management: GitHub-based queue system for tweet storage
- Security: Authentication middleware with rate limiting
- Monitoring: Operational metrics and health monitoring
GET /api/tweets/test- System test endpoint (dev/staging only)GET /api/tweets/status- Queue status and system healthPOST /api/tweets/schedule- Schedule new tweetsGET /api/tweets/metrics- Operational metricsGET /api/cron/tweet-scheduler- Cron job endpoint (automated)
Required environment variables:
TWEET_API_SECRET- API authentication secretGITHUB_TOKEN- GitHub personal access tokenGITHUB_REPO_OWNER- GitHub usernameGITHUB_REPO_NAME- Repository name for tweet queueTWITTER_API_KEY- Twitter OAuth 1.0a Consumer KeyTWITTER_API_SECRET- Twitter OAuth 1.0a Consumer SecretTWITTER_ACCESS_TOKEN- Twitter OAuth 1.0a Access TokenTWITTER_ACCESS_TOKEN_SECRET- Twitter OAuth 1.0a Access Token SecretTWITTER_CLIENT_ID- Twitter API client IDTWITTER_CLIENT_SECRET- Twitter API client secretCRON_SECRET- Vercel cron job authentication secret
Deploy to Vercel with automatic cron job scheduling.
vercel --prodEnvironment variables can be transferred from existing project using:
vercel env pull .env.production© 2025 Personal Tweet Automation System