7,380 open-source and SaaS tools, with GitHub stats refreshed every day.

Gogs

Open source

A lightweight, self-hosted Git service written in Go that installs as a single binary on Linux, macOS, Windows and ARM-based systems.

gogs.io
Gogs homepage screenshot
GitHub stars
48k
Last commit
20 days ago
Repository age
12 years
Version
v0.14.3
Licence
MIT
Self-hosted
Yes

About Gogs

Gogs is a self-hosted Git service that aims to be simple, stable and extensible and to be set up with as little pain as possible. Because it is written in Go, it can ship as a standalone binary on Linux, macOS, Windows and ARM-based systems, among other targets. It is released under the MIT license.

Features include a user dashboard, profiles and activity timeline, repository access over SSH, HTTP and HTTPS, and user, organization and repository management. Repositories get issues, pull requests, wikis, protected branches, webhooks for services like Slack, Discord and Dingtalk, Git hooks, deploy keys, Git LFS, mirroring and migration, a web file editor, and Jupyter Notebook and PDF rendering.

Authentication can use SMTP, LDAP, a reverse proxy, or GitHub accounts with two-factor support. PostgreSQL, MySQL, MariaDB and SQLite3 are supported, and the interface is localized in over 30 languages. An experimental API is documented. Gogs suits individuals and small teams who want a lightweight private code host, including on modest hardware such as a Raspberry Pi.

Key features

  • Single-binary Git hosting service
  • Repository access over SSH, HTTP and HTTPS
  • Issues, pull requests, wikis and protected branches
  • Webhooks, Git hooks, deploy keys and Git LFS
  • LDAP, SMTP and GitHub authentication with 2FA
  • PostgreSQL, MySQL, MariaDB and SQLite3 backends
  • Repository migration and mirroring

Good fit for

  • →Private Git hosting for small teams
  • →Lightweight code hosting on a Raspberry Pi
  • →Mirroring repositories from other code hosts
Tags
git
git-hosting
self-hosted
golang
version-control
docker
raspberry-pi
source-code

Gogs: questions and answers

What is Gogs used for?
Gogs is a lightweight, self-hosted Git service written in Go that installs as a single binary on Linux, macOS, Windows and ARM-based systems. It is a good fit for private Git hosting for small teams, lightweight code hosting on a Raspberry Pi and mirroring repositories from other code hosts.
Is Gogs open source?
Yes. Gogs is open source under the MIT licence. Its source code is on GitHub at gogs/gogs and is written mainly in Go.
Is Gogs free?
Yes. Gogs is open source, so the software itself is free to use.
Can I self-host Gogs?
Yes. Gogs can be self-hosted on your own server or infrastructure; there is no official hosted version.
What is Gogs an alternative to?
Gogs is an open-source alternative to GitHub, Bitbucket, GitLab and Unity Version Control. Other open-source alternatives to GitHub include GitBucket, Gitea and OneDev.
Is Gogs actively maintained?
Yes. The most recent commit to Gogs was on 12 September 2026, and the latest release is v0.14.3, published on 7 June 2026. The project has 48k stars on GitHub.

Open-source alternatives to Gogs

See all

SaaS alternatives to Gogs

See all