- Notifications
You must be signed in to change notification settings - Fork1
Multi-Agent SEO Blog Generator automates SEO-friendly blog creation by researching trending topics, generating structured content using AI, and optimizing it for search engines. It integrates Google News, Bing News (SerpAPI), and Gemini AI to produce high-quality blogs in multiple formats, including Markdown, TXT, HTML, and PDF.
License
raghul-tech/Multi-Agent-SEO-Blog-Generator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Multi-Agent SEO Blog Generator is an AI-powered tool that automates the process of researching, generating, and optimizing SEO-friendly blog content. It fetches trending topics, creates structured blog content, optimizes for search engines, and saves the output in multiple formats including Markdown, TXT, HTML, and PDF.
📂 Multi-Agent-SEO-Blog-Generator├── 📂 img│ ├── 📄 output.png ├── 📄 main.py # Entry point for the blog generation process├── 📄 research.py # Fetches trending news topics ├── 📄 utils.py # Utility functions for blog creation├── 📄 generate.py # AI-based text generation (uses Gemini API)├── 📄 saveblogs.py # Handles file saving operations (MD, TXT, HTML, PDF)├── 📄 APIkeys.py # Manages API keys securely (Gemini & SerpAPI)├── 📄 README.md # Documentation├── 📄 requirements.txt # Dependencies- User Input: Enter the blog topic.
- Research: Fetches relevant news from Google News and Bing News using SerpAPI.
- Outline Creation: Generates a structured outline based on research.
- Content Generation: Uses Gemini AI to generate a full-length blog post.
- SEO Optimization: Enhances content with SEO best practices and keyword insertion.
- Review: Checks for grammar, clarity, and coherence.
- Save & Export: Saves the blog in Markdown, TXT, HTML, and PDF formats.
- Google Gemini API - AI-powered content generation
- SerpAPI (Bing News) - Fetching trending news topics
- Feedparser - Parsing Google News RSS feeds
- FPDF - Generating PDF files
- Markdown - Converting content to HTML
- OS & Time Libraries - File handling and execution control
git clone https://github.com/raghul-tech/Multi-Agent-SEO-Blog-Generatorcd Multi-Agent-SEO-Blog-Generator- Python 3.7+
- It is recommended to use a virtual environment:
python -m venv venvsource venv/bin/activate# On macOS/Linuxvenv\Scripts\activate# On Windows
- Install dependencies:
pip install -r requirements.txt
- Sign up atGoogle AI and create an account.
- Navigate to the Gemini AI section and clickGet API Key at the top.
- Copy the key and add it to
APIkeys.py:api_keys= {"GEMINI_API_KEY":"your-gemini-api-key-here","SERPAPI_KEY":"your-serpapi-key-here"}
- Register atSerpAPI and create an account.
- Search forBing News API to get your key .
- Copy the key and add it to
APIkeys.py.
Execute the following command:
python main.py
Enter the blog topic when prompted, and the generated blog will be saved in theblogs/ directory.
The generated blog is saved in:
- Markdown (.md)
- Plain text (.txt)
- HTML (.html)
- PDF (.pdf)
This project is licensed under theMIT License.
About
Multi-Agent SEO Blog Generator automates SEO-friendly blog creation by researching trending topics, generating structured content using AI, and optimizing it for search engines. It integrates Google News, Bing News (SerpAPI), and Gemini AI to produce high-quality blogs in multiple formats, including Markdown, TXT, HTML, and PDF.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
