
Gogs
A painless self-hosted Git service built for simplicity
About Gogs
Gogs is a lightweight, self-hosted Git service written in Go that lets you run your own GitHub-like platform on virtually any hardware. Designed around simplicity and minimal resource usage, Gogs can run on a Raspberry Pi or a small VPS with as little as 64MB of RAM and 0.25 vCPU — making it one of the most accessible self-hosted Git solutions available. It is 100% free and open source under the MIT License. Out of the box, Gogs provides everything a development team needs for code hosting: repository management with SSH and HTTPS access, issue tracking, wikis, pull requests, protected branches, webhooks, and organization/team management. It supports multiple database backends including SQLite, MySQL, PostgreSQL, and MSSQL, and runs natively on Linux, macOS, Windows, and ARM devices including Raspberry Pi. Gogs is ideal for individuals, small teams, and organizations that want full control over their source code without relying on cloud-based services. Its single binary distribution and built-in SQLite support make setup straightforward, and its Go-based architecture means it stays fast and efficient even under load. While it has a slower release cadence than Gitea (its community fork), Gogs remains a battle-tested choice for teams that value stability and simplicity over cutting-edge features.
Pros & Cons
Pros
- Extremely lightweight — runs on Raspberry Pi or tiny VPS with 64MB RAM
- Simple setup with a single Go binary and no external dependencies
- Built-in SQLite means zero external database required for small installs
- MIT licensed — fully free with no usage restrictions or call-home requirements
- Familiar GitHub-like interface lowers the learning curve for teams
- Cross-platform support including ARM, Windows, and Linux
- Stable and battle-tested for small-to-medium team use
Cons
- Slower release cadence compared to Gitea (its more actively developed fork)
- No built-in CI/CD — requires external tools like Drone or Jenkins
- Fewer third-party integrations than Gitea or GitLab
- No container registry or package registry features
- Smaller community than Gitea makes finding help harder
- Some enterprise features (SSO, audit logs) are basic or absent
Key Features
Repository Management
Host unlimited Git repositories with SSH and HTTPS access, branch management, tags, and full commit history browsing
Issue Tracker
Built-in issue tracking with labels, milestones, assignees, and comment threads to manage project tasks and bugs
Pull Requests
Code review workflow with pull requests, inline comments, and merge controls for collaborative development
Repository Wiki
Per-repository wiki for documentation, powered by Markdown and stored as a Git repository itself
Webhooks
Outgoing webhooks to Slack, Discord, Dingtalk, MSTeams, and custom HTTP endpoints for CI/CD and notifications
Organization & Team Management
Create organizations with multiple teams, fine-grained repository permissions, and member management
Authentication & SSO
Built-in user auth with LDAP, Active Directory, SMTP, and OAuth2 (GitHub, Google, GitLab, etc.) support
Two-Factor Authentication
TOTP-based two-factor authentication to protect user accounts from unauthorized access
Repository Mirroring
Mirror external repositories from GitHub, GitLab, or any Git remote for local backup and redundancy
Admin Dashboard
System administration panel with user management, repository oversight, and server health monitoring
Minimal Resource Footprint
Runs on as little as 64MB RAM and 0.25 vCPU — deployable on Raspberry Pi, cheap VPS, or bare metal
Cross-Platform Binary
Single executable for Linux, macOS, Windows, and ARM — no runtime dependencies required
Pricing
- Unlimited repositories
- Unlimited users and organizations
- SSH and HTTPS access
- Issue tracking and milestones
- Pull requests and code review
- Wiki per repository
- Webhooks (Slack, Discord, and custom)
- Protected branches
- Team and organization management
- SQLite, MySQL, PostgreSQL, MSSQL support
- Cross-platform: Linux, macOS, Windows, ARM
- Docker support
- MIT licensed — self-host forever