You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
unknwon c154721f4a
Bump version
1 month ago
.github .github: adjust issue templates 9 months ago
cmd routes/api/v1: codemod 1 month ago
conf Update TRANSLATORS (#5774) 1 month ago
docker docker: change how to check whether initial or not (#5766) 1 month ago
models routes/api/v1: codemod 1 month ago
packager packager: update files (#4181) 2 years ago
pkg routes/api/v1: codemod 1 month ago
public public/css: make less (#5317) 8 months ago
routes routes/api/v1: codemod 1 month ago
scripts scripts: add NoNewPrivileges=true to systemd unit file (#5381) 1 year ago
templates Bump version 1 month ago
vendor fix and update build files (#5760) 1 month ago
.bra.toml Makefile: correct errors 2 years ago
.codebeatignore Add .mailmap 3 years ago
.codebeatsettings Adjust .codebeatsettings 3 years ago
.dockerignore docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 1 year ago
.editorconfig milestone: only show issue-related count under issue list (#4316) 2 years ago
.gitattributes locale: sync from Crowdin 1 year ago
.gitignore webhook: minor text change on Discord 2 years ago
.mailmap Add .mailmap 3 years ago
.pkgr.yml fix and update build files (#5760) 1 month ago
.travis.yml ci: add Go 1.12.x 1 month ago
Dockerfile dockerfile: add rsync (#5773) 1 month ago
Dockerfile.aarch64 Dockerfile: always use alpine:latest (#5714) 1 month ago
Dockerfile.aarch64hub Dockerfile: always use alpine:latest (#5714) 1 month ago
Dockerfile.rpi Dockerfile: always use alpine:latest (#5714) 1 month ago
Dockerfile.rpihub Dockerfile: always use alpine:latest (#5714) 1 month ago
LICENSE Change LICENSE copyright holder name [CI SKIP] 3 years ago
Makefile Makefile: only read GOPATH from env var 1 year ago README: add Builtkite to sponsors 1 month ago README: add Builtkite to sponsors 1 month ago
appveyor.yml ci: update appveyor.yml 9 months ago
gogs.go Bump version 1 month ago

Gogs Build Status Build status Crowdin Discord

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.



This project aims to build a simple, stable and extensible self-hosted Git service that can be setup 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.



  • 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 (30 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 6 ways to install Gogs:



Deploy to Cloud

Software and Service Support

Product Support




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

FOSSA Status