Gogs is a painless self-hosted Git service.

Michael Li 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
.github 67cc242820 .github: add refine feature_request and add security templates 2 months ago
.packager de61bb6a35 packager.io: update scripts (#5837) 3 months ago
conf 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
docker b28fb90851 all: use lazyregexp (#5911) 2 weeks ago
internal 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
public 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
scripts 0852e83eec scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. (#5806) 5 months ago
templates 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day 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 e99f43f59c public/js: upgrade jQuery 1.12.4 to 3.4.1 2 weeks ago
.gitignore 41a2632ae7 webhook: minor text change on Discord 3 years ago
.mailmap aa1fc30b89 Add .mailmap 3 years ago
.pkgr.yml 2d55c94c7b pkgr: slow but fix builds on packager.io (#5840) 3 months ago
.travis.yml 613139e7be Enable Go modules (#5835) 3 months ago
Dockerfile 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
Dockerfile.aarch64 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
Dockerfile.aarch64hub 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
Dockerfile.rpi 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
Dockerfile.rpihub 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 3 years ago
Makefile 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
README.md fd14ad6ce9 README: fix phonemic transcription (#5916) 1 week ago
README_ZH.md fd14ad6ce9 README: fix phonemic transcription (#5916) 1 week ago
appveyor.yml a887bed25b appveyor: remove direct from GOPROXY 3 months ago
go.mod 2f4cc5480e api/misc/markdown: remove Mode option (#5910) 2 weeks ago
go.sum 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 day ago
gogs.go 6b9b42bbdf locale: sync from Crowdin 2 months 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ɑgz/) 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