An intelligent, AI-powered blog creation system that guides you through a structured workflow to produce high-quality, SEO-optimized blog posts using the Gemini CLI.
- Overview
- Prerequisites
- Installation
- Quick Start
- How It Works
- Workflow
- Features
- Example Outputs
- Contributing
Gemini Blog Machine is a structured workflow system that works with the Gemini CLI to help you create professional blog posts. It provides a guided, conversational approach to content creation with built-in SEO optimization and quality control.
- Structured Approach: Proven workflow from ideation to publication
- Works with Gemini CLI: Leverages Google's official command-line AI tool
- SEO-Optimized: Built-in research and optimization
- Quality Control: Automated review and improvement suggestions
- Flexible: Core features by default, advanced options on demand
- Node.js 20 or higher - Download here
- Gemini CLI - We'll install this in the next step
Choose one of these methods:
Option A: Run directly (no installation)
npx https://github.com/google-gemini/gemini-cliOption B: Install globally
npm install -g @google/gemini-cligit clone https://github.com/parthshr370/Gemini-Blog-Machine
cd Gemini-Blog-MachineFor personal use (recommended for getting started):
- Run
geminiand sign in with your Google account when prompted - This gives you 60 requests/minute and 1,000 requests/day
For API key use:
# Get API key from https://aistudio.google.com/apikey
export GEMINI_API_KEY="your_api_key_here"-
Navigate to the project directory:
cd Gemini-Blog-Machine -
Start the Gemini CLI:
gemini
-
The system will automatically greet you and start the workflow:
- "Hello! What do you want to blog about today?"
-
Follow the conversational workflow:
- Answer questions about your topic, audience, and style
- Say "Proceed to reference" when ready to move forward
- Say "Proceed to style" to generate configuration
- Say "Proceed to blog" to create your blog post
- Say "Review blog" for quality checks
The Gemini Blog Machine uses the GEMINI.md file as an instruction set for the Gemini CLI. When you run gemini in this directory, it automatically loads these instructions and guides you through a structured workflow.
Workflow stages:
Discussion → SEO Check → Reference → Style → Generate → Review → Publish
Files created during the process:
style.json- Your blog configuration[slug].md- Your generated blog postreview.json- Quality review criteriaresearch.md- Research findings (optional)
Interactive questions about:
- Topic and main idea
- Target audience
- Preferred style and tone
- SEO keywords
- Code examples (for tutorials)
- Quick search for existing content
- Keyword optimization
- Content gap analysis
- Option to use reference materials
- Fact-checking resources
- Technical documentation
Generates style.json with your preferences:
{
"blogTitle": "Your Blog Title",
"audience": "beginners",
"tone": "conversational",
"structure": {
"hookType": "question",
"sections": [...]
}
}- Creates original content
- Adds visual placeholders
- Formats code blocks
- Maintains consistent voice
- Automated quality checks
- SEO verification
- Improvement suggestions
- Interactive content planning
- SEO research and optimization
- Structured content generation
- Automated quality review
- Support for technical tutorials
- Visual element planning
- Deep competitor analysis
- Detailed content briefs
- Audience persona development
- Enhanced fact-checking
- Multi-format support
# Your Blog Title
Hook question or statement...
## Main Section
Content with examples and explanations...

```javascript
// Code example
const example = "with explanations";Call-to-action and summary...
### Sample Templates
Check the `templates/` directory:
- `reference.md` - Template for research materials
- `example.md` - Sample blog post structure
## 🤝 Contributing
1. Fork the repository
2. Create a feature branch: `git checkout -b feature/amazing-feature`
3. Commit changes: `git commit -m 'Add amazing feature'`
4. Push to branch: `git push origin feature/amazing-feature`
5. Open a Pull Request
## 📜 License
MIT License - see [LICENSE](LICENSE) file for details.
## 🔗 Links
- **This Project**: [https://github.com/parthshr370/Gemini-Blog-Machine](https://github.com/parthshr370/Gemini-Blog-Machine)
- **Gemini CLI**: [https://github.com/google-gemini/gemini-cli](https://github.com/google-gemini/gemini-cli)
- **Get API Key**: [https://aistudio.google.com/apikey](https://aistudio.google.com/apikey)
---
**Ready to create amazing content? Just run `gemini` in this directory and let's get started! 🚀**