An intelligent, agent-powered blog generator built with Python, LangChain, and OpenAI GPT-4o. Fully automated โ from idea to published blog with zero manual effort.
- ๐ Input any blog topic
- ๐ง Outliner Agent to structure posts before writing
- โ๏ธ Writer Agent + Proofreader Agent for high-quality content
- ๐ฃ Auto-generated captions for Twitter, LinkedIn, Instagram
- ๐ Citation Inserter Agent for credibility and references
- ๐ฏ SEO Agent for tags, meta descriptions, and summaries
- ๐ผ๏ธ Share Banner Generator for social media branding
- ๐พ Saves content as
.md,.txt,.json, and.html - ๐ค Auto-push to GitHub Pages for hosting + RSS feed
- ๐ฐ Auto-publish to Dev.to via RSS
- ๐๏ธ Streamlit UI with queue system, trending topics, outline editing
- โฐ Optional Google Calendar sync for scheduled posts
- ๐ Built-in Analytics Dashboard (reading time, tags, calendar heatmap)
| Agent | Role |
|---|---|
Outliner Agent |
Creates blog structure before writing |
Writer Agent |
Generates content based on topic, tone, audience, outline |
Proofreader Agent |
Cleans and refines blog content |
Citation Agent |
Inserts credible references and links |
SEO Agent |
Suggests meta description and SEO tags |
Social Agent |
Generates captions and post templates for each platform |
Editor Agent |
Summarizes content in bullet points |
- โ Topic input, tone & audience selector
- ๐ Optional outline preview and editing
- โ Queue multiple topics for batch processing
- ๐ One-click generation with live feedback
- ๐ฆ Downloadable files and preview windows
- ๐ Analytics Dashboard with:
- Calendar heatmap
- Weekly/monthly trends
- Top tags
- Filterable blog archive
- CSV export
- ๐
blogs/โ Markdown blog posts - ๐
captions/โ Captions for each blog - ๐
metadata/โ Blog metadata (JSON: SEO, summary, links, etc.) - ๐
docs/โ GitHub Pages folder (.html files + rss.xml) - ๐
banners/โ Social share images - ๐
rss.xmlโ Auto-updated RSS feed for Dev.to and Medium
- ๐งต Thread Composer Agent (Twitter carousel style)
- ๐ฑ Mobile version using Streamlit Cloud / Flutter
- ๐ง Personalization agent for tone & voice calibration
- ๐ค Slack + Zapier integration for daily blog triggers
- ๐จ Newsletter bot for Substack / Revue
- Python 3.11
- LangChain
- OpenAI GPT-4o
- Streamlit
- Matplotlib + Calplot
- GitHub Pages + RSS
- Copy
.env.exampleto.envand fill in your API keys. - Install the dependencies with
pip install -r requirements.txt. - To sync blog posts with Google Calendar, set
ENABLE_GOOGLE_CALENDAR=truein.envand provide your Google credentials (credentials.json).
- CLI:
python main.py - Streamlit UI:
streamlit run app.py - FastAPI API:
uvicorn api:app --reload - React UI:
cd ai-content-creator-ui npm install npm run dev
| Method | Endpoint | Description |
|---|---|---|
POST |
/generate |
Generate blog content from a topic |
GET |
/suggest-topics?category=tech |
Get trending topic ideas |
GET |
/check-topic |
Check if a blog slug exists and get a rewrite |
POST |
/save |
Save blog, captions, and citations |
GET |
/calendar |
Return calendar data of published blogs |
GET |
/analytics |
Aggregate metadata for dashboard |
Want to build your own AI-powered publishing assistant? Fork this repo and start generating!