Fork of Gogs self-hosted git service

rokuu c68fc4f31a templates: fixes broken UI under supported resolution (1024x768) #5179 (#5182) %!s(int64=6) %!d(string=hai) anos
.github 3329bfa5b2 .github: adjust ISSUE_TEMPLATE %!s(int64=7) %!d(string=hai) anos
cmd 34bd04f925 MISC: fix typo and grammar %!s(int64=7) %!d(string=hai) anos
conf eac5b48da0 locale: Add myself to TRANSLATORS (#5177) %!s(int64=6) %!d(string=hai) anos
docker 6cbaa4787b MISC: update docker build script %!s(int64=7) %!d(string=hai) anos
models f2ecfdc96a auth: support authentication source config file (#3142) %!s(int64=7) %!d(string=hai) anos
packager 3c0d162961 packager: update files (#4181) %!s(int64=8) %!d(string=hai) anos
pkg 54b9311344 pkg/markup/markdown: Issue mentions should also render with square brackets (#4707) %!s(int64=6) %!d(string=hai) anos
public 0e80e47592 public/{less,css}: fix overflow of brand logo hyperlink (#5189) %!s(int64=6) %!d(string=hai) anos
routes f89d948c06 templates/repo/issue: rework escape delete branch link after merged pull request (#4601) %!s(int64=7) %!d(string=hai) anos
scripts aa53d0978c models: add ROW_FORMAT=DYNAMIC when creating table for supports mysql 5.6 (#4913) %!s(int64=7) %!d(string=hai) anos
templates c68fc4f31a templates: fixes broken UI under supported resolution (1024x768) #5179 (#5182) %!s(int64=6) %!d(string=hai) anos
vendor 0f737f2999 vendor: update gopkg.in/clog.v1 %!s(int64=7) %!d(string=hai) anos
.bra.toml 3a6623104f Makefile: correct errors %!s(int64=7) %!d(string=hai) anos
.codebeatignore aa1fc30b89 Add .mailmap %!s(int64=8) %!d(string=hai) anos
.codebeatsettings 87954dbfeb Adjust .codebeatsettings %!s(int64=8) %!d(string=hai) anos
.dockerignore 30d9e2ee3c docker: use vendor to replace go get %!s(int64=8) %!d(string=hai) anos
.editorconfig 79ba0314e9 milestone: only show issue-related count under issue list (#4316) %!s(int64=8) %!d(string=hai) anos
.gitattributes 1bc805bb4b public: update Semantic UI 2.2.7 -> 2.2.10 %!s(int64=8) %!d(string=hai) anos
.gitignore 41a2632ae7 webhook: minor text change on Discord %!s(int64=8) %!d(string=hai) anos
.mailmap aa1fc30b89 Add .mailmap %!s(int64=8) %!d(string=hai) anos
.pkgr.yml 679147cd5d pkgr: update spec to build on Debian 9 (Stretch) (#5083) %!s(int64=7) %!d(string=hai) anos
.travis.yml a8b9cefa73 ci: add Go 1.10 %!s(int64=7) %!d(string=hai) anos
Dockerfile ce7496aec9 docker: allow setting UID and GID when running a container (#4776) %!s(int64=7) %!d(string=hai) anos
Dockerfile.aarch64 ce7496aec9 docker: allow setting UID and GID when running a container (#4776) %!s(int64=7) %!d(string=hai) anos
Dockerfile.aarch64hub ffdd8b3afa docker: enable Automated builds for aarch64 ( ARM64 ) platforms (#5058) %!s(int64=7) %!d(string=hai) anos
Dockerfile.rpi ce7496aec9 docker: allow setting UID and GID when running a container (#4776) %!s(int64=7) %!d(string=hai) anos
Dockerfile.rpihub ce7496aec9 docker: allow setting UID and GID when running a container (#4776) %!s(int64=7) %!d(string=hai) anos
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] %!s(int64=8) %!d(string=hai) anos
Makefile f2ecfdc96a auth: support authentication source config file (#3142) %!s(int64=7) %!d(string=hai) anos
README.md afbb31c05e MISC: fix Mac OS X → macOS (#5168) %!s(int64=7) %!d(string=hai) anos
README_ZH.md afbb31c05e MISC: fix Mac OS X → macOS (#5168) %!s(int64=7) %!d(string=hai) anos
appveyor.yml 9c3c9a8eb9 Update CI settings %!s(int64=8) %!d(string=hai) anos
gogs.go 5c2de3a9ea pkg/template: fix Gravatar URLs are badly generated (#5157) %!s(int64=6) %!d(string=hai) anos

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 [email protected], 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.

简体中文

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. 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 (29 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 5 ways to install Gogs:

Tutorials

Screencasts

Deploy to Cloud

Software and Service Support

Product Support

Acknowledgments

  • Thanks Egon Elbre for designing logo.
  • Thanks Crowdin for sponsoring open source translation plan.
  • Thanks DigitalOcean for sponsoring VPS service.
  • Thanks KeyCDN for sponsoring CDN service.

Contributors

License

This project is under the MIT License. See the LICENSE file for the full license text.