Automated AI Story Generation
Generate unique sci-fi and fantasy stories daily with GitHub Actions and AI. A creative automation project that brings imagination to life.
Quick Start
Get your automated story generator running in just a few steps.
Fork the repository
Fork the historia-diaria repository to your GitHub account.
Get your OpenRouter API key
Sign up for an OpenRouter account and generate an API key. OpenRouter provides access to various AI models for story generation.
The project uses the
stepfun/step-3.5-flash:free model by default, which is available at no cost.Configure GitHub Secrets
Add your OpenRouter API key as a GitHub secret:
- Go to your repository Settings
- Navigate to Secrets and variables → Actions
- Click New repository secret
- Name:
OPENROUTER_API_KEY - Value: Your OpenRouter API key
Key Features
Everything you need to run an automated creative writing project.
AI-Powered Stories
Generate unique sci-fi and fantasy stories using OpenRouter’s AI models with customizable prompts.
Automated Scheduling
GitHub Actions runs daily to create fresh content without manual intervention.
Dynamic Templates
Responsive HTML templates with modern styling and a historical sidebar navigation.
Story Archive
Automatic archiving of all stories organized by month with JSON-based history tracking.
Explore the Documentation
Learn how to customize and extend your story generator.
How It Works
Understand the architecture and workflow of the story generation pipeline.
Learn more
Customization Guide
Customize prompts, templates, and styling to match your creative vision.
Learn more
Script Reference
Complete documentation of the Python script and its components.
Learn more
Troubleshooting
Solutions to common issues and error messages you might encounter.
Learn more
Ready to Create?
Set up your automated story generator and start creating unique content every day.
Get Started Now