Fork of GoGS with fulltext commit search support
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.
Vitaliy Filippov 47056aca03 Fix permission filter 6 years ago
.github mailer: make text/html as default format 6 years ago
cmd Add reindex cli command 6 years ago
conf Add explore/commits page 6 years ago
docker docker: fix heading in (#4353) 6 years ago
models Fix permission filter 6 years ago
packager packager: update files (#4181) 6 years ago
pkg Add explore/commits page 6 years ago
public js: remove Preview, Full Screen and Side-by-side buttons for repository file editing (#4402) 6 years ago
routers Add explore/commits page 6 years ago
scripts scripts: update gogs.service (#4223) 6 years ago
templates Add explore/commits page 6 years ago
vendor search for all words in mysql match 6 years ago
.bra.toml Refactoring: rename modules -> pkg 6 years ago
.codebeatignore Add .mailmap 7 years ago
.codebeatsettings Adjust .codebeatsettings 7 years ago
.dockerignore docker: use vendor to replace go get 6 years ago
.editorconfig milestone: only show issue-related count under issue list (#4316) 6 years ago
.gitattributes public: update Semantic UI 2.2.7 -> 2.2.10 6 years ago
.gitignore webhook: minor text change on Discord 6 years ago
.gopmfile Prepare release 6 years ago
.mailmap Add .mailmap 7 years ago
.pkgr.yml packager: update files (#4181) 6 years ago
.travis.yml Add Go 1.8 to .travis.yml 6 years ago
Dockerfile Provide an updated Dockerfile where Gogs is build with Go 1.8 (#4151) 6 years ago
Dockerfile.aarch64 adapt Dockerfile.aarch64 (#4210) 6 years ago
Dockerfile.rpi docker: update Dockerfile for Raspberry Pi (#4185) 6 years ago
LICENSE Change LICENSE copyright holder name [CI SKIP] 7 years ago
Makefile 2fa: initial support (#945) 6 years ago user/settings/security: add token description about 2FA 6 years ago user/settings/security: add token description about 2FA 6 years ago
appveyor.yml Update CI settings 6 years ago
gogs.go user/setting: simplify code 6 years 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 (23 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.