Gogs (Go Git Service) is a painless self-hosted Git service.
Go Groff CSS JavaScript Shell Makefile Batchfile
Failed to load latest commit information.
.github Replace gogs.io http links with https version (#3386) Aug 6, 2016
cmd Fetch before Checkout when create pull request (#3699) Dec 24, 2016
conf Update locales Jan 1, 2017
docker Replace gogs.io http links with https version (#3386) Aug 6, 2016
models Fix dashboard issues/pull request counting Dec 27, 2016
modules Update locales Jan 1, 2017
packager Fix postinstall to use GOGS_CUSTOM instead of symlinking Dec 10, 2015
public Upgrade Sematic UI to 2.2.7 Dec 27, 2016
routers Improve code for fix of #4006 Jan 3, 2017
scripts init script for gentoo (#3761) Dec 21, 2016
templates Fix vulnerability reported in #4006 Jan 3, 2017
.bra.toml models/repo_editor: improve code quality Aug 16, 2016
.codebeatignore Add .mailmap Aug 11, 2016
.codebeatsettings Adjust .codebeatsettings Aug 9, 2016
.dockerignore Update docker/build.sh script to use glide & make (#3079) May 11, 2016
.editorconfig #2018 able to sync now for mirrors Aug 30, 2016
.gitattributes Update .gitattributes Aug 6, 2016
.gitignore Use glide Mar 11, 2016
.gopmfile Fix dashboard issues/pull request counting Dec 27, 2016
.mailmap Add .mailmap Aug 11, 2016
.pkgr.yml Enable Ubuntu 16.04 build at packager.io (#3617) Dec 22, 2016
.travis.yml Drop Go 1.4 support Nov 24, 2016
Dockerfile docker: Support timezones (#3262) Jul 15, 2016
Dockerfile.rpi docker: Support timezones (#3262) Jul 15, 2016
LICENSE Change LICENSE copyright holder name [CI SKIP] Aug 9, 2016
Makefile Add all, check and dist Makefile rules (#3549) Aug 30, 2016
README.md Fix vulnerability reported in #4006 Jan 3, 2017
README_ZH.md Add Galician support Dec 24, 2016
glide.lock Fix dashboard issues/pull request counting Dec 27, 2016
glide.yaml codegangsta/cli => urfave/cli (#3546) Aug 30, 2016
gogs.go Fix vulnerability reported in #4006 Jan 3, 2017


Gogs - Go Git Service Build Status Crowdin Gitter

Current tip version: 0.9.115 (see Releases for binary versions or submit a task on alpha stage automated binary building system)
Web UI Preview
Dashboard Repository Commits History
Profile Admin Dashboard Diff
Issues Releases Organization

Important Notes

  2. Due to testing purpose, data of try.gogs.io 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 try.gogs.io is running under develop branch.
  4. If you think there are vulnerabilities in the project, please talk privately to u@gogs.io. 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)
  • Repository Git hooks/deploy keys
  • Repository issues, pull requests and wiki
  • Migrate and mirror repository and its wiki
  • Web editor for repository files and wiki
  • Gravatar and Federated avatar with custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3 and TiDB (experimental)
  • Multi-language support (22 languages)

System Requirements

  • A cheap Raspberry Pi is powerful enough for basic functionality.
  • 2 CPU cores and 1GB RAM would be the baseline for teamwork.

Browser Support

  • Please see Semantic UI for specific versions of supported browsers.
  • The official support minimal size is 1024*768, UI may still looks right in smaller size but no promises and fixes.


Make sure you install the prerequisites first.

There are 5 ways to install Gogs:



Deploy to Cloud

Software and Service Support

Product Support


  • Router and middleware mechanism of Macaron.
  • System Monitor Status is inspired by GoBlog.
  • Thanks Rocker 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.