title: zer0-mistakes sub-title: Jekyll Theme description: Docker-optimized Jekyll theme with AI-powered installation automation and comprehensive error handling. version: 0.6.0 layout: default tags:
- jekyll
- docker
- remote-theme
- github-pages categories:
- jekyll-theme
- docker
- bootstrap created: 2024-02-10T23:51:11.480Z lastmod: 2025-10-19T00:00:00.000Z draft: false permalink: /zer0/ slug: zer0 keywords:
- jekyll
- docker
- remote-theme
- github-pages date: 2025-09-21T12:00:00.000Z snippet: Docker-first Jekyll theme with remote theme support comments: true preview: /images/zer0-mistakes-docker.png ---
π zer0-mistakes Jekyll Theme
Professional Jekyll theme with AI-powered installation, Docker-first development, automated release management, and VS Code Copilot optimization. Built for developers who value reliability, modern workflows, AI-assisted development, and zero-configuration setup.
π― 95% installation success rate β’ β‘ 2-5 minute setup β’ π³ Universal Docker compatibility β’ π€ AI-powered error recovery β’ π Automated releases with semantic versioning β’ π‘ VS Code Copilot optimized
π Quick Start
π System Requirements
Required:
- Docker Desktop - Universal cross-platform development environment
- Git - Version control
- Bash 4.0+ - For release automation (macOS:
brew install bash)
Optional:
- GitHub CLI - Enhanced GitHub integration
- Ruby 3.0+ - For local (non-Docker) development
β‘ One-Line Installation (Recommended)
Get started in under 5 minutes with AI-powered setup:
# Create new site with intelligent installation
mkdir my-awesome-site && cd my-awesome-site
curl -fsSL https://raw.githubusercontent.com/bamr87/zer0-mistakes/main/install.sh | bash
# Start development immediately
docker-compose up
# Visit: http://localhost:4000
What this does automatically:
- β Detects your platform (Apple Silicon, Intel, Linux)
- β Downloads and configures all theme files
- β Sets up Docker development environment
- β Creates optimized configurations
- β Handles errors and provides solutions
π§ Manual Installation Options
Click to expand manual installation methods
#### Method 1: GitHub Remote Theme Perfect for GitHub Pages hosting: ```bash # Add to your _config.yml remote_theme: "bamr87/zer0-mistakes" # Add to your Gemfile gem "jekyll-remote-theme" ``` #### Method 2: Fork & Customize For extensive theme development: ```bash # Fork on GitHub, then clone gh repo fork bamr87/zer0-mistakes --clone cd zer0-mistakes # Start development docker-compose up ``` #### Method 3: Local Installation Install from local repository: ```bash # Clone the repository git clone https://github.com/bamr87/zer0-mistakes.git cd zer0-mistakes # Install to new directory ./install.sh ../my-new-site cd ../my-new-site docker-compose up ```β¨ What Makes This Special
π€ AI-Powered Intelligence & VS Code Copilot Integration
- Smart Error Detection - 1,090-line install.sh with 27+ error recovery scenarios
- Platform Optimization - Automatic detection of Apple Silicon, Intel, and Linux
- Self-Healing Setup - 95% installation success rate with intelligent fallback strategies
- Intelligent Diagnostics - Actionable solutions for Docker, Ruby, and Jekyll issues
- VS Code Copilot Optimized - 805-line copilot-instructions.md with file-specific guidelines
- AI Development Workflows - Complete seed documentation system for AI-assisted development
- Comprehensive Context - 17,500+ lines of seed documentation in
.github/seed/
π³ Docker-First Development
- Universal Compatibility - Works identically on all platforms
- Zero Local Dependencies - No Ruby/Jekyll installation required
- Instant Setup -
docker-compose upand you're running - Isolated Environment - No conflicts with other projects
π¨ Modern Design System
- Bootstrap 5.3 - Latest responsive framework with dark mode
- Professional Layouts - Blog, landing, documentation, and collection templates
- SEO Optimized - Built-in meta tags, structured data, and social sharing
- Performance Focused - Optimized loading, caching, and Core Web Vitals
π Privacy-First Analytics & Tracking
- PostHog Integration - Privacy-first analytics with GDPR/CCPA compliance out-of-the-box
- Cookie Consent Management - 382-line consent system with granular permissions and 365-day persistence
- Custom Event Tracking - Automatic tracking of downloads, external links, scroll depth, and Jekyll-specific events
- Development Safety - Analytics completely disabled in development environment (no data leakage)
- User Privacy Controls - Respect Do Not Track, full opt-out mechanisms, input masking, IP anonymization
- Comprehensive Insights - Page views, user journeys, content engagement, session recordings (optional), and performance metrics
- Secure Cookies - Production-ready with secure cookie flags and localStorage+cookie persistence
π Deployment Ready
- GitHub Pages - Zero-config deployment with remote theme
- Azure Static Web Apps - Pre-configured CI/CD workflows
- Custom Domains - SSL/TLS and CDN ready
- Multiple Hosting - Works with Netlify, Vercel, and custom servers
π€ Automated Release Management
- Smart Version Bumping - Analyzes commits and automatically increments versions
- Conventional Commits - Follows semantic versioning based on commit patterns
- Automated Changelogs - Generates release notes from commit history
- RubyGems Publishing - Automatically publishes gem releases
- GitHub Releases - Creates comprehensive release pages with assets
- CI/CD Integration - Seamless automation with GitHub Actions
βΉοΈ Automatic Theme Version Display
- Zero Configuration - Theme version displays automatically, no hardcoding needed
- System Information - Shows Jekyll, Ruby, and build environment details
- Always Accessible - Info modal available from header (βοΈ) and footer on every page
- Dynamic Extraction - Version pulled from gem specification during build
- Comprehensive Details - Lists active plugins, technology stack, and helpful links
- GitHub Pages Compatible - Works with both local gems and remote themes
Learn more about the Theme Version Feature β
π Learn more: Automated Version System Documentation
π Mermaid Diagram Integration (New in v0.3.0)
- Complete Diagram Support - Flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, pie charts, git graphs, journey diagrams, and mindmaps
- GitHub Pages Compatible - Works seamlessly with both local development and GitHub Pages deployment
- Conditional Loading - Only loads Mermaid when needed, optimizing performance
- Responsive Design - Diagrams automatically scale across all devices
- Dark Mode Support - Forest theme optimized for dark mode compatibility
- Comprehensive Documentation - Complete user guide with live examples and troubleshooting
- Automated Testing - 16 automated tests covering all aspects of functionality
π Learn more: Mermaid Documentation β’ Integration Tutorial β’ Test Suite
π± Comprehensive Seed Documentation System (New in v0.6.0)
- Complete Rebuild Blueprint - 17,500+ lines of documentation for full project reconstruction
- AI Agent Optimized - Structured for autonomous project building with 95%+ success rate
- Modular Architecture - 5 specialized seed files (prompt, implementation, build, components, README)
- Full Source Code - Every automation script documented with complete implementations
- Step-by-Step Build - 10-phase reconstruction guide from empty directory to deployment
- GitHub Copilot Ready - Comprehensive instructions for AI-assisted development
π Explore: Seed Documentation System β’ Project Blueprint β’ Build Guide
π Documentation Architecture
Zer0-Mistakes features a dual documentation structure designed for different audiences and use cases:
π οΈ Technical Documentation β /docs/
Repository-specific technical documentation (MDX format) for developers and contributors:
| Directory | Purpose | Target Audience |
|---|---|---|
/docs/systems/ |
Infrastructure automation, CI/CD, build processes | DevOps & Contributors |
/docs/features/ |
Theme feature implementation, component architecture | Developers & Maintainers |
/docs/configuration/ |
Development setup, Docker, environment configuration | Contributors |
/docs/releases/ |
Version history, migration guides, technical changes | All Technical Users |
/docs/jekyll/ |
Jekyll optimization, plugins, advanced configuration | Jekyll Developers |
Key characteristics:
- MDX format with interactive components and rich code examples
- Source code focused with direct references to
_layouts/,_includes/,scripts/ - Architecture documentation explaining how features are built and maintained
- Developer workflows including testing, deployment, and contribution guidelines
π Public Documentation β /pages/_docs/
Published online documentation (Markdown format) for end-users and general developers:
| Content Type | Purpose | Source |
|---|---|---|
| Technology Guides | General Jekyll, Bootstrap, Ruby documentation | Imported & curated external docs |
| User Tutorials | How to use and customize the theme | Original content for users |
| Reference Materials | API docs, configuration options, troubleshooting | Converted from technical docs |
| External Imports | Official documentation from Jekyll, Bootstrap, etc. | Git submodules & processing scripts |
Key characteristics:
- Markdown format optimized for Jekyll rendering and online consumption
- User-focused content targeting theme adopters and general developers
- Processed content converted from MDX sources and external documentation
- Published online at zer0-mistakes.org/docs
π Content Flow & Conversion
graph LR
A[Technical Docs<br/>/docs/ *.mdx] --> B[Processing Scripts]
B --> C[Public Docs<br/>/pages/_docs/ *.md]
D[External Docs<br/>Jekyll, Bootstrap] --> E[Import Scripts]
E --> C
C --> F[Jekyll Build]
F --> G[Published Site]
Documentation Workflow:
- Technical implementation documented in
/docs/using MDX for rich content - Processing pipeline converts and sanitizes content for public consumption
- External documentation imported from official sources and integrated
- Jekyll rendering builds and serves final documentation site
π Quick Navigation: Technical Docs β’ Public Documentation β’ GitHub Copilot Instructions β’ Contributing Guidelines
π Prerequisites
Before you begin, ensure you have:
- Docker Desktop - Download here (recommended)
- Git - For version control and repository management
- Text Editor - VS Code, Sublime Text, or your preferred editor
Optional but helpful:
- GitHub CLI - For easier repository management
- Ruby 3.0+ - If you prefer local development over Docker
π― Remote Theme Setup
Step 1: Create Your Site Repository
# Create new repository
mkdir my-awesome-site
cd my-awesome-site
git init
Step 2: Add Remote Theme Configuration
Create _config.yml:
# Remote theme configuration
remote_theme: "bamr87/zer0-mistakes"
# Site settings
title: Your Site Title
email: your-email@example.com
description: >-
Your site description here. This will appear in search engines
and social media previews.
# GitHub Pages configuration
plugins:
- jekyll-remote-theme
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-paginate
# Build settings
markdown: kramdown
highlighter: rouge
permalink: /:categories/:year/:month/:day/:title/
paginate: 10
paginate_path: "/blog/page:num/"
Step 3: Add Development Configuration
Create _config_dev.yml for local development:
# Development overrides
url: "http://localhost:4000"
baseurl: ""
# Development plugins
plugins:
- jekyll-remote-theme
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-paginate
- jekyll-livereload
# Development settings
incremental: true
livereload: true
open_url: true
Step 4: Create Docker Environment
Create docker-compose.yml:
services:
jekyll:
image: jekyll/jekyll:latest
platform: linux/amd64
command: jekyll serve --watch --force_polling --config "_config.yml,_config_dev.yml" --host 0.0.0.0 --port 4000
volumes:
- ./:/app
ports:
- "4000:4000"
working_dir: /app
environment:
JEKYLL_ENV: development
Step 5: Add Essential Files
Create Gemfile:
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins
gem "jekyll-remote-theme"
group :jekyll_plugins do
gem "jekyll-feed"
gem "jekyll-sitemap"
gem "jekyll-seo-tag"
gem "jekyll-paginate"
end
Create index.md:
---
layout: home
title: Home
---
# Welcome to Your Site
Your content goes here. This theme provides a solid foundation
for your Jekyll site with Bootstrap 5 styling and Docker development.
Step 6: Start Development
# Start the development server
docker-compose up
# Your site will be available at http://localhost:4000
π’ Deployment Options
GitHub Pages (Automatic)
- Push your repository to GitHub
- Go to repository Settings β Pages
- Select source branch (usually
main) - Your site will be automatically built and deployed
Manual Deployment
# Build production site
docker-compose run --rm jekyll jekyll build --config "_config.yml"
# Deploy the _site directory to your hosting provider
π¦ Installation Script Features
The automated installation script provides:
- Smart Detection - Identifies existing Jekyll sites vs. new setups
- Dependency Resolution - Installs required gems and configurations
- Error Recovery - Fixes common issues automatically
- Docker Setup - Creates optimized Docker Compose environment
- GitHub Pages Prep - Configures for seamless GitHub Pages deployment
π§ Prerequisites
Required Software
- Docker - For containerized development
- Git - For version control
- Text Editor - VS Code recommended
Installation Commands
# Install Docker (macOS with Homebrew)
brew install --cask docker
# Install Git (if not already installed)
brew install git
# Verify installations
docker --version
git --version
π¨ Customization
Theme Structure
your-site/
βββ _config.yml # Main configuration
βββ _config_dev.yml # Development overrides
βββ docker-compose.yml # Docker environment
βββ Gemfile # Ruby dependencies
βββ index.md # Homepage
βββ _data/ # Site data files
βββ _posts/ # Blog posts
βββ _pages/ # Additional pages
βββ assets/ # Images, CSS, JS
Custom Styling
Create assets/css/custom.css:
/* Your custom styles here */
:root {
--primary-color: #your-color;
--secondary-color: #your-secondary;
}
/* Override theme styles */
.navbar-brand {
color: var(--primary-color) !important;
}
Navigation Setup
Edit _data/navigation.yml:
main:
- title: "Home"
url: /
- title: "About"
url: /about/
- title: "Blog"
url: /blog/
- title: "Contact"
url: /contact/
π§ͺ Testing & Validation
Quick Health Check
After installation, verify everything is working:
# 1. Check installation files
ls -la _config.yml docker-compose.yml INSTALLATION.md
# 2. Validate configuration
docker-compose config # Should show no errors
ruby -e "require 'yaml'; YAML.load_file('_config.yml')" # Should load without errors
# 3. Test Docker environment
docker-compose up -d # Start in background
sleep 30 # Wait for Jekyll to start
curl -I http://localhost:4000 # Should return HTTP 200 OK
docker-compose down # Stop services
π¬ Comprehensive Test Suite
Our testing framework validates the entire installation and deployment process:
Quick Validation (30 seconds)
# Fast validation without Docker
./test/validate_installation.sh
Docker Deployment Test (2-3 minutes)
# Test Docker-specific functionality
./test/test_docker_deployment.sh --verbose
# Keep test site for inspection
./test/test_docker_deployment.sh --no-cleanup
Complete Installation Test (3-5 minutes)
# Test all installation methods
./test/test_installation_complete.sh
# Skip remote tests for faster execution
./test/test_installation_complete.sh --skip-remote --verbose
End-to-End Deployment Test (5-10 minutes)
# Full deployment workflow validation
./test/test_deployment_complete.sh
# Skip Docker if unavailable
./test/test_deployment_complete.sh --skip-docker
π― Test Results Interpretation
β Success Indicators:
- HTTP 200 OK response from
http://localhost:4000 - Jekyll logs show "Server running... press ctrl-c to stop"
- Site content includes zer0-mistakes theme elements
- Live reload header present (
X-Rack-Livereload: 1) - Build time under 5 seconds
β οΈ Common Issues:
- Port conflicts: Use
docker-compose run -p 4001:4000 jekyll - Volume mounting: Use home directory instead of
/tmp - Bundle install slow: Normal for first run (60-90 seconds)
- Repository errors: Check
PAGES_REPO_NWOenvironment variable
β Failure Indicators:
- Gemfile contains
gemspec(should be site-configured) - Docker container exits immediately
_config.ymlsyntax errors- Missing theme files or directories
π Validated Test Results
Latest Test Results (September 21, 2025):
β
Docker Deployment Test: 5/5 tests PASSED (100% success rate)
β
Installation Process: All files and directories created correctly
β
Gemfile Configuration: Properly configured for Jekyll sites
β
Docker Volume Mounting: Working correctly in home directory
β
Environment Variables: PAGES_REPO_NWO properly configured
β
Jekyll Build & Serve: Site accessible at http://localhost:4000
β
Performance: Bundle install ~60s, Jekyll build ~2.3s
Test Environment:
- OS: macOS (Apple Silicon)
- Docker: Available and functional
- Ruby: 2.6.10 (system)
- Jekyll: 3.9.5 (via GitHub Pages gem)
- Build Time: 2.315 seconds
- Bundle Install: 98 gems installed successfully
The theme installation and deployment process has been thoroughly tested and validated across multiple scenarios.
π οΈ Troubleshooting
Quick Fixes
π³ Docker Issues:
# Restart Docker Desktop
# Then rebuild containers
docker-compose down && docker-compose up --build
β‘ Port Conflicts:
# Use different port
docker-compose run -p 4001:4000 jekyll
π Apple Silicon Issues:
# Force platform if needed
docker-compose up --build
# The linux/amd64 platform is already configured
Common Issues
Docker Container Won't Start
# Check Docker is running
docker ps
# Rebuild container
docker-compose down
docker-compose up --build
Theme Not Loading
# Verify remote_theme setting in _config.yml
remote_theme: "bamr87/zer0-mistakes"
# Check Gemfile includes jekyll-remote-theme
gem "jekyll-remote-theme"
Port Already in Use
# Find process using port 4000
lsof -i :4000
# Or use different port
docker-compose run -p 4001:4000 jekyll
GitHub Pages Build Fails
- Ensure
jekyll-remote-themeplugin is in_config.yml - Check that all plugins are GitHub Pages compatible
- Verify
_config.ymlsyntax is valid YAML
Development Tips
# View container logs
docker-compose logs -f jekyll
# Clean Jekyll cache
docker-compose run --rm jekyll jekyll clean
# Bundle install in container
docker-compose run --rm jekyll bundle install
# Access container shell
docker-compose exec jekyll bash
π€ Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Development Setup
# Fork and clone the repository
git clone https://github.com/YOUR-USERNAME/zer0-mistakes.git
cd zer0-mistakes
# Create feature branch
git checkout -b feature/amazing-feature
# Make changes and test
docker-compose up
# Run tests
./test/test_runner.sh
# Build gem (if needed)
./scripts/build
# Commit and push
git commit -m "feat: add amazing feature"
git push origin feature/amazing-feature
Release Management
Our modernized release system uses modular automation:
# Preview release (requires Bash 4.0+)
/opt/homebrew/bin/bash scripts/release patch --dry-run
# Full release workflow
/opt/homebrew/bin/bash scripts/release patch # or minor, major
# Quick build & test (no publish)
scripts/release patch --skip-publish --no-github-release
System Requirements:
- Bash 4.0+ (install on macOS:
brew install bash) - Clean git working directory
- RubyGems credentials configured
For details, see Release Workflow and Phase 2 Documentation.
οΏ½ Documentation
π Comprehensive Documentation Center
All documentation is organized in the docs/ directory:
- π Documentation Overview - Complete documentation center with organized structure
- π Release Documentation - Version history and release notes
- β Feature Documentation - Detailed feature guides and implementation
- βοΈ System Documentation - Core systems, automation, and CI/CD
- π§ Configuration Guides - Setup and hosting configuration
- π Documentation Templates - Standardized templates for consistent documentation
π± Seed Documentation (AI & Developer Blueprints)
Comprehensive reconstruction documentation for AI agents and developers:
- Seed Documentation System - Master index and navigation guide (17,500+ lines total)
- Project Blueprint - Complete technical specifications with evolutionary context
- Master Blueprint - Full project architecture and specifications (~8,000 lines)
- Implementation Code - All automation scripts with source code (~3,000 lines)
- Build Instructions - 10-phase reconstruction guide (~2,500 lines)
- Component Library - Complete theme components (~4,000 lines)
π Recent Releases
- v0.6.0 - AI Integration & Privacy Compliance (Current)
- v0.5.0 - Comprehensive Sitemap Integration
- v0.4.0 - Statistics Dashboard
- v0.3.0 - Mermaid Integration v2.0
π Key Features
- Sitemap Integration - Unified site navigation and content discovery
- Automated Version System - Intelligent release automation
- CI/CD Pipeline - Comprehensive testing and deployment
- URL Configuration - Multi-hosting setup guide
- GitHub Copilot Instructions - AI-assisted development with comprehensive coding guidelines
- Product Requirements Document - Complete product specification and roadmap
οΏ½π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Project Statistics
Current Version: 0.6.0
Installation Success Rate: 95%
Setup Time: 2-5 minutes
RubyGems Downloads: 2,500+
Test Coverage: 60% (Target: 90% by v0.8.0)
Documentation: 17,500+ lines of seed docs + comprehensive guides
Lighthouse Score: 95+
πΊοΈ Roadmap
v0.7.0 (Q2 2026) - Headless CMS Integration
- Content API (REST/GraphQL)
- Visual front matter editor
- Multi-author collaboration
v0.8.0 (Q3 2026) - Advanced Analytics & UX
- A/B testing framework
- Conversion funnels
- Visual theme customizer
v0.9.0 (Q4 2026) - Enhanced Developer Experience
- Multi-language support (i18n)
- Component library browser
- Interactive setup wizard
v1.0.0 (Q1 2027) - Production Milestone
- 90%+ test coverage
- Enterprise support
- Stable API guarantee
π Full Roadmap: Product Requirements Document
π Acknowledgments
- Built with Jekyll 3.9.5 static site generator
- Styled with Bootstrap 5.3.3 framework
- Containerized with Docker for consistent development
- Analytics by PostHog with privacy-first principles
- Diagrams powered by Mermaid 10+
- AI-assisted development with GitHub Copilot
- Inspired by IT-Journey principles of reliable, self-healing software
π Support
- Documentation: Theme Documentation
- Seed Docs: AI Reconstruction Blueprints
- Product Spec: Product Requirements Document
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: support@zer0-mistakes.com
π Project Recognition
- β 95% Installation Success Rate - AI-powered error recovery
- β Zero-Configuration Deployment - Works immediately on GitHub Pages
- β Universal Compatibility - Docker-first for all platforms
- β Privacy-First Analytics - GDPR/CCPA compliant out-of-the-box
- β AI-Ready Architecture - Comprehensive Copilot integration
- β Complete Documentation - 17,500+ lines of reconstruction blueprints
Built with β€οΈ for the Jekyll community | Version 0.6.0 | Changelog | Contributing | License