Build production Rails apps in hours, not months. Perfect for vibe coding.
Part of the AllSpark template family: Rails | Django | Next.js | More β
Live Demo | Documentation | AllSpark Builder
# One command to start
git clone https://github.com/TanookiLabs/allspark_rails.git my-app
cd my-app && ./setup.sh
# Or manually:
cp .env.example .env
docker-compose up -d
docker-compose exec web rails db:setup
# β
You're running! Visit http://localhost:3000
# Default login: [email protected] / password123
- 10x faster development with AI-optimized structure
- Production-ready from day one
- No configuration needed
- Consistent patterns across all projects
- Built-in best practices from 12 years of agency work
- Scalable architecture that grows with you
- Perfect for Claude, Cursor, Copilot
- Structured for AI understanding
- Rich context and documentation
- π Authentication & Authorization - Devise + Pundit, user impersonation, JWT ready
- π€ AI Integration - OpenRouter (100+ models), OpenAI, Claude, Gemini support
- π App Project Builder - AI generates PRDs and task lists from your requirements
- π¬ Real-time Chat - ActionCable-powered with typing indicators and read receipts
- π Knowledge Base - RAG-enabled document management system
- π Visual Workflows - Drag-and-drop workflow builder
- β‘ Background Jobs - Sidekiq with monitoring dashboard
- π¨ Beautiful UI - 30+ DaisyUI components, fully responsive
- Smart Generators -
rails g ai_model
,rails g ui_component
,rails g service
- Self-Healing Tests - Browser tests that diagnose and suggest fixes
- Docker Development - Zero-config development environment
- AI-Optimized Docs - CLAUDE.md with patterns and conventions
- Quality Tools - RuboCop, Brakeman, bundler-audit pre-configured
# Sign up at https://openrouter.ai
OPENROUTER_API_KEY=sk-or-v1-your-key-here
LLM_PROVIDER=openrouter
Access to GPT-4, Claude 3.5, Gemini, and 100+ more models with pay-per-use pricing.
# Choose your provider
LLM_PROVIDER=openai # or 'anthropic' or 'gemini'
# Add corresponding key
OPENAI_API_KEY=sk-... # For OpenAI/GPT models
ANTHROPIC_API_KEY=sk-ant-... # For Anthropic/Claude models
GEMINI_API_KEY=... # For Google/Gemini models
All commands run inside Docker containers:
# Generate complete features
docker-compose exec web rails g scaffold Task title:string status:string
docker-compose exec web rails db:migrate
# Create UI components
docker-compose exec web rails g ui_component alert --variants=success,error,warning
# Add service objects
docker-compose exec web rails g service payment_processor
# AI-enhanced models
docker-compose exec web rails g ai_model product --description="E-commerce product"
# View component library
# Visit http://localhost:3000/lookbook
my-app/
βββ .allspark/ # Template metadata and configuration
βββ app/
β βββ components/ # ViewComponents with DaisyUI
β βββ services/ # Business logic services
β βββ channels/ # Real-time features
βββ docs/
β βββ getting-started/ # Installation and setup
β βββ features/ # Feature documentation
β βββ guides/ # Development guides
βββ CLAUDE.md # AI assistant instructions
- Heroku: Deploy button in repository
- Railway: Connect GitHub repo
- Render: Auto-deploy from GitHub
# Docker (any VPS)
docker build -t myapp .
docker run -p 3000:3000 myapp
# DigitalOcean with Kamal
./deploy-to-digitalocean.sh
- Indie Creators building their next SaaS
- Agency Creators delivering client projects faster
- Startup Creators launching MVPs in days
- Enterprise Creators prototyping new ideas
- Getting Started - Setup and installation
- Features Guide - All features explained
- AI Integration - LLM setup and usage
- Deployment Guide - Production deployment
- CLAUDE.md - AI assistant instructions
AllSpark Builder - Where creators build production apps
- Visual project planning
- One-click deployment
- Team collaboration
- Enterprise features
Start Building on AllSpark β
We welcome contributions! See CONTRIBUTING.md for guidelines.
- π Report bugs
- π‘ Request features
- π¬ Join Discord
- π§ PRs welcome!
MIT License - see LICENSE for details
Built with β€οΈ by creators, for creators
Ready to build something amazing? Start with the Quick Start above or explore the complete documentation.