Gogs is a painless self-hosted Git service.

ᴜɴᴋɴᴡᴏɴ a603c0f1fc dep: bump github.com/gogs/git-module from 1.1.0 to 1.1.1 (#6051) 21 hours ago
.github 933206f1fe gitutil: refactor the way to mock (#6032) 3 days ago
.packager 0b86aa5d29 pkgr: update heroku-buildpack to latest (#5957) 1 month ago
conf dce70fe6d1 locale: sync from Crowdin (#6046) 2 days ago
docker 5843038a08 workflows: enable golangci-lint (#5998) 1 week ago
docs 328c23c5d4 public: make lessc compile minimize CSS (#5987) 2 weeks ago
internal 72111e698e template: better diff handling of rename and deleted files (#6048) 1 day ago
public af0cfe112b web: rename CSRF header (#6027) 4 days ago
scripts 0852e83eec scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. (#5806) 6 months ago
templates 72111e698e template: better diff handling of rename and deleted files (#6048) 1 day ago
.dockerignore 434f1ec542 all: clean up dot files (#5983) 3 weeks ago
.editorconfig 434f1ec542 all: clean up dot files (#5983) 3 weeks ago
.gitattributes e99f43f59c public/js: upgrade jQuery 1.12.4 to 3.4.1 2 months ago
.gitignore 434f1ec542 all: clean up dot files (#5983) 3 weeks ago
.mailmap aa1fc30b89 Add .mailmap 3 years ago
.pkgr.yml 0b86aa5d29 pkgr: update heroku-buildpack to latest (#5957) 1 month ago
CHANGELOG.md fd7931cd2b Update CHANGELOG (#6049) 1 day ago
Dockerfile bbffd1b5b6 docker: fix Docker Hub build failure 1 month ago
Dockerfile.aarch64 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 month ago
Dockerfile.aarch64hub 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 month ago
Dockerfile.rpi 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 month ago
Dockerfile.rpihub 4d83fd4238 Use go-bindata to embed `public` and `templates` files into binary (#5920) 1 month ago
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 3 years ago
Makefile 82ff0c5852 email: check the owner when set as primary (#5988) 2 weeks ago
README.md 71edd615ce README: remove unused badge (#6024) 5 days ago
README_ZH.md 2064fc89c0 README: stop advertising using MSSQL (#5973) 3 weeks ago
codecov.yml 9356231e64 codecov: formalize coverage settings (#6031) 3 days ago
go.mod a603c0f1fc dep: bump github.com/gogs/git-module from 1.1.0 to 1.1.1 (#6051) 21 hours ago
go.sum a603c0f1fc dep: bump github.com/gogs/git-module from 1.1.0 to 1.1.1 (#6051) 21 hours ago
gogs.go 1898201b8b build: requires Go 1.13 1 month ago

README.md

Gogs - A painless self-hosted Git service

GitHub Workflow Status Discord Sourcegraph

Repository

简体中文

🔮 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 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.