{"id":26577962,"url":"https://github.com/raghul-tech/multi-agent-seo-blog-generator","last_synced_at":"2026-04-20T04:02:44.751Z","repository":{"id":283834384,"uuid":"952986808","full_name":"raghul-tech/Multi-Agent-SEO-Blog-Generator","owner":"raghul-tech","description":"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. ","archived":false,"fork":false,"pushed_at":"2025-03-22T13:09:19.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T14:21:45.702Z","etag":null,"topics":["ai","ai-text-generator","api","api-integration","automated-blog","content-structuring","feedparser","fpdf","gemini-api","markdown","pdf-generation","python","seo-optimization","serpapi"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raghul-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-22T10:01:04.000Z","updated_at":"2025-03-22T13:23:15.000Z","dependencies_parsed_at":"2025-03-22T14:21:48.568Z","dependency_job_id":"cb2cd892-6982-49fe-9dcd-b5e67bac9046","html_url":"https://github.com/raghul-tech/Multi-Agent-SEO-Blog-Generator","commit_stats":null,"previous_names":["raghul-tech/multi-agent-seo-blog-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raghul-tech/Multi-Agent-SEO-Blog-Generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghul-tech%2FMulti-Agent-SEO-Blog-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghul-tech%2FMulti-Agent-SEO-Blog-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghul-tech%2FMulti-Agent-SEO-Blog-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghul-tech%2FMulti-Agent-SEO-Blog-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raghul-tech","download_url":"https://codeload.github.com/raghul-tech/Multi-Agent-SEO-Blog-Generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghul-tech%2FMulti-Agent-SEO-Blog-Generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267780258,"owners_count":24143202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-text-generator","api","api-integration","automated-blog","content-structuring","feedparser","fpdf","gemini-api","markdown","pdf-generation","python","seo-optimization","serpapi"],"created_at":"2025-03-23T04:18:15.295Z","updated_at":"2026-04-20T04:02:39.729Z","avatar_url":"https://github.com/raghul-tech.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-Agent SEO Blog Generator\n\n## Overview\nMulti-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.\n\n---\n\n## System Architecture\n```\n📂 Multi-Agent-SEO-Blog-Generator\n├── 📂 img\n│   ├── 📄 output.png \n├── 📄 main.py         # Entry point for the blog generation process\n├── 📄 research.py     # Fetches trending news topics \n├── 📄 utils.py        # Utility functions for blog creation\n├── 📄 generate.py     # AI-based text generation (uses Gemini API)\n├── 📄 saveblogs.py    # Handles file saving operations (MD, TXT, HTML, PDF)\n├── 📄 APIkeys.py      # Manages API keys securely (Gemini \u0026 SerpAPI)\n├── 📄 README.md       # Documentation\n├── 📄 requirements.txt # Dependencies\n```\n\n---\n\n## Screenshot\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/output.png\" alt=\"output\"/\u003e\n\u003c/p\u003e\n\n---\n\n## Agent Workflow\n1. **User Input**: Enter the blog topic.\n2. **Research**: Fetches relevant news from Google News and Bing News using SerpAPI.\n3. **Outline Creation**: Generates a structured outline based on research.\n4. **Content Generation**: Uses Gemini AI to generate a full-length blog post.\n5. **SEO Optimization**: Enhances content with SEO best practices and keyword insertion.\n6. **Review**: Checks for grammar, clarity, and coherence.\n7. **Save \u0026 Export**: Saves the blog in Markdown, TXT, HTML, and PDF formats.\n\n---\n\n## Tools and Frameworks Used\n- **Google Gemini API** - AI-powered content generation\n- **SerpAPI (Bing News)** - Fetching trending news topics\n- **Feedparser** - Parsing Google News RSS feeds\n- **FPDF** - Generating PDF files\n- **Markdown** - Converting content to HTML\n- **OS \u0026 Time Libraries** - File handling and execution control\n\n---\n\n## Installation and Execution\n### Prerequisites\n\n### Cloning the Repository\n```sh\ngit clone https://github.com/raghul-tech/Multi-Agent-SEO-Blog-Generator\ncd Multi-Agent-SEO-Blog-Generator\n```\n\n- Python 3.7+\n- It is recommended to use a virtual environment:\n  ```sh\n  python -m venv venv\n  source venv/bin/activate  # On macOS/Linux\n  venv\\Scripts\\activate  # On Windows\n  ```\n- Install dependencies:\n  ```sh\n  pip install -r requirements.txt\n  ```\n\n### Setting Up API Keys\n#### Google Gemini API Key\n1. Sign up at [Google AI](https://ai.google.dev/) and create an account.\n2. Navigate to the Gemini AI section and click **Get API Key** at the top.\n3. Copy the key and add it to `APIkeys.py`:\n    ```python\n    api_keys = {\n        \"GEMINI_API_KEY\": \"your-gemini-api-key-here\",\n        \"SERPAPI_KEY\": \"your-serpapi-key-here\"\n    }\n    ```\n\n#### SerpAPI (Bing News API)\n1. Register at [SerpAPI](https://serpapi.com/) and create an account.\n2. Search for **Bing News API** to get your key  .\n3. Copy the key and add it to `APIkeys.py`.\n\n### Running the Blog Generator\nExecute the following command:\n```sh\npython main.py\n```\nEnter the blog topic when prompted, and the generated blog will be saved in the `blogs/` directory.\n\n---\n\n## Output Formats\nThe generated blog is saved in:\n- **Markdown (.md)**\n- **Plain text (.txt)**\n- **HTML (.html)**\n- **PDF (.pdf)**\n\n---\n\n## License\nThis project is licensed under the **MIT License**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraghul-tech%2Fmulti-agent-seo-blog-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraghul-tech%2Fmulti-agent-seo-blog-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraghul-tech%2Fmulti-agent-seo-blog-generator/lists"}