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

ᴜɴᴋɴᴡᴏɴ 2e819a360c build: rename build tag miniwinsvc -> minwinsvc 18 hours 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 1c09373b4f log: migrate to unknwon.dev/clog/v2 (#5927) 1 day ago
docker b28fb90851 all: use lazyregexp (#5911) 3 weeks ago
docs 7b5b070900 docs: add steps to install npm and lessc 1 day ago
internal 2e819a360c build: rename build tag miniwinsvc -> minwinsvc 18 hours ago
public ea75f01ba2 admin: show all version in dashboard 1 day ago
scripts 0852e83eec scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. (#5806) 5 months ago
templates ea75f01ba2 admin: show all version in dashboard 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 bcc1ec65f9 .travis: fix config warning 1 day ago
CHANGELOG.md 2e819a360c build: rename build tag miniwinsvc -> minwinsvc 18 hours ago
Dockerfile bbffd1b5b6 docker: fix Docker Hub build failure 2 days ago
Dockerfile.aarch64 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 3 days ago
Dockerfile.aarch64hub 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 3 days ago
Dockerfile.rpi 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 3 days ago
Dockerfile.rpihub 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 3 days ago
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 3 years ago
Makefile 3a2b2de814 Makefile: generate Sourcemap for less files 1 day ago
README.md 8d73608672 docs: improve set up guide 2 days ago
README_ZH.md 9f7433d4f3 docs: add local development 2 days ago
appveyor.yml 2e819a360c build: rename build tag miniwinsvc -> minwinsvc 18 hours ago
go.mod 1c09373b4f log: migrate to unknwon.dev/clog/v2 (#5927) 1 day ago
go.sum 1c09373b4f log: migrate to unknwon.dev/clog/v2 (#5927) 1 day ago
gogs.go 1c09373b4f log: migrate to unknwon.dev/clog/v2 (#5927) 1 day ago

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