An intelligent social media bot that automatically generates and posts engaging content across multiple platforms.
āāā backend/
ā āāā index.ts # Main HTTP API
ā āāā content-generator.ts # AI content generation
ā āāā social-platforms.ts # Platform integrations
ā āāā scheduler.ts # Posting scheduler
āāā cron-poster.ts # Automated posting cron job
āāā shared/
ā āāā types.ts # Shared types and interfaces
āāā README.md
Set up environment variables:
OPENAI_API_KEY
(for content generation)TWITTER_API_KEY
, TWITTER_API_SECRET
, TWITTER_ACCESS_TOKEN
, TWITTER_ACCESS_SECRET
LINKEDIN_ACCESS_TOKEN
(optional)Configure content settings in backend/content-generator.ts
Set up the cron job schedule in Val Town UI for automated posting
GET /
- Dashboard and manual controlsPOST /generate
- Generate new contentPOST /post
- Post content to social mediaGET /content
- View recent contentPOST /schedule
- Schedule content for laterThe bot can generate various types of content:
Customize content types in the configuration to match your brand voice and audience.