On this page
Overview
Gogs is a self-hosted Git service for repositories, issues, pull requests, wikis, and webhooks. Its Go-based standalone distribution emphasizes simple deployment and a small resource footprint.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Serve Git repositories over SSH and HTTP(S)
Manage users, organizations, and repositories with SSH, HTTP, and HTTPS access, plus deploy keys, Git hooks, Git LFS, and protected branches.
Sources: [2]
Keep issues, pull requests, and wikis beside the code
Beyond repository hosting, Gogs includes issues, pull requests, wikis, web editing, collaboration, and migration or mirroring from other Git hosts.
Sources: [2]
Best fit
Fits smaller teams and resource-constrained self-hosted environments
It is relevant when a team wants core Git collaboration features under its own control without operating a large platform stack.
Sources: [2]
Before adoption
Use a release containing the v0.14.3 security fixes
v0.14.3 fixes numerous issues involving authentication headers, webhook SSRF, authorization checks, XSS, RCE, and related attack surfaces. Public deployments should use a patched release.
Sources: [5]
Docker images are transitioning between generations
The traditional Docker image is being moved to legacy status, while the next-generation non-root image is intended to become the default. New deployments should review the next-generation app.ini and container requirements.
Sources: [4]
Official sources
- [1]gogs/gogs repository(2026-09-30)
- [2]Gogs README(2026-09-30)
- [3]Gogs installation guide(2026-09-30)
- [4]Gogs next-generation Docker guide(2026-09-30)
- [5]Gogs v0.14.3 release(2026-09-30)
- [6]Gogs MIT license(2026-09-30)
Supplemental curator note
Gogs is designed for teams that want a small-footprint Git service distributed as a standalone Go application. Version 0.14.3 fixes a large set of security issues, so deployments on older 0.14.x or earlier releases should verify their upgrade status.
Try it in 3 steps
- 1
Download Gogs v0.14.3
Fetch the Linux amd64 archive for v0.14.3, which includes the current security fixes.
curl -LO https://github.com/gogs/gogs/releases/download/v0.14.3/gogs_v0.14.3_linux_amd64.tar.gz && tar -xzf gogs_v0.14.3_linux_amd64.tar.gz && cd gogs - 2
Create a minimal SQLite configuration
Configure SQLite and a random SECRET_KEY for local evaluation. Public deployments should separately plan external URL, authentication, and backups.
mkdir -p custom/conf data && printf 'RUN_MODE = prod\n[server]\nEXTERNAL_URL = http://127.0.0.1:3000/\n[database]\nTYPE = sqlite3\nPATH = %s/data/gogs.db\n[security]\nSECRET_KEY = %s\n' "$(pwd)" "$(openssl rand -hex 32)" > custom/conf/app.ini - 3
Start Gogs
Open http://127.0.0.1:3000. The first registered user becomes the administrator.
./gogs web
Growth
Growth trends · Last 30 days
47,844 Stars
Trend data is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- docker
- git
- go
- gogs
- mysql
- postgresql
- raspberry-pi
- self-hosted
- source-code-management
- sqlite3
- version-control
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- CasaOS37,267 Stars
2 shared tag(s) · 1 shared category(s) · Same language
manage Docker apps, files, and storage on a Linux home server through a personal-cloud UI
Go - 1Panel37,056 Stars
2 shared tag(s) · 1 shared category(s) · Same language
centralize Linux server, Docker, web, database, backup, and AI operations in one privileged control plane
Go - HashiCorp Vault36,320 Stars
2 shared tag(s) · 1 shared category(s) · Same language
manage secret storage, issuance, encryption, leases, and revocation under one policy model
Go - NetBird29,628 Stars
2 shared tag(s) · 1 shared category(s) · Same language
Connect devices, users, and agents with WireGuard mesh and identity-aware policy
Go - Rancher25,942 Stars
2 shared tag(s) · 1 shared category(s) · Same language
Unify access and operations across multiple Kubernetes clusters
Go - Navidrome23,898 Stars
2 shared tag(s) · 1 shared category(s) · Same language
stream your own music library to web, Subsonic, and Jellyfin-compatible clients
Go
Report incorrect information
Tell us if any listing information is incorrect or outdated.