WHAT IS IT?
Gogs (Go Git Service) is a self-hosted Git forge written in Go, designed to be deployed in minutes on any machine. Everything fits into a single binary with no heavy external dependencies, and the memory footprint stays ridiculously low compared to GitLab. A minimalist GitHub alternative when you just want to host your repos and manage issues and PRs without the bloat.
WHY IS IT INTERESTING?
- Tiny footprint: runs on a Raspberry Pi with 512MB of RAM. Perfect for homelabs, NAS boxes or small VPS instances.
- Single binary: one cross-platform executable (Linux, macOS, Windows, ARM). No runtime to install, no stack to maintain.
- Flexible stack: SQLite, MySQL, PostgreSQL or TiDB on the database side. SSH, HTTP, HTTPS for access.
- Essential features: issues, pull requests, wiki, webhooks (Slack, Discord, Dingtalk), Git LFS, protected branches, deploy keys, 2FA.
- Flexible authentication: SMTP, LDAP, OAuth2, PAM, reverse proxy. Plugs into any existing SSO.
- Migration and mirroring: import repos from GitHub/GitLab and set up automatic mirrors.
USE CASES
- Internal forge for a small team or personal project, without paying for GitHub Enterprise or running a full GitLab stack.
- Hosting code on a homelab or NAS, with negligible resource consumption.
- Air-gapped or isolated environments where code must never leave the internal network.
- Local mirror of critical GitHub repositories for resilience or compliance.
