The gogs fork for

Hein-Pieter van Braam-Stewart 3ff0d9c3f0 Merge branch 'master' of bill-auger/gogs into master 3 months ago
.github da77ba57e4 Remove somewhat aggressive templates. 1 year ago
cmd 26aeaa7f2b Rename routers to routes 5 months ago
conf 17ae76abb5 Merge branch 'master' of 5 months ago
docker 5a88546a80 docker: enable Automated builds for rpi (#4431) 7 months ago
models 17ae76abb5 Merge branch 'master' of 5 months ago
packager 3c0d162961 packager: update files (#4181) 1 year ago
pkg 17ae76abb5 Merge branch 'master' of 5 months ago
public 1bda7e52c5 make register link a button again - fixes #149 5 months ago
routes cba199f3de Rebase users.go 5 months ago
scripts 3df25fadfa scripts: fix LSB init scripts so gogs starts when using mysql/postgresql for database (#4561) 8 months ago
templates a1eb2243e5 correct stray upstream hyperlinks 3 months ago
vendor e1f01305d8 vendor: update (#4428) 8 months ago
.bra.toml 3a6623104f Makefile: correct errors 7 months ago
.codebeatignore aa1fc30b89 Add .mailmap 1 year ago
.codebeatsettings 87954dbfeb Adjust .codebeatsettings 1 year ago
.dockerignore 30d9e2ee3c docker: use vendor to replace go get 11 months ago
.editorconfig 79ba0314e9 milestone: only show issue-related count under issue list (#4316) 11 months ago
.gitattributes 1bc805bb4b public: update Semantic UI 2.2.7 -> 2.2.10 10 months ago
.gitignore 41a2632ae7 webhook: minor text change on Discord 1 year ago
.gopmfile b3757e424f Prepare release 11 months ago
.mailmap aa1fc30b89 Add .mailmap 1 year ago
.pkgr.yml 3c0d162961 packager: update files (#4181) 1 year ago
.travis.yml 089eb1a099 Change required version to Go 1.6 8 months ago
Dockerfile 1841316f18 Provide an updated Dockerfile where Gogs is build with Go 1.8 (#4151) 1 year ago
Dockerfile.aarch64 341eafcf04 adapt Dockerfile.aarch64 (#4210) 11 months ago
Dockerfile.rpi ec05c64ead docker: update Dockerfile for Raspberry Pi (#4185) 1 year ago
Dockerfile.rpihub 5a88546a80 docker: enable Automated builds for rpi (#4431) 7 months ago
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 1 year ago
Makefile 3a6623104f Makefile: correct errors 7 months ago 2155ef0208 README: add GitPitch 8 months ago 2155ef0208 README: add GitPitch 8 months ago
appveyor.yml 9c3c9a8eb9 Update CI settings 1 year ago
gogs.go 6bc11c4450 hook: fix email not sent after push (#4430) 6 months ago

Gogs Build Status Build status Crowdin Sourcegraph Gitter

Current tip version: .VERSION (see Releases for binary versions)
Web UI Preview
Dashboard Repository Editor
Profile Diff Repository Settings
Webhook Organization Admin Dashboard

Important Notes

  2. Due to testing purpose, data of was reset in Jan 28, 2015 and will reset multiple times after. Please do NOT put your important data on the site.
  3. The demo site is running under develop branch.
  4. If you think there are vulnerabilities in the project, please talk privately to, and the name you want to be credited as. Thanks!
  5. If you're interested in using APIs, we have experimental support with documentation.
  6. If your team/company is using Gogs and would like to put your logo on our website, contact us by any means.



The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, Windows and ARM.



  • Activity timeline
  • SSH and HTTP/HTTPS protocols
  • SMTP/LDAP/Reverse proxy authentication
  • Reverse proxy with sub-path
  • Account/Organization/Repository management
  • Add/Remove repository collaborators
  • Repository/Organization webhooks (including Slack and Discord)
  • Repository Git hooks/deploy keys
  • Repository issues, pull requests, wiki and protected branches
  • Migrate and mirror repository and its wiki
  • Web editor for repository files and wiki
  • Jupyter Notebook
  • Two-factor authentication
  • Gravatar and Federated avatar with custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (via MySQL protocol)
  • Multi-language support (25 languages)

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

  • Please see Semantic UI for specific versions of supported browsers.
  • The smallest resolution officially supported is 1024*768, however the UI may still look right in smaller resolutions, but no promises or fixes.


Make sure you install the prerequisites first.

There are 5 ways to install Gogs:



Deploy to Cloud

Software and Service Support

Product Support


  • Thanks Egon Elbre for designing logo.
  • Thanks Crowdin for providing open source translation plan.
  • Thanks DigitalOcean for hosting home and demo sites.
  • Thanks KeyCDN and QiNiu for providing CDN service.



This project is under the MIT License. See the LICENSE file for the full license text.