Gogs is a painless self-hosted Git service
 
 
 
 
Go to file
Kevin Gentile 1b929e3afc repo: fix stale webhook documentation link (#5883) 2019-12-09 14:20:04 -08:00
.github .github: add refine feature_request and add security templates 2019-11-25 23:26:04 -08:00
.packager packager.io: update scripts (#5837) 2019-10-24 02:01:43 -07:00
conf locale: sync from Crowdin 2019-12-09 00:25:34 -05:00
docker README: use modern style of badges 2019-11-02 20:26:09 -07:00
internal repo: fix stale webhook documentation link (#5883) 2019-12-09 14:20:04 -08:00
public public: makes CodeMirror mode by filename lookups case-insensitive (#5857) 2019-11-08 15:23:08 -08:00
scripts scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. (#5806) 2019-09-19 15:50:57 -07:00
templates locale: sync from Crowdin 2019-12-09 00:25:34 -05:00
.bra.toml Makefile: correct errors 2017-07-14 16:48:55 -04:00
.codebeatignore Add .mailmap 2016-08-11 16:57:48 -07:00
.codebeatsettings Adjust .codebeatsettings 2016-08-08 23:26:10 -07:00
.dockerignore docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 2018-08-13 20:50:25 +08:00
.editorconfig milestone: only show issue-related count under issue list (#4316) 2017-03-24 14:00:01 -04:00
.gitattributes locale: sync from Crowdin 2018-04-25 13:50:48 -04:00
.gitignore webhook: minor text change on Discord 2017-02-19 16:07:28 -05:00
.mailmap Add .mailmap 2016-08-11 16:57:48 -07:00
.pkgr.yml pkgr: slow but fix builds on packager.io (#5840) 2019-10-25 21:58:40 -07:00
.travis.yml Enable Go modules (#5835) 2019-10-23 23:03:17 -07:00
Dockerfile Dockefile: format and use tagged version 2019-11-25 22:49:25 -08:00
Dockerfile.aarch64 Dockerfile: always use alpine:latest (#5714) 2019-08-10 20:23:18 -07:00
Dockerfile.aarch64hub Dockerfile: always use alpine:latest (#5714) 2019-08-10 20:23:18 -07:00
Dockerfile.rpi Dockerfile: always use alpine:latest (#5714) 2019-08-10 20:23:18 -07:00
Dockerfile.rpihub Dockerfile: always use alpine:latest (#5714) 2019-08-10 20:23:18 -07:00
LICENSE Change LICENSE copyright holder name [CI SKIP] 2016-08-09 13:05:15 -07:00
Makefile Makefile: set -trimpath on build 2019-10-25 13:16:34 -07:00
README.md .github: add refine feature_request and add security templates 2019-11-25 23:26:04 -08:00
README_ZH.md README: add phonetic symbol 2019-11-25 15:27:20 -08:00
appveyor.yml appveyor: remove direct from GOPROXY 2019-10-24 22:53:40 -07:00
go.mod mirror: use Git command to update origin remote address (#5767) (#5865) 2019-11-16 21:26:06 -08:00
go.sum mirror: use Git command to update origin remote address (#5767) (#5865) 2019-11-16 21:26:06 -08:00
gogs.go locale: sync from Crowdin 2019-12-09 00:25:34 -05:00

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