Gogs (Go Git Service) is a painless self-hosted Git service. https://gogs.io

unknwon f1a4b8683b go fmt 5 年 前
.github fe9a5d3159 .github: adjust issue templates 6 年 前
cmd e2629d7ea6 routes/api/srcgraph: initial support for General Protocol 5 年 前
conf 25fdf6cb16 locale: sync from Crowdin 5 年 前
docker 044a45db2e docker: prevent Gogs from running a recursive chown on each boot (#5724) 5 年 前
models 798636c95b Include the Sha in webhook create payloads. (#5689) 5 年 前
packager 3c0d162961 packager: update files (#4181) 7 年 前
pkg 08a53e5eca pkg/context/notice: use path.Join to concatenate path 5 年 前
public 9ff2df78f0 public/css: make less (#5317) 6 年 前
routes f1a4b8683b go fmt 5 年 前
scripts 3c227af508 scripts: add NoNewPrivileges=true to systemd unit file (#5381) 6 年 前
templates 35e2cee5c5 pkg/template: use template function Year to get number of year 5 年 前
vendor e6bddd3ed2 packager.io: fix and update build files (#5760) 5 年 前
.bra.toml 3a6623104f Makefile: correct errors 7 年 前
.codebeatignore aa1fc30b89 Add .mailmap 8 年 前
.codebeatsettings 87954dbfeb Adjust .codebeatsettings 8 年 前
.dockerignore cc95d251d6 docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 6 年 前
.editorconfig 79ba0314e9 milestone: only show issue-related count under issue list (#4316) 7 年 前
.gitattributes f439df4441 locale: sync from Crowdin 6 年 前
.gitignore 41a2632ae7 webhook: minor text change on Discord 7 年 前
.mailmap aa1fc30b89 Add .mailmap 8 年 前
.pkgr.yml e6bddd3ed2 packager.io: fix and update build files (#5760) 5 年 前
.travis.yml 6b2465746a ci: add Go 1.12.x 5 年 前
Dockerfile cc95d251d6 docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 6 年 前
Dockerfile.aarch64 ce7496aec9 docker: allow setting UID and GID when running a container (#4776) 7 年 前
Dockerfile.aarch64hub 3d117b8964 Dockerfile.aarch64hub: install shadow package (#5481) 6 年 前
Dockerfile.rpi ce7496aec9 docker: allow setting UID and GID when running a container (#4776) 7 年 前
Dockerfile.rpihub ce7496aec9 docker: allow setting UID and GID when running a container (#4776) 7 年 前
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 8 年 前
Makefile 091f63fd4e Makefile: only read GOPATH from env var 6 年 前
README.md e640683c97 README: add new VPS sponsor 5 年 前
README_ZH.md e640683c97 README: add new VPS sponsor 5 年 前
appveyor.yml be6bb5314e ci: update appveyor.yml 6 年 前
gogs.go d775fe7936 pkg/context: change banner file path (#5750) 5 年 前

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