OpenCodeHub Documentation
Everything you need to deploy, configure, and master OpenCodeHub - the self-hosted Git platform with stacked PRs, AI review, and CI/CD.
⚡ Quick Install
Get OpenCodeHub running in minutes with Docker:
Then visit http://localhost:3000 in your browser.
✨ Key Features
📚 Stacked Pull Requests
Break large changes into reviewable chunks. Ship faster with dependent PRs that automatically update.
🤖 AI Code Review
Instant feedback from GPT-4 or Claude. Catch security issues, bugs, and code smells automatically.
🔀 Smart Merge Queue
Stack-aware CI optimization. Batch PRs, auto-rebase, and merge in the correct order.
⚡ CI/CD Pipelines
GitHub Actions-compatible workflows. Build, test, and deploy with self-hosted runners.
🔒 Enterprise Security
Rate limiting, CSRF protection, audit logging, 2FA, and encrypted secrets management.
💻 Powerful CLI
Stack-first workflows from your terminal. Manage PRs, sync stacks, and more.
📖 Documentation
🚀 Getting Started
Install OpenCodeHub, create your first repository, and configure your environment.
🌐 Deployment Guide
Deploy to Docker, Vercel, VPS, or any cloud provider with production-ready configurations.
💻 CLI Reference
Complete command reference for the OpenCodeHub CLI. Stack management, authentication, and more.
🔌 API Documentation
REST API reference, webhook events, and authentication for programmatic access.