Logo
Deploy Now

Stars

2

Forks

0

Watchers

0

Developer links

Githome

Point the gh CLI at your private Githome server and it works identically to github.com, because every REST v3 and GraphQL v4 endpoint returns byte-for-byte compatible JSON shapes, headers, Link pagination, and ETag caching. A single compiled Go binary serves the REST API under /api/v3, GraphQL under /api/graphql, git smart-HTTP transport, and a server-rendered web UI implementing the GitHub Primer design system with full functionality when JavaScript is disabled. The web interface provides repository browsing with Markdown rendering and syntax highlighting, issue tracking, pull requests with unified diffs and inline code review threads, full-text search, user profiles, and a notifications inbox. Authentication supports personal access tokens with prefix-based identification, OAuth device and web flows, and scoped permissions on every response header with only token hashes stored. The pull request system implements the complete lifecycle including async mergeable state computation, squash, merge, and rebase strategies, commit statuses, check runs, and statusCheckRollup fields. Webhooks deliver events with X-Hub-Signature-256 verification, SSRF protection, and at-least-once retry semantics. Storage supports SQLite for single-node deployments or PostgreSQL for production configurations. Performance optimizations include batch loaders replacing N+1 queries, keyset pagination, FTS-backed search, and GraphQL dataloaders. Docker deployment pulls the official multi-arch container image from GitHub Container Registry. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

Githome

Benefits

  • Byte-for-Byte GitHub API Compatibility
  • REST v3 and GraphQL v4 endpoints return identical JSON shapes, headers, error envelopes, and pagination as github.com, enabling unmodified gh CLI and third-party integrations without code changes.
  • Single Binary Zero-Dependency Deployment
  • One compiled Go binary serves the web UI, REST API, GraphQL endpoint, and git transport with embedded SQLite, requiring no external services for single-node installations.
  • Air-Gap Friendly Private Forge
  • Operates without outbound network connections, running on isolated datacenter networks, laptops, or Raspberry Pi devices with full repository hosting and code review capabilities.
  • CI Gated Conformance Testing
  • The githome-conform tool certifies running instances against the GitHub compatibility matrix as a black-box client, gating every release with automated contract tests against recorded github.com output.

Features

  • Built-in Web UI
  • Server-rendered GitHub Primer interface with repository browsing, Markdown rendering, syntax highlighting, issues, pull request diffs, inline code review, and notifications.
  • Git Smart-HTTP Transport
  • Native git clone and push over HTTP using hybrid go-git for reads and the git binary for transport, merge, and diff operations with authenticated access.
  • OAuth and PAT Authentication
  • Personal access tokens with prefix identification and checksum validation, OAuth device and web authorization flows, scoped permissions, and secure hash-only token storage.
  • Webhook Event Delivery
  • GitHub-compatible webhook system with X-Hub-Signature-256 verification, SSRF protection guards, at-least-once retry semantics, and full Events API support.
  • Full Code Review System
  • Pull request lifecycle with squash, merge, and rebase strategies, inline review threads, commit statuses, check runs, and async mergeable state computation.