Gogs is a painless self-hosted Git service.

Yoan Blanc 76b87b1bbd repo: use editorconfig v2 (#5888) 3 weeks ago
.github 67cc242820 .github: add refine feature_request and add security templates 1 month ago
.packager de61bb6a35 packager.io: update scripts (#5837) 2 months ago
conf 6b9b42bbdf locale: sync from Crowdin 1 month ago
docker 8c75b65475 README: use modern style of badges 2 months ago
internal 76b87b1bbd repo: use editorconfig v2 (#5888) 3 weeks ago
public 7a0fbd0eb1 public: makes CodeMirror mode by filename lookups case-insensitive (#5857) 2 months ago
scripts 0852e83eec scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. (#5806) 4 months ago
templates 6b9b42bbdf locale: sync from Crowdin 1 month ago
.bra.toml 3a6623104f Makefile: correct errors 2 years ago
.codebeatignore aa1fc30b89 Add .mailmap 3 years ago
.codebeatsettings 87954dbfeb Adjust .codebeatsettings 3 years ago
.dockerignore cc95d251d6 docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 1 year ago
.editorconfig 79ba0314e9 milestone: only show issue-related count under issue list (#4316) 2 years ago
.gitattributes f439df4441 locale: sync from Crowdin 1 year ago
.gitignore 41a2632ae7 webhook: minor text change on Discord 2 years ago
.mailmap aa1fc30b89 Add .mailmap 3 years ago
.pkgr.yml 2d55c94c7b pkgr: slow but fix builds on packager.io (#5840) 2 months ago
.travis.yml 613139e7be Enable Go modules (#5835) 2 months ago
Dockerfile 2b5639d503 Dockefile: format and use tagged version 1 month ago
Dockerfile.aarch64 48cdae2829 Dockerfile: always use alpine:latest (#5714) 5 months ago
Dockerfile.aarch64hub 48cdae2829 Dockerfile: always use alpine:latest (#5714) 5 months ago
Dockerfile.rpi 48cdae2829 Dockerfile: always use alpine:latest (#5714) 5 months ago
Dockerfile.rpihub 48cdae2829 Dockerfile: always use alpine:latest (#5714) 5 months ago
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 3 years ago
Makefile c9e712d07b Makefile: set -trimpath on build 2 months ago
README.md 67cc242820 .github: add refine feature_request and add security templates 1 month ago
README_ZH.md db4bf20df3 README: add phonetic symbol 1 month ago
appveyor.yml a887bed25b appveyor: remove direct from GOPROXY 2 months ago
go.mod 76b87b1bbd repo: use editorconfig v2 (#5888) 3 weeks ago
go.sum 76b87b1bbd repo: use editorconfig v2 (#5888) 3 weeks ago
gogs.go 6b9b42bbdf locale: sync from Crowdin 1 month ago

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