2020-02-22 19:16:33 +08:00
# <img src="https://github.com/gogs/gogs/raw/master/public/img/favicon.png" width="45" align="left">Gogs - A painless self-hosted Git service
2019-11-02 20:25:59 -07:00
2020-03-27 22:12:26 +08:00
[](https://github.com/gogs/gogs/actions?query=workflow%3AGo) [](https://discord.gg/9aqdHU7) [](https://sourcegraph.com/github.com/gogs/gogs)
2014-03-26 12:31:01 -04:00
2020-02-22 13:07:17 +08:00

2015-08-16 01:41:11 +08:00
2015-11-07 20:20:51 -05:00
[简体中文 ](README_ZH.md )
2014-03-22 20:25:39 -04:00
2020-02-23 11:53:12 +08:00
## 🔮 Vision
2014-02-12 12:49:46 -05:00
2020-02-07 15:22:01 +08:00
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.
2014-02-12 12:49:46 -05:00
2020-02-23 11:53:12 +08:00
## 📡 Overview
2014-02-14 18:16:54 -05:00
2020-02-18 19:48:46 +08:00
- 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.
2015-12-06 15:34:17 -05:00
- Want to try it before doing anything else? Do it [online ](https://try.gogs.io/gogs/gogs )!
2020-02-18 19:48:46 +08:00
- Having trouble? Help yourself with [troubleshooting ](https://gogs.io/docs/intro/troubleshooting.html ) or ask questions on [user forum ](https://discuss.gogs.io/ ).
- Want to help with localization? Check out the [localization documentation ](https://gogs.io/docs/features/i18n.html ).
2020-04-15 12:06:45 +08:00
- Ready to get hands dirty? Read our guide to [set up your development environment ](docs/dev/local_development.md ).
2020-02-23 11:53:12 +08:00
- Hmm... What about APIs? We have experimental support with [documentation ](https://github.com/gogs/docs-api ).
2014-02-14 18:16:54 -05:00
2020-02-23 11:53:12 +08:00
## 💌 Features
2014-03-11 19:25:50 -04:00
2020-02-18 19:24:39 +08:00
- 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.
2020-05-10 20:37:22 +08:00
- Repository Git hooks, deploy keys and Git LFS.
2020-02-18 19:24:39 +08:00
- 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.
2020-03-06 17:56:39 +08:00
- Rich database backend, including PostgreSQL, MySQL, SQLite3 and [TiDB ](https://github.com/pingcap/tidb ).
2020-02-18 19:24:39 +08:00
- Have localization over [30 languages ](https://crowdin.com/project/gogs ).
2014-03-11 19:25:50 -04:00
2020-02-23 11:53:12 +08:00
## 💾 Hardware requirements
2014-04-26 01:22:22 -06:00
2017-02-19 14:42:06 -05:00
- A Raspberry Pi or $5 Digital Ocean Droplet is more than enough to get you started. Some even use 64MB RAM Docker [CaaS ](https://blog.docker.com/2016/02/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.
2014-04-26 01:22:22 -06:00
2020-02-23 11:53:12 +08:00
## 💻 Browser support
2015-07-07 13:51:28 +08:00
2015-08-29 16:07:02 +08:00
- Please see [Semantic UI ](https://github.com/Semantic-Org/Semantic-UI#browser-support ) for specific versions of supported browsers.
2017-01-24 00:30:29 +01:00
- The smallest resolution officially supported is **1024*768 ** , however the UI may still look right in smaller resolutions, but no promises or fixes.
2015-07-24 04:50:05 +08:00
2020-02-23 11:53:12 +08:00
## 📜 Installation
2014-02-14 18:16:54 -05:00
2016-08-06 02:35:40 +02:00
Make sure you install the [prerequisites ](https://gogs.io/docs/installation ) first.
2014-03-12 00:19:45 -04:00
2019-02-26 06:56:07 +08:00
There are 6 ways to install Gogs:
2014-02-14 18:16:54 -05:00
2016-08-06 02:35:40 +02:00
- [Install from binary ](https://gogs.io/docs/installation/install_from_binary.html )
- [Install from source ](https://gogs.io/docs/installation/install_from_source.html )
- [Install from packages ](https://gogs.io/docs/installation/install_from_packages.html )
2018-05-27 09:07:15 +08:00
- [Ship with Docker ](https://github.com/gogs/gogs/tree/master/docker )
2014-05-02 19:23:06 -04:00
- [Install with Vagrant ](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs )
2019-02-26 06:56:07 +08:00
- [Install with Kubernetes Using Helm Charts ](https://github.com/helm/charts/tree/master/incubator/gogs )
2014-02-14 18:16:54 -05:00
2020-02-18 19:48:46 +08:00
### Deploy to cloud
- [Cloudron ](https://cloudron.io/appstore.html#io.gogs.cloudronapp )
- [Scaleway ](https://www.scaleway.com/imagehub/gogs/ )
- [Sandstorm ](https://github.com/cem/gogs-sandstorm )
- [sloppy.io ](https://github.com/sloppyio/quickstarters/tree/master/gogs )
- [YunoHost ](https://github.com/YunoHost-Apps/gogs_ynh )
- [DPlatform ](https://github.com/j8r/DPlatform )
- [LunaNode ](https://github.com/LunaNode/launchgogs )
2015-08-08 01:12:14 +08:00
### Tutorials
- [How To Set Up Gogs on Ubuntu 14.04 ](https://www.digitalocean.com/community/tutorials/how-to-set-up-gogs-on-ubuntu-14-04 )
2015-08-08 01:17:44 +08:00
- [Run your own GitHub-like service with the help of Docker ](http://blog.hypriot.com/post/run-your-own-github-like-service-with-docker/ )
2016-07-23 21:23:30 +08:00
- [Dockerized Gogs git server and alpine postgres in 20 minutes or less ](http://garthwaite.org/docker-gogs.html )
2017-02-18 13:53:58 -05:00
- [Host Your Own Private GitHub with Gogs ](https://eladnava.com/host-your-own-private-github-with-gogs-io/ )
2019-03-01 08:54:07 +08:00
- [使用 Gogs 搭建自己的 Git 服务器 ](https://blog.mynook.info/post/host-your-own-git-server-using-gogs/ ) (Chinese)
2015-08-08 01:17:44 +08:00
- [阿里云上 Ubuntu 14.04 64 位安装 Gogs ](http://my.oschina.net/luyao/blog/375654 ) (Chinese)
- [Installing Gogs on FreeBSD ](https://www.codejam.info/2015/03/installing-gogs-on-freebsd.html )
2017-02-18 13:53:58 -05:00
- [Cloudflare Full SSL with Gogs using NGINX ](http://www.listekconsulting.com/articles/cloudflare-full-ssl-with-gogs-go-git-service-using-nginx/ )
2016-08-07 11:01:47 -07:00
- [How to install Gogs on a Linux Server (DigitalOcean) ](https://www.youtube.com/watch?v=deSfX0gqefE )
2015-08-08 00:29:50 +08:00
2020-02-23 11:53:12 +08:00
## 📦 Software, service and product support
2015-09-12 09:21:09 -04:00
2015-12-05 13:50:43 -05:00
- [Fabric8 ](http://fabric8.io/ ) (DevOps)
2020-02-18 19:48:46 +08:00
- [Jenkins ](https://plugins.jenkins.io/gogs-webhook/ ) (CI)
2015-12-05 13:50:43 -05:00
- [Taiga ](https://taiga.io/ ) (Project Management)
2020-02-18 19:48:46 +08:00
- [Puppet ](https://forge.puppet.com/Siteminds/gogs ) (IT)
- [Kanboard ](https://github.com/kanboard/plugin-gogs-webhook ) (Project Management)
2016-01-14 14:28:07 +08:00
- [BearyChat ](https://bearychat.com/ ) (Team Communication)
2017-06-05 00:59:08 -04:00
- [GitPitch ](https://gitpitch.com/ ) (Markdown Presentations)
2015-10-29 03:21:59 -04:00
- [Synology ](https://www.synology.com ) (Docker)
2019-11-18 20:12:12 -08:00
- [Syncloud ](https://syncloud.org/ ) (App Store)
2015-09-12 09:21:09 -04:00
2020-02-23 11:53:12 +08:00
## 🙇♂️ Acknowledgments
2014-02-12 12:49:46 -05:00
2020-02-27 20:24:40 +08:00
- Thanks [Egon Elbre ](https://twitter.com/egonelbre ) for designing the original version of the logo.
2018-03-30 23:26:48 -04:00
- Thanks [Crowdin ](https://crowdin.com/project/gogs ) for sponsoring open source translation plan.
2020-08-16 19:50:40 +08:00
- Thanks [DigitalOcean ](https://www.digitalocean.com ), [VPSServer ](https://www.vpsserver.com/ ), [Hosted.nl ](https://www.hosted.nl/ ) and [BitLaunch ](https://bitlaunch.io ) for sponsoring VPS services.
2018-03-30 23:26:48 -04:00
- Thanks [KeyCDN ](https://www.keycdn.com/ ) for sponsoring CDN service.
2019-08-04 17:20:51 -07:00
- Thanks [Buildkite ](https://buildkite.com ) for sponsoring open source CI/CD plan.
2014-02-12 12:49:46 -05:00
2020-02-23 11:53:12 +08:00
## 👋 Contributors
2014-02-12 12:49:46 -05:00
2018-05-27 09:07:15 +08:00
- See [contributors page ](https://github.com/gogs/gogs/graphs/contributors ) for top 100 contributors.
2015-09-04 05:54:22 -04:00
- See [TRANSLATORS ](conf/locale/TRANSLATORS ) for public list of translators.
2014-03-28 00:34:12 +08:00
## License
2018-05-27 09:07:15 +08:00
This project is under the MIT License. See the [LICENSE ](https://github.com/gogs/gogs/blob/master/LICENSE ) file for the full license text.