https://github.com/gogs/gogs
The painless way to host your own Git service
https://github.com/gogs/gogs
docker git go gogs mysql postgresql raspberry-pi self-hosted source-code-management sqlite3 version-control
Last synced: about 1 month ago
JSON representation
The painless way to host your own Git service
- Host: GitHub
- URL: https://github.com/gogs/gogs
- Owner: gogs
- License: mit
- Created: 2014-02-12T01:57:08.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2026-09-12T20:28:48.000Z (2 months ago)
- Last Synced: 2026-10-15T00:52:47.841Z (about 1 month ago)
- Topics: docker, git, go, gogs, mysql, postgresql, raspberry-pi, self-hosted, source-code-management, sqlite3, version-control
- Language: Go
- Homepage: https://gogs.io
- Size: 202 MB
- Stars: 47,865
- Watchers: 1,017
- Forks: 5,077
- Open Issues: 1,011
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Agents: AGENTS.md
- Claude: CLAUDE.md
Awesome Lists containing this project
- awesome-platforms - Gogs - a simple, stable and extensible self-hosted Git service
- awesome-list - gogs - hosted Git service | gogs | 37504 | (Go)
- awesomeLibrary - gogs - Gogs is a painless self-hosted Git service. (语言资源库 / go)
- Awesome-List - 'Gogs' Selfhosted Git
- Awesome - Gogs - Gogs is a painless self-hosted Git service. (Communication and Collaboration Tools / Version Control, Wiki, Knowledge base)
- starred-awesome - gogs - Gogs is a painless self-hosted Git service. (Go)
- awesome - gogs/gogs - The painless way to host your own Git service (Go)
- awesome-robotic-tooling - Gogs - Build a simple, stable and extensible self-hosted Git service that can be setup in the most painless way. (Communication and Coordination)
- go-awesome - gogs - Git server similar to GitLab (Open source library / Git)
- awesome-x - gogs - hosted Git service (Go)
- awesome-robotic-tooling - Gogs - Aims to build a simple, stable and extensible self-hosted Git service that can be setup in the most painless way (Coordination and Communication)
- my-awesome - gogs/gogs - pi,self-hosted,source-code-management,sqlite3,version-control pushed_at:2026-09 star:47.9k fork:5.1k The painless way to host your own Git service (Go)
- awesome-x - gogs - hosted Git service (Go)
- awesome-open-source-systems - Gogs - 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. (Version Control / Uptime Monitoring)
- awesome-nas - gogs - Gogs is a painless self-hosted Git service; extremely lightweight. (Media automation (*arr stack))
- stars - gogs/gogs - Gogs is a painless self-hosted Git service (Go)
- awesome - gogs/gogs - The painless way to host your own Git service (Go)
- awesome-starred - gogs/gogs - Gogs is a painless self-hosted Git service (go)
- go-awesome - gogs - 类似于 GitLab 的 Git 服务器 (开源类库 / Git)
- awesome-open-source-alternatives - Gogs
- awesome-go - gogs/gogs - The painless way to host your own Git service (User Interface / Applications and End User Tools)
- awesome-selfhost-docker - Gogs - Painless self-hosted Git service (Development)
- awesome-ops - gogs/gogs - 一个最简单、最快速和最轻松的方式搭建自助 Git 服务,基于 Golang 开发,支持多平台。 (Git-Server)
- awesome-golang-repositories - gogs - hosted Git service (Repositories)
- awesome-go-extra - gogs - Gogs is a painless self-hosted Git service (Go Tools / DevOps Tools)
- awesome-foss-alternatives - Gogs - ★47944 - Gogs is a painless self-hosted Git service. \[Go, MIT License\]. (Software development / Code hosting & collaboration (Github alternatives))
- awesome-systools - gogs - Gogs is a painless self-hosted Git service. (Tools / WebTools)
- awesome-open-source-alternatives - Gogs - Painless self-hosted Git service in Go (Developer Tools)
- github-ultimate-repos - gogs/gogs - | ⭐ 47,904★ | 🍴 5,074 | 💻 `Go`🔗 <https://github.com/gogs/gogs>📝 The painless way to host your own Git service⚙️ `Client connection pooling -> SQL parsing & cost-based query optimization -> WAL ahead logging -> MVCC concurrent execution -> in-memory buffer pool / LSM-tree flush.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [37] DATABASE ENGINES, DISTRIBUTED SQL, NOSQL, VECTOR DBS & PERSISTENT CACHES)
- awesome-linux-software - ![Open-Source Software][oss icon] - [Gogs](https://gogs.io/) - A painless self-hosted Git service. (Applications / Development)
- awesome-hacking-lists - gogs/gogs - Gogs is a painless self-hosted Git service (Go)
- awesome-nas - Gogs -  (Development)
README
## 🔮 Vision
The Gogs (`/gɑgz/`) project aims to build a simple, stable and extensible self-hosted Git service that can be set up 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-based systems.
## 📡 Overview
- Please visit [our home page](https://gogs.io) for user documentation.
- Please refer to [CHANGELOG.md](CHANGELOG.md) for list of changes in each releases.
- Want to try it before doing anything else? Do it [online](https://try.gogs.io/gogs/gogs)!
- Having trouble? Help yourself with [troubleshooting](https://gogs.io/asking/troubleshooting) or ask questions in [Discussions](https://github.com/gogs/gogs/discussions).
- Want to help with localization? Check out the [localization documentation](https://gogs.io/advancing/localization).
- Ready to get hands dirty? Read our [contributing guide](.github/CONTRIBUTING.md).
- Hmm... What about APIs? We have experimental support with [documentation](https://gogs.io/api-reference).
## 💌 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, deploy keys and Git LFS.
- 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 support, including PostgreSQL, MySQL, MariaDB, SQLite3 or any database backend that speaks one of those protocols.
- Have localization over [31 languages](https://crowdin.com/project/gogs).
## 💾 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](https://www.docker.com/blog/containers-as-a-service-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](https://github.com/Semantic-Org/Semantic-UI#browser-support) 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
Please follow [the guide in our documentation](https://gogs.io/getting-started/installation).
### Deploy to cloud
- [Cloudron](https://www.cloudron.io/store/gogs.html)
- [YunoHost](https://github.com/YunoHost-Apps/gogs_ynh)
- [alwaysdata](https://www.alwaysdata.com/en/marketplace/gogs/)
### Tutorials
- [Private Git Web Portal in Raspberry PI With Gogs](https://peppe8o.com/private-git-web-portal-in-raspberry-pi-with-gogs/)
- [How To Set Up Gogs on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-gogs-on-ubuntu-14-04)
- [Run your own GitHub-like service with the help of Docker](https://blog.hypriot.com/post/run-your-own-github-like-service-with-docker/)
- [Dockerized Gogs git server and alpine postgres in 20 minutes or less](https://garthwaite.org/docker-gogs.html)
- [Host Your Own Private GitHub with Gogs](https://eladnava.com/host-your-own-private-github-with-gogs-io/)
- [使用 Gogs 搭建自己的 Git 服务器](https://blog.mynook.info/post/host-your-own-git-server-using-gogs/) (Chinese)
- [阿里云上 Ubuntu 14.04 64 位安装 Gogs](https://my.oschina.net/luyao/blog/375654) (Chinese)
- [Installing Gogs on FreeBSD](https://www.codejam.info/2015/03/installing-gogs-on-freebsd.html)
- [How to install Gogs on a Linux Server (DigitalOcean)](https://www.youtube.com/watch?v=deSfX0gqefE)
## 📦 Software, service and product support
- [Jenkins](https://plugins.jenkins.io/gogs-webhook/) (CI)
- [Puppet](https://forge.puppet.com/modules/Siteminds/gogs) (IT)
- [Synology](https://www.synology.com) (Docker)
- [Syncloud](https://syncloud.org/) (App Store)
## 🙇♂️ Acknowledgments
This project is proudly supported by:
Other acknowledgments:
- Thanks [Egon Elbre](https://twitter.com/egonelbre) for designing the original version of the logo.
- Thanks [Mintlify](https://mintlify.com) for sponsoring open source documentation plan.
- Thanks [Crowdin](https://crowdin.com) for sponsoring open source translation plan.
- Thanks [Buildkite](https://buildkite.com) for sponsoring open source CI/CD plan.
## 👋 Contributors
- See [contributors page](https://github.com/gogs/gogs/graphs/contributors) for top 100 contributors.
- See [TRANSLATORS](conf/locale/TRANSLATORS) for public list of translators.
## ⚖️ License
This project is under the MIT License. See the [LICENSE](https://github.com/gogs/gogs/blob/main/LICENSE) file for the full license text.