WeSearch

Show HN: My Private GitHub on Postgres

·2 min read · 0 reactions · 0 comments · 4 views
#git#postgres#self-hosting#developer-tools#version-control
Show HN: My Private GitHub on Postgres
⚡ TL;DR · AI summary

GitGres is a private, self-hosted reimplementation of GitHub built on Postgres, designed for teams needing control over cost, latency, and consistency. It stores all GitHub-like data—repositories, issues, PRs, users—in Postgres rows without disk storage, enabling flexible deployment and tuning. The tool supports Git operations via HTTP and a custom remote helper, with setup involving Postgres configuration and running the GitGres server.

Key facts
Original article
Hacker News: Front Page
Read full at Hacker News: Front Page →
Opening excerpt (first ~120 words) tap to expand

GitGres is a starting point for private reimplementations of GitHub optimizied for individual teams' agent needs. GitHub is a fantastic site for sharing code and it is likely how you're viewing this if you're a human. GitGres exists to solve for a few issues: Trading off cost for uptime. GitHub offers free code storage but less-than-stellar uptime. With GitGres, you have the flexibility to use a Postgres DBMS with tiered storage [1] to tune cost while maintaining uptime. Trading off latency for cost. GitHub puts you at the mercy of current system load. With GitGres, just choose your favorite Postgres cache [2]. Trading off consistency for throughput. GitHub is a cloud service. If requests reach GitHub's servers out of order, bad things can happen. GitGres is a server backed by Postgres.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News: Front Page.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments