Everything you need to know about OpenCodeHub — from getting started to advanced features
Welcome to OpenCodeHub's comprehensive documentation. Whether you're new to the platform or looking to master advanced features, you'll find everything you need here.
- Getting Started — Install and set up OpenCodeHub
- Features — Stacked PRs, AI review, merge queue, and more
- Tutorials — Hands-on guides
- API Reference — Integrate programmatically
- CLI Reference — Command-line tool
New to OpenCodeHub? Start here!
- Installation Guide — Set up OpenCodeHub (Docker or manual)
- Quick Start — Get up and running in 5 minutes
- Create Your First Repository — Push your first code
Learn about OpenCodeHub's powerful features:
-
Stacked Pull Requests Break large changes into reviewable stacks. Ship code faster.
-
AI Code Review Get instant feedback from GPT-4 or Claude. Catch bugs automatically.
-
Smart Merge Queue Automate merging with stack-aware CI optimization.
-
CI/CD Pipelines GitHub Actions-compatible workflows. Build, test, deploy.
-
Developer Metrics Track velocity, review efficiency, and team performance.
-
Slack Integration Get actionable notifications in Slack. Review without leaving chat.
Step-by-step guides to master OpenCodeHub:
-
Your First Stacked PR 15-minute tutorial: Create your first stack of PRs
-
AI-Powered Code Reviews Set up and use AI review for your projects
-
Automated Deployment Build a complete CI/CD pipeline from scratch
Best practices and workflows:
- Team Workflows — Collaborate effectively
- Branch Protection — Secure your branches
- Webhooks — Integrate with external services
- Storage Adapters — Configure S3, GCS, or local storage
- CircleCI Integration — Use CircleCI as your CI/CD provider
- Run Workers on CircleCI — Background workers via CircleCI
Integrate OpenCodeHub into your tools:
- REST API — Complete API reference (140+ endpoints)
- Authentication — API tokens, PATs, OAuth, and SSH
- Webhooks — Event-driven integrations
For system administrators:
- Deployment Guide — Production deployment
- Deploy on Coolify — Self-hosted PaaS deployment
- Deploy on CyberPanel — OpenLiteSpeed hosting panel
- Deploy on cPanel — Shared hosting deployment
- Deploy on NAS — Synology, TrueNAS, QNAP
- Configuration Reference — All config options
- Security Best Practices — Secure your instance
- Monitoring — Monitor health and performance
- Incident Runbook — Respond to incidents
- Secret Rotation — Rotate credentials safely
Contributing to OpenCodeHub:
- Architecture — System design and components
- Database Schema — Database tables and relationships
- Testing — Running and writing tests
- Contributing — Dev environment setup
- CLI Commands — Full CLI reference
- Glossary — Project terminology
- Troubleshooting — Fix common issues
The #1 feature that makes OpenCodeHub unique:
main branch
└── PR #123: Add database schema
└── PR #124: Add auth service
└── PR #125: Add login UI
Catch bugs before they reach production:
Merge automatically, in the right order:
och queue add 123 124 125
# Queue handles everything:
# - CI runs
# - Rebasing
# - Merging in order
# - Zero manual work# 1. Download docker-compose.yml
curl -O https://raw.githubusercontent.com/swadhinbiswas/OpenCodeHub/main/docker-compose.yml
# 2. Configure
cp .env.example .env
# Edit .env with your settings
# 3. Start
docker-compose up -d
# 4. Create admin user
docker-compose exec app bun run scripts/seed-admin.ts
# 5. Open
open http://localhost:4321- Docker: 20.10+ (recommended)
- OR Node.js: 18+ with Bun or npm
- Database: PostgreSQL 14+ or SQLite
- Storage: Local, S3, Google Cloud Storage, Azure Blob, and more
- Quick Start — Get familiar with the platform
- Your First Stack — Learn stacked PRs
- Team Workflows — Collaborate effectively
- Installation — Set up your instance
- Team Workflows — Define your process
- Branch Protection — Secure your code
- CI/CD Setup — Automate everything
- Deployment Guide — Production setup
- Security Best Practices — Secure your instance
- Monitoring — Track health
- Configuration — Tune performance
- Documentation — You're here!
- GitHub Issues — Bug reports, feature requests
- GitHub Discussions — Community Q&A
We welcome contributions!
- Contributing Guide — How to contribute
- Good First Issues — Easy issues for new contributors
| Feature | GitHub | GitLab | OpenCodeHub |
|---|---|---|---|
| Stacked PRs | Native support | ||
| AI Code Review | Copilot only | GPT-4 & Claude | |
| Smart Merge Queue | Basic | Basic | Stack-aware |
| Self-Hosted | Complex | Simple | |
| CI/CD | Actions | CI/CD | GitHub Actions-compatible |
| Cost | $$$ | $$$ | Free & open source |
OpenCodeHub is open source under the MIT License.
Ready to get started?