I built a private GitHub in 650 lines of PostgreSQL
Stores git objects and PRs in Postgres rows, tunable for agent workloads.
A private GitHub on Postgres
Runs GitHub in 650 lines of SQL, replacing Gitea for local agent swarms.
DevOps engineers, teams needing air-gapped repos, local-first developers
Gitea · Forgejo · GitLab
Stores git objects and PRs in Postgres rows, tunable for agent workloads.
Stores git objects and packfiles directly in Postgres rows for tunable consistency.
GitHub integration fetches migrations without CI/CD job overhead.
GitHub sidebar stats are handy, but TOKEI and other extensions do this.
Timestamps-only mirroring avoids the obvious graph-gaming liability while solving real private-work visibility.
PostgreSQL-native memory with semantic search beats ephemeral ChatGPT sessions.