gogs/gogs
SELF-HOSTED GIT SERVICE IN GO
Gogs is a self-contained Git server written in Go that deploys as a single binary on any platform. It solves the task of private code hosting with GitHub-like features without cloud dependency.
// KEY FEATURES
- Single binary for Linux, macOS, Windows and ARM
- Git over SSH/HTTP(S), LFS, forks, migration from GitHub
- PRs with reviews, protected branches, wikis, releases, projects
- Docker, Kubernetes, SQLite/PostgreSQL/MySQL, CLI backup
// DEEP DIVE: HOW IT WORKS
Gogs is written in Go and distributed as a single binary with a built-in SSH server. It supports PostgreSQL, MySQL, and SQLite3, runs on Linux, macOS, Windows, and ARM — a Raspberry Pi or a $5 droplet is enough. It starts directly, via Docker, or in Kubernetes without complex dependencies.
Unlike GitLab or Gitea, Gogs focuses on minimalism and simple deployment. It has a GitHub-compatible REST API, webhooks for Slack/Discord, experimental Actions and Packages. Syntax highlighting in diffs is accelerated via WebAssembly SIMD, and the UI comes in 31 languages with a dark theme.
Some features — inline reviews, PR stacks, code owners, SAML/OIDC — are in development. Minimum for a team: 2 CPU cores and 512 MB RAM. MIT license, backup/restore via CLI. Requires a modern browser (Chrome 111+, Firefox 128+).
// USE CASES
Best for: Teams needing private Git hosting without cloud
- Deploy private Git server on own hardware in minutes
- Migrate repositories from GitHub preserving history and Issues
- Set up CI/CD via built-in Actions and Slack webhooks
New repositories every 30 minutes
REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.
Join on Telegram