Gogs is a painless self-hosted Git service.

Unknwon 5bec61b824 go.mod: update github.com/go-macaron/binding@v1.0.1 3 days ago
.github 1ba27853bd Remove use of develop branch 3 weeks ago
.packager de61bb6a35 packager.io: update scripts (#5837) 3 weeks ago
conf 0f81490830 locale: sync from Crowdin 2 weeks ago
docker 8c75b65475 README: use modern style of badges 2 weeks ago
internal 53d30ccde9 templates: fix line wrap for very long commit message 1 week ago
public 7a0fbd0eb1 public: makes CodeMirror mode by filename lookups case-insensitive (#5857) 1 week ago
scripts 0852e83eec scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. (#5806) 1 month ago
templates 53d30ccde9 templates: fix line wrap for very long commit message 1 week 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) 3 weeks ago
.travis.yml 613139e7be Enable Go modules (#5835) 3 weeks ago
Dockerfile 04de977855 dockerfile: add rsync (#5773) 3 months ago
Dockerfile.aarch64 48cdae2829 Dockerfile: always use alpine:latest (#5714) 3 months ago
Dockerfile.aarch64hub 48cdae2829 Dockerfile: always use alpine:latest (#5714) 3 months ago
Dockerfile.rpi 48cdae2829 Dockerfile: always use alpine:latest (#5714) 3 months ago
Dockerfile.rpihub 48cdae2829 Dockerfile: always use alpine:latest (#5714) 3 months ago
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 3 years ago
Makefile c9e712d07b Makefile: set -trimpath on build 3 weeks ago
README.md 97772f406d README: remove unstable badge 2 weeks ago
README_ZH.md 8c75b65475 README: use modern style of badges 2 weeks ago
appveyor.yml a887bed25b appveyor: remove direct from GOPROXY 3 weeks ago
go.mod 5bec61b824 go.mod: update github.com/go-macaron/binding@v1.0.1 3 days ago
go.sum 5bec61b824 go.mod: update github.com/go-macaron/binding@v1.0.1 3 days ago
gogs.go 53d30ccde9 templates: fix line wrap for very long commit message 1 week 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 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 (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