Skip to content
Stacked PRs AI Review Merge Queue

OpenCodeHub Documentation

The fully self-hosted GitHub alternative with SSH hosting, CI/CD pipelines, and a modern developer experience.

🚀 Stacked PRs

Break large features into small, dependent steps. Ship faster without the review bottleneck.

🤖 AI Code Review

Built-in LLM agents (GPT-4/Claude) review your code for bugs and security issues automatically.

🔀 Smart Merge Queue

Automate your merging strategy. Ensure main never breaks with speculative CI runs.

🏠 Fully Self-Hosted

Keep your code on your servers. No “per-seat” pricing. No vendor lock-in.

OpenCodeHub Architecture

OpenCodeHub is built on a modern, scalable architecture designed for performance and flexibility.

🐳 Docker

The recommended way to deploy. Full Docker Compose setup with PostgreSQL and Redis. Deploy with Docker →

🦭 Podman

Rootless containers with native systemd integration. Ideal for security-focused deployments. Deploy with Podman →

🌐 Nginx

Production-ready reverse proxy config with SSL and Git-specific optimizations. Configure Nginx →

LayerTechnology
FrontendAstro, React, Tailwind CSS, shadcn/ui
BackendNode.js, Hono (API), simple-git
DatabasePostgreSQL, Turso (LibSQL), SQLite
StorageLocal disk, S3, R2, Google Drive
AuthJWT, 2FA, OAuth (GitHub, Google)
CI/CDGitHub Actions compatible runners

Installation

Get OpenCodeHub running in minutes with Docker or Node.js. Read the guide →

CLI Reference

Learn the och CLI commands for managing stacks and repositories. View commands →

Storage TypePerformanceCostBest For
Local SSD⚡ Fastest$$Production, self-hosted
S3/R2🐢 Slow$Backup, serverless
Google Drive🐢 SlowFreePersonal projects