Skip to content
Gogs is a painless self-hosted Git service
Go CSS JavaScript Shell Makefile Dockerfile Other
Branch: master
Clone or download
Latest commit 8d73608 Feb 19, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github .github: add refine feature_request and add security templates Nov 26, 2019
.packager packager.io: update scripts (#5837) Oct 24, 2019
conf docs: improve set up guide Feb 18, 2020
docker all: use lazyregexp (#5911) Jan 29, 2020
docs docs: improve set up guide Feb 18, 2020
internal docs: improve set up guide Feb 18, 2020
public Use go-bindata to embed `public` and `templates` files into binary (#… Feb 17, 2020
scripts scripts/init/ddwrt: removed reliance on sudo, daemonize deals with fo… Sep 19, 2019
templates Add CHANGELOG and adopt new release workflow Feb 18, 2020
.bra.toml Makefile: correct errors Jul 14, 2017
.codebeatignore Add .mailmap Aug 11, 2016
.codebeatsettings Adjust .codebeatsettings Aug 9, 2016
.dockerignore docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build… Aug 13, 2018
.editorconfig milestone: only show issue-related count under issue list (#4316) Mar 24, 2017
.gitattributes public/js: upgrade jQuery 1.12.4 to 3.4.1 Jan 31, 2020
.gitignore webhook: minor text change on Discord Feb 19, 2017
.mailmap Add .mailmap Aug 11, 2016
.pkgr.yml pkgr: slow but fix builds on packager.io (#5840) Oct 26, 2019
.travis.yml Enable Go modules (#5835) Oct 24, 2019
CHANGELOG.md mailer: fix template not found error Feb 18, 2020
Dockerfile docker: fix Docker Hub build failure Feb 18, 2020
Dockerfile.aarch64 Use go-bindata to embed `public` and `templates` files into binary (#… Feb 17, 2020
Dockerfile.aarch64hub Use go-bindata to embed `public` and `templates` files into binary (#… Feb 17, 2020
Dockerfile.rpi Use go-bindata to embed `public` and `templates` files into binary (#… Feb 17, 2020
Dockerfile.rpihub Use go-bindata to embed `public` and `templates` files into binary (#… Feb 17, 2020
LICENSE Change LICENSE copyright holder name [CI SKIP] Aug 9, 2016
Makefile docker: fix Docker Hub build failure Feb 18, 2020
README.md docs: improve set up guide Feb 18, 2020
README_ZH.md docs: add local development Feb 18, 2020
appveyor.yml appveyor: remove direct from GOPROXY Oct 25, 2019
go.mod go.mod: update github.com/go-macaron/i18n to v0.5.0 Feb 18, 2020
go.sum README: update Features list Feb 18, 2020
gogs.go Add CHANGELOG and adopt new release workflow Feb 18, 2020

README.md

Gogs

Build status Build status Discord Sourcegraph

Web UI Preview
Dashboard Repository Editor
Profile Diff Repository Settings
Webhook Organization Admin Dashboard

⚠️ Important notes ⚠️

  • The demo site try.gogs.io is running master branch. Please do NOT put your important data on the site.
  • 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

  • User dashboard, user profile and activity timeline.
  • Access repositories via SSH, HTTP and HTTPS protocols.
  • User, organization and repository management.
  • Repository and organization webhooks, including Slack, Discord and Dingtalk.
  • Repository Git hooks and deploy keys.
  • Repository issues, pull requests, wiki, protected branches and collaboration.
  • Migrate and mirror repositories with wiki from other code hosts.
  • Web editor for quick editing repository files and wiki.
  • Jupyter Notebook and PDF rendering.
  • Authentication via SMTP, LDAP, reverse proxy, GitHub.com and GitHub Enterprise with 2FA.
  • Customize HTML templates, static files and many others.
  • Rich database backend, including PostgreSQL, MySQL, SQLite3, MSSQL and TiDB.
  • Have localization over 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:

Deploy to cloud

Tutorials

Software, service and product support

Acknowledgments

Contributors

License

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

FOSSA Status

You can’t perform that action at this time.