Gogs is a painless self-hosted Git service.
Go Roff CSS JavaScript Shell Makefile Batchfile
Permalink
Failed to load latest commit information.
.github mailer: make text/html as default format Feb 28, 2017
cmd cmd/web: remove dependency version checker Mar 25, 2017
conf repo: allow private repository to have public wiki or issues Mar 24, 2017
docker Update README.md (#4238) Mar 4, 2017
models modes/mirror: corrected NextUpdate not set (#4345) Mar 27, 2017
modules repo: cleanup some code Mar 24, 2017
packager packager: update files (#4181) Feb 23, 2017
public repo: allow private repository to have public wiki or issues Mar 24, 2017
routers user/settings: fix bad error handle of leave organization Mar 25, 2017
scripts scripts: update gogs.service (#4223) Mar 4, 2017
templates models/repo_editor: add pull request test task after commit (#4338) Mar 25, 2017
vendor models: add config options for XORM logger (#3183) Mar 23, 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 milestone: only show issue-related count under issue list (#4316) Mar 24, 2017
.gitattributes public: minor fixes on build tool config Mar 6, 2017
.gitignore webhook: minor text change on Discord Feb 19, 2017
.gopmfile Prepare release Feb 27, 2017
.mailmap Add .mailmap Aug 11, 2016
.pkgr.yml packager: update files (#4181) Feb 23, 2017
.travis.yml Add Go 1.8 to .travis.yml Mar 16, 2017
Dockerfile Provide an updated Dockerfile where Gogs is build with Go 1.8 (#4151) Feb 19, 2017
Dockerfile.aarch64 adapt Dockerfile.aarch64 (#4210) Feb 28, 2017
Dockerfile.rpi docker: update Dockerfile for Raspberry Pi (#4185) Feb 24, 2017
LICENSE Change LICENSE copyright holder name [CI SKIP] Aug 9, 2016
Makefile wiki: fix crash with blob name contains tab (#3916) Feb 16, 2017
README.md README: update alts Mar 22, 2017
README_ZH.md Update README Feb 26, 2017
appveyor.yml Update CI settings Feb 10, 2017
gogs.go models/repo_editor: add pull request test task after commit (#4338) Mar 25, 2017

README.md

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

  1. YOU MUST READ Contributing Code BEFORE STARTING TO WORK ON A PULL REQUEST.
  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, 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.

简体中文

Purpose

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.

Overview

Features

  • 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
  • Gravatar and Federated avatar with custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (experimental)
  • 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.

Installation

Make sure you install the prerequisites first.

There are 5 ways to install Gogs:

Tutorials

Screencasts

Deploy to Cloud

Software and Service Support

Product Support

Acknowledgments

  • 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.

Contributors

License

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