Blog AI – The Ultimate AI-Powered Content Creation Powerhouse
Table of Content
Turn ideas into professional-grade blogs and books in seconds with this cutting-edge AI writing tool built on GPT-4 and LangChain .
It is designed for speed, structure, and SEO performance, Blog AI is the secret weapon for content creators, bloggers, and authors who want to scale effortlessly.
🔥 Feature Highlights
🧠 Smart AI Writing Engine
Generate well-researched, structured blog posts and full-length books with minimal input—powered by GPT-4 for high-quality, human-like output.
📝 SEO-Optimized Blogs
Craft content that ranks. Built-in SEO logic ensures your articles are keyword-rich, scannable, and primed for search engines.
📚 Book Generation Made Easy
From chapters to subsections, create long-form, professionally formatted books in DOCX with consistent tone and structure.
📅 Content Planning Toolkit
Plan smarter with integrated tools for calendars, topic clusters, and detailed post outlines—all designed to keep your editorial workflow on track.
🔍 Competitor Content Analysis
Uncover hidden opportunities by analyzing top-performing content in your niche and identifying gaps to outperform rivals.
🔎 Automated Web Research
Let AI do the digging. Pull relevant data from the web to enrich your content and ensure accuracy without manual research.
🔄 Post-Processing Suite
Polish your drafts with auto-proofreading, tone adjustment, and multi-platform formatting (blogs, social media, newsletters, etc.).
🔌 One-Click Publishing Integrations
Go live directly to WordPress, GitHub, Medium, or export as MDX/DOCX—no copy-pasting or reformatting required.
🎯 Customizable Output Formats
Tailor your content structure and style with modular templates and export options that adapt to your brand or platform.
🐋 Docker-Ready & Scalable
Built with a multi-stage Docker setup for easy deployment, making it perfect for developers and teams looking to integrate AI writing at scale.
🛠️ Open Source Flexibility
Licensed under GPL-3.0, this tool is fully customizable and community-friendly—extend features, tweak workflows, and make it your own.
How to Use?
-
Clone the repository:
git clone https://github.com/yourusername/blog-AI.git
-
Configure environment:
Create a.env
file based on.env.example
and add your API keys:# Required for basic functionality OPENAI_API_KEY=your_openai_api_key_here # Optional - for additional features ANTHROPIC_API_KEY=your_anthropic_api_key_here SERP_API_KEY=your_serp_api_key_here SEC_API_API_KEY=your_sec_api_key_here
-
Install dependencies:
Using Poetry (recommended):poetry install
Or using pip:
pip install -r requirements.txt
-
Start the backend server (required for the web interface):
python server.py
This will start the server at http://localhost:8000
-
Start the frontend (optional, for web interface):
cd frontend npm install npm run dev
This will start the frontend at http://localhost:3000
-
You're all set! The tool is now ready to generate content at your command.
🐳 Docker Setup
You can also run the application using Docker, which simplifies the setup process:
-
Build and start the containers:
docker-compose up -d
-
Configure environment:
Before starting the containers, make sure to create a.env
file based on.env.example
with your API keys. -
Access the application:
- Backend API: http://localhost:8000
- Frontend: http://localhost:3000
-
Stop the containers:
docker-compose down
Docker Commands
-
View logs:
docker-compose logs -f
-
Rebuild the containers (after making changes):
docker-compose up -d --build
-
Run a command inside the container:
docker-compose exec blog-ai bash
💻 Usage
Generate a Blog Post
python -m src.blog.make_blog "Your Blog Topic" --keywords "keyword1,keyword2" --research
This command creates a fully formatted blog post and saves it under the content/blog/
directory.
Optional Parameters:
--keywords
: Comma-separated list of keywords to include--research
: Enable web research for more accurate content--tone
: Set the tone of the content (default: "informative")--output
: Specify the output filename and format (default: markdown)--proofread
: Enable proofreading--humanize
: Make the content more human-like
Generate a Book
python -m src.book.make_book "Your Book Topic" --chapters 5 --sections 3 --output "book_name.md"
Optional Parameters:
--chapters
: Number of chapters to generate (default: 5)--sections
: Number of sections per chapter (default: 3)--keywords
: Comma-separated list of keywords to include--research
: Enable web research for more accurate content--tone
: Set the tone of the content (default: "informative")--output
: Specify the output filename and format--proofread
: Enable proofreading--humanize
: Make the content more human-like
Content Planning
# Generate a content calendar
python -m src.planning.content_calendar "Your Niche" --timeframe month --frequency 7
# Analyze competitors
python -m src.planning.competitor_analysis "Your Niche" --competitors "Competitor1,Competitor2"
# Generate topic clusters
python -m src.planning.topic_clusters "Your Niche" --clusters 3 --subtopics 5
# Create content outlines
python -m src.planning.content_outline "Your Topic" --keywords "keyword1,keyword2" --sections 5
Publishing Integrations
# Publish to WordPress
python -m src.integrations.wordpress "Your Blog Post" --url "https://yourblog.com" --username "user" --password "pass"
# Publish to GitHub
python -m src.integrations.github "Your Blog Post" --repo "username/repo" --token "github_token"
# Publish to Medium
python -m src.integrations.medium "Your Blog Post" --token "medium_token" --tags "tag1,tag2"
🧪 Testing
Run the test suite to ensure everything is working correctly:
python -m unittest discover tests
License
Open-source GPL-3.0 License