A professional Next.js blogging platform with advanced AI-driven content generation. Auto-Blog leverages RSS feed analysis and Retrieval-Augmented Generation (RAG) to create high-quality, SEO-optimized blog content automatically. Built for content creators, marketers, and businesses who want to scale their blogging efforts with AI assistance.
- π¨ Modern Next.js Boilerplate: Production-ready blog site with TypeScript, Tailwind CSS
- π€ Automated Content Generation: automated_blog_generator.py- RSS-driven AI blog posts
- π‘ RSS Feed Integration: Automatic article fetching from configurable RSS sources
- π Semantic Search: ChromaDB-powered knowledge base for consistent content
- π― SEO Optimized: Built-in meta tags, sitemaps, and search engine optimization
- π± Responsive Design: Mobile-first, SEO-friendly blog layout
- β‘ Static Generation: Fast loading with modern web performance practices
- π Agent Architecture: Specialized AI agents for research, writing, and editing
RSS Feeds β Fetcher β Knowledge Base β AI Agents β Generated Posts β Next.js Site
     β         β           β           β           β             β
   News     Ingest     ChromaDB     Research    SEO-Optimized  Static Blog
  Articles  Vector     Optimized    βWriteβ     Rich Content   Posts
             Store     Retrieval    βEditβ     βPublish
- Node.js 18+
- Python 3.8+
- Ollama running with compatible LLM
# Install Python dependencies
pip install -r requirements.txt
# Install Node.js dependencies
npm install# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull a compatible model (recommended: 14B+ parameters)
ollama pull llama2:13b-chat
# or
ollama pull mistral:7b-instructEdit feeds.yaml to add your preferred RSS sources:
feeds:
  - https://example.com/rss.xml
  - https://techcrunch.com/rss/
  - https://dev.to/rsspython automated_blog_generator.pyThis command will:
- Fetch articles from your RSS feeds
- Build a comprehensive knowledge base
- Generate SEO-optimized blog content
- Save posts to content/blog/
- Update the knowledge base for future generations
The generated posts are automatically compatible with your Next.js site!
npm run devOpen http://localhost:3000 to see your blog.
The automated_blog_generator.py script is the core content creation engine:
- Feed Aggregation: Fetches and processes RSS articles
- Knowledge Building: Vectorizes content for semantic search
- Context Synthesis: Uses RAG to find patterns and themes
- AI Generation: Multi-agent pipeline creates polished content
- SEO Optimization: Built-in keyword research and meta generation
- Content Integration: Seamlessly integrates with Next.js structure
Run the generator with custom parameters:
# Basic generation
python automated_blog_generator.py
# Force refresh knowledge base
export FORCE_REFRESH=true
python automated_blog_generator.py
# Check logs
tail -f automated_blog_generator.logGenerated posts include proper Next.js frontmatter:
---
title: "Generated Post Title"
date: "2025-01-07"
excerpt: "SEO-optimized description..."
categories: ["Tech", "AI"]
tags: ["automation", "blogs"]
image: "/images/posts/generated-post.jpg"
---
# Content here...auto-blog/
βββ automated_blog_generator.py    # π Primary content generator
βββ agent/                        # AI agent system
β   βββ agents/                  # Specialized agents
β   βββ prompts/                 # LLM prompt templates
β   βββ llm_client.py           # Ollama integration
β   βββ vector_store.py         # ChromaDB operations
βββ content/                     # Generated blog content
βββ src/app/                     # Next.js application
β   βββ blog/                   # Blog pages & components
β   βββ components/             # Reusable UI components
β   βββ globals.css             # Global styles
βββ feeds.yaml                  # RSS feed configuration
βββ package.json                # Node.js dependencies
βββ requirements.txt            # Python dependencies
βββ README.md                   # This file
Next.js Commands:
npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server
npm run lint         # Run ESLintContent Generation:
# All-in-one generation
python automated_blog_generator.py
# Run individual components
python fetcher.py    # Only fetch RSS feeds
python run_agentic_blog.py  # Use existing knowledge baseAgent CLI (Advanced):
# Ingest existing content
python agent/cli.py ingest
# Generate with specific parameters
python agent/cli.py generate "Your Topic" --style technical --length longEdit agent/prompts/system_prompts.py to customize AI behavior:
WRITER_AGENT_PROMPT = """
You are a technical blogger who writes in a conversational tone...
"""Add sources to feeds.yaml for different content domains:
feeds:
  - https://techcrunch.com/rss/
  - https://dev.to/rss
  - https://news.ycombinator.com/rss
  - https://github.blog/rss/- Static Generation: Fast loading, great SEO
- Markdown Support: Full CommonMark compliance
- Syntax Highlighting: Code blocks with Prism.js
- Table of Contents: Auto-generated post navigation
- Search Functionality: Client-side content search
- Categories & Tags: Content organization
- Responsive Images: Optimized lazy loading
- Dark Mode: System-aware theme switching
Create .env.local for custom settings:
# Ollama Configuration
OLLAMA_MODEL=llama2:13b-chat
OLLAMA_BASE_URL=http://localhost:11434
# Content Settings
MAX_POSTS_PER_GENERATION=5
TARGET_WORD_COUNT_MIN=1200
TARGET_WORD_COUNT_MAX=2500The project includes netlify.toml with optimized settings:
[build]
  command = "npm run build"
  publish = "out"
[build.environment]
  NODE_VERSION = "18"- RSS Fetching: ~50-100 articles/minute
- Content Vectorization: ~100 posts/minute
- Blog Generation: 2-5 minutes per post
- Knowledge Base: ~1GB per 1000 processed articles
- Lighthouse Score: 95+ on all metrics
- First Contentful Paint: <1.2s
- Time to Interactive: <2.5s
- Static Asset Optimization: 90%+ compression
- Fork the repository
- Create a feature branch: git checkout -b feature/amazing-feature
- Commit changes: git commit -m 'Add amazing feature'
- Push to branch: git push origin feature/amazing-feature
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js - The React framework for production
- Ollama - Local LLM execution
- ChromaDB - Vector database for semantic search
- SentenceTransformers - Text embedding models
- Feedparser - RSS/Atom feed parsing
- Multi-language content generation
- Advanced SEO analytics dashboard
- Automated image generation for posts
- Social media integration
- Newsletter automation
- Content calendar management
- Performance optimization suite
Auto-Blog: Scale Your Content, Multiply Your Impact.
Built with β€οΈ for content creators who want to leverage AI for automated, professional blogging.
