Stacked PRs
Break large features into small, dependent steps. Graphite-style stacked branches with automatic rebase and merge readiness checks.
The fully self-hosted GitHub alternative with SSH hosting, CI/CD pipelines, AI code review, and a modern developer experience.
Stacked PRs
Break large features into small, dependent steps. Graphite-style stacked branches with automatic rebase and merge readiness checks.
AI Code Review
Built-in LLM agents (GPT-4, Claude, Gemini, Groq, Ollama, and 10+ providers) review your code for bugs and security issues automatically.
Smart Merge Queue
Stack-aware merge queue with speculative CI builds, priority lanes, and conflict detection. Ensure main never breaks.
CI/CD Pipelines
GitHub Actions-compatible workflow engine with Docker-based runners, artifact storage, and secrets management.
Fully Self-Hosted
Keep your code on your servers. No per-seat pricing. No vendor lock-in. Deploy with Docker, Podman, or bare metal.
Package Registry
Built-in npm and Docker container registry. Host private packages alongside your source code.
Git Hosting
Full Git support with HTTP smart protocol and SSH. Repository forking, mirroring, LFS, and CODEOWNERS enforcement.
Pull Requests
Full PR lifecycle with inline comments, file-level approvals, review templates, reviewer routing rules, and auto-merge.
Issues & Projects
Issue tracking with custom fields and statuses. Drag-and-drop project boards with columns and cards.
Security
Secret scanning, vulnerability scanning, security policies, path-level permissions, and audit logging.
Webhooks & Automations
Outbound webhooks with HMAC signing. Rule-based automations for PR workflows, reviews, and deployments.
Organizations & Teams
Multi-tenant organizations with role-based access control, team management, and fine-grained permissions.
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 →
Kubernetes
Deploy to Kubernetes using the bundled Helm chart with horizontal scaling. Deploy on Kubernetes →
Coolify
Self-hosted PaaS alternative to Heroku/Render. Auto-deploy with built-in SSL. Deploy on Coolify →
NAS
Run on Synology, TrueNAS, or QNAP. Perfect for private home/team Git servers. Deploy on NAS →
Cloudflare
Cloudflare Tunnel + R2 for zero-port exposure and S3-compatible storage. Deploy with Cloudflare →
Nginx
Production-ready reverse proxy config with SSL and Git-specific optimizations. Configure Nginx →
cPanel / CyberPanel
Deploy on shared hosting or VPS panels using Node.js + PM2. cPanel → | CyberPanel →
| Layer | Technology |
|---|---|
| Framework | Astro 4.x (SSR, Node standalone adapter) |
| Frontend | React 18, Tailwind CSS, Radix UI, Framer Motion |
| Backend | Astro API Routes (175+ endpoints), GraphQL |
| Database | PostgreSQL (prod), SQLite (dev), Turso/LibSQL (edge) |
| ORM | Drizzle ORM (38 schema tables) |
| Auth | JWT, bcryptjs, TOTP 2FA, OAuth (Google, GitHub), SSO/SAML, OIDC |
| Git | simple-git, isomorphic-git, nodegit, ssh2 |
| Storage | Local filesystem or S3-compatible (AWS, MinIO, R2, Garage, Wasabi) |
| CI/CD | GitHub Actions-compatible engine, Docker-based runners |
| AI | OpenAI, Anthropic, Google, Groq, Ollama, OpenRouter, Together, Bytez |
| Queue | BullMQ + Redis |
| Observability | OpenTelemetry, Prometheus metrics, Pino logging |
# Clone and start with Docker Composegit clone https://github.com/swadhinbiswas/OpencodeHub.gitcd OpencodeHubcp .env.example .env # Edit secrets!docker-compose up -d
# Create admin userdocker-compose exec app bun run scripts/seed-admin.ts
# Open in browseropen http://localhost:4321Installation
Get OpenCodeHub running in minutes. Read the guide →
Configuration
All environment variables and settings. View config →
CLI Reference
The och CLI with 20+ command groups. View commands →
API Reference
REST API with 175+ endpoints. Explore the API →
Architecture
System design, data flow, and component overview. View architecture →
Contributing
Help make OpenCodeHub better. Start contributing →