Gogs is a painless self-hosted Git service.
Latest commit f43d21d Dec 12, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github vendor: update github.com/gogs/go-gogs-client Dec 3, 2018
cmd templates: make state changing routes to POST method (#5541) Dec 7, 2018
conf locale: sync from Crowdin Dec 12, 2018
docker docker: grammar fix (#5492) Nov 5, 2018
models models: remove legacy support Dec 12, 2018
packager packager: update files (#4181) Feb 23, 2017
pkg locale: sync from Crowdin Dec 12, 2018
public templates: make state changing routes to POST method (#5541) Dec 7, 2018
routes templates: make state changing routes to POST method (#5541) Dec 7, 2018
scripts scripts: add NoNewPrivileges=true to systemd unit file (#5381) Aug 16, 2018
templates models: remove legacy support Dec 12, 2018
vendor vendor: update github.com/go-macaron/session Dec 5, 2018
.bra.toml Makefile: correct errors Jul 14, 2017
.codebeatignore Add .mailmap Aug 11, 2016
.codebeatsettings Adjust .codebeatsettings Aug 9, 2016
.dockerignore docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build… Aug 13, 2018
.editorconfig milestone: only show issue-related count under issue list (#4316) Mar 24, 2017
.gitattributes locale: sync from Crowdin Apr 25, 2018
.gitignore webhook: minor text change on Discord Feb 19, 2017
.mailmap Add .mailmap Aug 11, 2016
.pkgr.yml pkgr: update spec to build on Debian 9 (Stretch) (#5083) Mar 8, 2018
.travis.yml ci: remove Go master for the moment Nov 8, 2018
Dockerfile docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build… Aug 13, 2018
Dockerfile.aarch64 docker: allow setting UID and GID when running a container (#4776) Oct 13, 2017
Dockerfile.aarch64hub Dockerfile.aarch64hub: install shadow package (#5481) Nov 5, 2018
Dockerfile.rpi docker: allow setting UID and GID when running a container (#4776) Oct 13, 2017
Dockerfile.rpihub docker: allow setting UID and GID when running a container (#4776) Oct 13, 2017
LICENSE Change LICENSE copyright holder name [CI SKIP] Aug 9, 2016
Makefile Makefile: only read GOPATH from env var Sep 18, 2018
README.md README: add new sponsor Nov 27, 2018
README_ZH.md README: add new sponsor Nov 27, 2018
appveyor.yml ci: update appveyor.yml Dec 4, 2018
gogs.go models: remove legacy support Dec 12, 2018

README.md

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

  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.

简体中文

Vision

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.

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
  • 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 (29 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

Contributors

License

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

FOSSA Status