Skip to content
Gogs is a painless self-hosted Git service
Go CSS JavaScript Shell Makefile Dockerfile Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github .github: add refine feature_request and add security templates Nov 26, 2019
.packager packager.io: update scripts (#5837) Oct 24, 2019
conf locale: sync from Crowdin Dec 9, 2019
docker README: use modern style of badges Nov 3, 2019
internal repo: fix stale webhook documentation link (#5883) Dec 9, 2019
public public: makes CodeMirror mode by filename lookups case-insensitive (#… Nov 8, 2019
scripts scripts/init/ddwrt: removed reliance on sudo, daemonize deals with fo… Sep 19, 2019
templates locale: sync from Crowdin Dec 9, 2019
.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: slow but fix builds on packager.io (#5840) Oct 26, 2019
.travis.yml Enable Go modules (#5835) Oct 24, 2019
Dockerfile Dockefile: format and use tagged version Nov 26, 2019
Dockerfile.aarch64 Dockerfile: always use alpine:latest (#5714) Aug 11, 2019
Dockerfile.aarch64hub Dockerfile: always use alpine:latest (#5714) Aug 11, 2019
Dockerfile.rpi Dockerfile: always use alpine:latest (#5714) Aug 11, 2019
Dockerfile.rpihub Dockerfile: always use alpine:latest (#5714) Aug 11, 2019
LICENSE Change LICENSE copyright holder name [CI SKIP] Aug 9, 2016
Makefile Makefile: set -trimpath on build Oct 25, 2019
README.md .github: add refine feature_request and add security templates Nov 26, 2019
README_ZH.md README: add phonetic symbol Nov 25, 2019
appveyor.yml appveyor: remove direct from GOPROXY Oct 25, 2019
go.mod mirror: use Git command to update origin remote address (#5767) (#5865) Nov 17, 2019
go.sum mirror: use Git command to update origin remote address (#5767) (#5865) Nov 17, 2019
gogs.go locale: sync from Crowdin Dec 9, 2019

README.md

Gogs

Build status Build status Discord Sourcegraph

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 master branch.
  4. If you're interested in using APIs, we have experimental support with documentation.

简体中文

Vision

The Gogs (/gɔgs/) 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 (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.

Installation

Make sure you install the prerequisites first.

There are 6 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

You can’t perform that action at this time.