gogs with GLWH support

无闻 8238c28c31 Merge pull request #1045 from tomcatzh/master 8 years ago
cmd b447d18dca cmd/serve.go: remove useless code 8 years ago
conf 96a95e9dfd #988: fix one missing duplicated prefix 8 years ago
docker 7d109573cb openssh-client provide ssh-keygen. GOGS needs that binary to add a ssh key to a user 8 years ago
etc 2dd4ab65c7 update the supervisor script and conf 8 years ago
models 2bfe2ddb6d Add mysql unix socket support. 8 years ago
modules b72e75e522 #1024: OFFLINE_MODE Still Uses Gravatar 8 years ago
packager c418b83678 Make postinstall work for CentOS/RHEL packages as well. 8 years ago
public 3efe3f42e8 js fix R1-L1 highlight 8 years ago
routers 4aafeace23 fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls` 8 years ago
scripts 6c84223f43 scripts: remove meaningless script and modify systemd service 8 years ago
templates 08cd20bad9 Merge branch 'develop' of github.com:gogits/gogs into develop 8 years ago
.bra.toml e3dece1371 modules/setting: simple behave change in startup 8 years ago
.gitignore e5d6f4ce56 Changes to repo-header-download-drop, different repo-clone-url input behaviour 8 years ago
.gopmfile a38e4a0b02 routers/install.go: able to keep previous custom settings for 2nd time install 8 years ago
.pkgr.yml 11ca3dedfb Fix .pkgr.yml 8 years ago
.travis.yml d85366930c update travis.yml 8 years ago
CONTRIBUTING.md a6a99d49cf reword 8 years ago
Dockerfile 406efbf3f5 Adding a project-level Dockerfile & docker-compose script 8 years ago
LICENSE 4e7eb5be9d Work on #5 fork and fix #608 8 years ago
README.md f44204e944 REAMDE: update 8 years ago
README_ZH.md f44204e944 REAMDE: update 8 years ago
docker-compose.yml 406efbf3f5 Adding a project-level Dockerfile & docker-compose script 8 years ago
gogs.go 4aafeace23 fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls` 8 years ago


Gogs - Go Git Service Build Status


Gogs (Go Git Service) is a painless self-hosted Git service written in Go.


Current version: 0.5.16 Beta


  • Due to testing purpose, data of try.gogs.io has been reset in Jan 28, 2015 and will reset multiple times after. Please do NOT put your important data on the site.
  • The demo site try.gogs.io is running under dev branch.
  • You MUST read CONTRIBUTING.md before you start filing an issue or making a Pull Request.
  • If you think there are vulnerabilities in the project, please talk privately to u@gogs.io. Thanks!

Other language version


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


  • Please see the Documentation for project design, known issues, and change log.
  • See the Trello Board to follow the develop team.
  • Want to try it before doing anything else? Do it online or go down to the Installation -> Install from binary section!
  • Having trouble? Get help with Troubleshooting.
  • Want to help with localization? Check out Crowdin!


  • Activity timeline
  • SSH/HTTP(S) protocol support
  • SMTP/LDAP/reverse proxy authentication support
  • Reverse proxy suburl support
  • Register/delete/rename account
  • Create/manage/delete organization with team management
  • Create/fork/migrate/mirror/delete/watch/rename/transfer public/private repository
  • Repository viewer/release/issue tracker
  • Repository and Organization level webhooks
  • Repository Git hooks
  • Add/remove repository collaborators
  • Gravatar and cache support
  • Mail service (register, issue)
  • Administration panel
  • Slack webhook integration
  • Drone CI integration
  • Supports MySQL, PostgreSQL and SQLite3
  • Social account login (GitHub, Google, QQ, Weibo)
  • Multi-language support (10 languages)

System Requirements

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


Make sure you install the prerequisites first.

There are 5 ways to install Gogs:


  • Router and middleware mechanism of Macaron.
  • Mail Service, modules design is inspired by WeTalk.
  • System Monitor Status is inspired by GoBlog.
  • Thanks lavachen and Rocker for designing Logo.
  • Thanks gobuild.io for providing binary compile and download service.
  • Thanks Crowdin for providing open source translation plan.



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