gogs /gogs

The painless way to host your own Git service

★ 47,941⑂ 5,082👁 1,003⑃ 2,830● 5,218▤ 101
GoMITCreated 2014-02-12gogs.io
Download: v0.14.4v0.14.4 ↓0.14.42026-11-12
+5
Daily
+16
Weekly
47,941
stars
5,082
forks
1,003
watchers
2,830
prs
5,218
issues
101
releases

README

👉 Deploy on DigitalOcean and get $200 in free credits!
  


 🔮 Vision

The Gogs (/gɑgz/) project aims to build a simple, stable and extensible self-hosted Git service that can be set up in the most painless way. With Go, this can be done with an independent binary distribution across all platforms that Go supports, including Linux, macOS, Windows and ARM-based systems.

 📡 Overview

- Please visit our home page for user documentation.
- Please refer to CHANGELOG.md for list of changes in each releases.
- Want to try it before doing anything else? Do it online!
- Having trouble? Help yourself with troubleshooting or ask questions in Discussions.
- Want to help with localization? Check out the localization documentation.
- Ready to get hands dirty? Read our contributing guide.
- Hmm... What about APIs? We have experimental support with documentation.

 💌 Features

- Code hosting
  - Git over SSH and HTTP(S), with deploy keys and LFS (local or S3\).
  - Migrate and mirror from other code hosts.
  - Browse, edit, search\ and blame\ code right in the browser.
  - Rendered Markdown, Jupyter Notebooks and PDFs, with rich diffs\.
- Collaboration
  - Issues, wikis and pull requests, with inline reviews\ and stacks\.
  - Protected branches, with code owners\ and signed commits\.
  - Organizations, teams and collaborators.
- Interface
  - Dashboards, profiles and activity timelines.
  - Light and dark themes, a command palette\ and over 31 languages.
- Integrations
  - Webhooks for Slack, Discord, DingTalk and more, plus server-side Git hooks.
  - A REST API, GitHub-compatible\.
- Security
  - Sign in with LDAP, SMTP, PAM, reverse proxy, OAuth 2.0\, OpenID Connect\ or SAML 2.0\.
  - Two-factor authentication and passkeys\.
  - Session management\, security alerts\ and breached password detection\.
- Operations
  - Single binary, Docker or Kubernetes\, on Linux, macOS, Windows and ARM.
  - PostgreSQL, MySQL or SQLite3.
  - OpenTelemetry with a built-in trace viewer\.

 In development.

 💾 Hardware requirements

- A Raspberry Pi or $5 Digital Ocean Droplet is more than enough to get you started. Some even use 64MB RAM Docker CaaS.
- 2 CPU cores and 512MB RAM would be the baseline for teamwork.
- Increase CPU cores when your team size gets significantly larger, memory footprint remains low.

 💻 Browser support

- Any modern browser works, with Chrome 111, Edge 111, Firefox 128 and Safari 16.4 (including iOS) as the minimum versions.
- The UI is mobile-friendly and works on screens as narrow as 375px.
- WebAssembly SIMD makes syntax highlighting in diffs faster, but is not required.

 📜 Installation

Please follow the guide in our documentation.

 🙇‍♂️ Acknowledgments

This project is proudly supported by:

  
    
  


Other acknowledgments:

- Thanks Egon Elbre for designing the original version of the logo.
- Thanks Mintlify for sponsoring open source documentation plan.
- Thanks Crowdin for sponsoring open source translation plan.
- Thanks Buildkite for spo

Top issues

Discussions

Latest release

v0.14.4 v0.14.4 2026-11-12
Changed

- Lowering [auth] ACTIVATE_CODE_LIVES or [auth] RESET_PASSWORD_CODE_LIVES now also shortens the lifetime of activation, email confirmation, and password reset links already sent. 8478

 Fixed

- _Security:_ On Windows hosts, a user creating a repository with initial files or initializing its labels could read files on the server, including the configuration file. 8488 - GHSA-fv2v-vwmj-j74p
- _Security:_ Referencing an issue in a commit message added a comment to it even when the pusher could not access its repository, letting anyone post into issues of private repositories. 8486 - GHS

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON