2019-11-02 20:25:59 -07:00
# Gogs
2019-11-02 20:27:03 -07:00
[](https://travis-ci.org/gogs/gogs) [](https://ci.appveyor.com/project/Unknwon/gogs/branch/master) [](https://discord.gg/9aqdHU7) [](https://sourcegraph.com/github.com/gogs/gogs)
2014-03-26 12:31:01 -04:00
2018-05-27 09:07:15 +08:00

2014-03-15 10:29:18 -04:00
2018-05-27 09:07:15 +08:00
##### Current tip version: [`.VERSION`](templates/.VERSION) (see [Releases](https://github.com/gogs/gogs/releases) for binary versions)
2014-03-13 02:55:14 -04:00
2015-12-05 13:50:43 -05:00
| Web | UI | Preview |
|:-------------:|:-------:|:-------:|
2017-03-22 15:28:22 -04:00
||||
||||
||||
2015-08-16 01:41:11 +08:00
2016-02-27 11:31:24 -05:00
### Important Notes
2014-04-12 22:30:00 -04:00
2018-05-27 09:07:15 +08:00
1. **YOU MUST READ [Contributing Code](https://github.com/gogs/gogs/wiki/Contributing-Code) BEFORE STARTING TO WORK ON A PULL REQUEST ** .
2016-03-05 13:09:31 -05:00
2. Due to testing purpose, data of [try.gogs.io ](https://try.gogs.io ) was reset in **Jan 28, 2015 ** and will reset multiple times after. Please do **NOT ** put your important data on the site.
2019-10-24 18:37:00 -07:00
3. The demo site [try.gogs.io ](https://try.gogs.io ) is running under `master` branch.
2017-03-08 10:17:53 -05:00
4. If you think there are vulnerabilities in the project, please talk privately to **u@gogs.io ** , and the name you want to be credited as. Thanks!
2018-05-27 09:07:15 +08:00
5. If you're interested in using APIs, we have experimental support with [documentation ](https://github.com/gogs/go-gogs-client/wiki ).
2016-08-06 02:35:40 +02:00
6. If your team/company is using Gogs and would like to put your logo on [our website ](https://gogs.io ), contact us by any means.
2014-03-29 10:01:52 -04:00
2015-11-07 20:20:51 -05:00
[简体中文 ](README_ZH.md )
2014-03-22 20:25:39 -04:00
2018-09-14 15:25:15 -04:00
## Vision
2014-02-12 12:49:46 -05:00
2019-11-25 15:27:20 -08:00
The Gogs (`/gɔgs/` ) 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
2014-02-14 18:16:54 -05:00
## Overview
2016-08-06 02:35:40 +02:00
- Please see the [Documentation ](https://gogs.io/docs/intro ) for common usages and change log.
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 )!
2016-08-06 02:35:40 +02:00
- Having trouble? Get help with [Troubleshooting ](https://gogs.io/docs/intro/troubleshooting.html ) or [User Forum ](https://discuss.gogs.io/ ).
- Want to help with localization? Check out the [guide ](https://gogs.io/docs/features/i18n.html )!
2014-02-14 18:16:54 -05:00
2014-03-11 19:25:50 -04:00
## Features
2014-03-16 02:28:24 -04:00
- Activity timeline
2015-10-25 03:30:16 -04:00
- SSH and HTTP/HTTPS protocols
- SMTP/LDAP/Reverse proxy authentication
- Reverse proxy with sub-path
- Account/Organization/Repository management
2016-08-15 02:12:18 -07:00
- Add/Remove repository collaborators
2017-02-19 13:18:16 -05:00
- Repository/Organization webhooks (including Slack and Discord)
2015-08-10 23:38:46 +08:00
- Repository Git hooks/deploy keys
2017-02-17 15:10:50 -05:00
- Repository issues, pull requests, wiki and protected branches
2016-08-15 02:12:18 -07:00
- Migrate and mirror repository and its wiki
- Web editor for repository files and wiki
2017-02-12 16:13:30 -05:00
- Jupyter Notebook
2017-04-06 16:27:31 -04:00
- Two-factor authentication
2016-08-07 11:01:47 -07:00
- Gravatar and Federated avatar with custom source
2015-08-10 23:38:46 +08:00
- Mail service
2014-05-15 23:03:26 -04:00
- Administration panel
2017-03-30 12:35:43 -04:00
- Supports MySQL, PostgreSQL, SQLite3, MSSQL and [TiDB ](https://github.com/pingcap/tidb ) (via MySQL protocol)
2019-01-30 21:58:07 -05:00
- Multi-language support ([30 languages ](https://crowdin.com/project/gogs ))
2014-03-11 19:25:50 -04:00
2017-02-19 14:42:06 -05: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
2015-07-07 13:51:28 +08:00
## Browser Support
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
2014-02-14 18:16:54 -05:00
## Installation
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
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 )
- [Gogs on Raspberry Pi ](http://blog.meinside.pe.kr/Gogs-on-Raspberry-Pi/ )
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/ )
2015-08-08 01:12:14 +08:00
2015-08-08 00:29:50 +08:00
### Screencasts
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-12-13 19:56:33 -05:00
- [Instalando Gogs no Ubuntu ](https://www.youtube.com/watch?v=4UkHAR1F7ZA ) (Português)
2015-08-08 00:29:50 +08:00
2015-09-12 09:21:09 -04:00
### Deploy to Cloud
- [OpenShift ](https://github.com/tkisme/gogs-openshift )
2015-09-25 19:07:21 -04:00
- [Cloudron ](https://cloudron.io/appstore.html#io.gogs.cloudronapp )
- [Scaleway ](https://www.scaleway.com/imagehub/gogs/ )
2015-10-29 03:21:59 -04:00
- [Sandstorm ](https://github.com/cem/gogs-sandstorm )
2015-12-01 19:53:19 -05:00
- [sloppy.io ](https://github.com/sloppyio/quickstarters/tree/master/gogs )
2016-12-21 12:12:53 +04:00
- [YunoHost ](https://github.com/YunoHost-Apps/gogs_ynh )
2016-05-07 01:44:05 +02:00
- [DPlatform ](https://github.com/j8r/DPlatform )
2019-01-30 23:21:18 -05:00
- [LunaNode ](https://github.com/LunaNode/launchgogs )
2015-10-29 03:21:59 -04:00
2015-12-05 13:50:43 -05:00
## Software and Service Support
- [Drone ](https://github.com/drone/drone ) (CI)
2017-02-12 16:13:30 -05:00
- [Jenkins ](https://wiki.jenkins-ci.org/display/JENKINS/Gogs+Webhook+Plugin ) (CI)
2015-12-05 13:50:43 -05:00
- [Fabric8 ](http://fabric8.io/ ) (DevOps)
- [Taiga ](https://taiga.io/ ) (Project Management)
2015-12-21 04:24:11 -08:00
- [Puppet ](https://forge.puppetlabs.com/Siteminds/gogs ) (IT)
2016-01-14 14:28:07 +08:00
- [Kanboard ](http://kanboard.net/plugin/gogs-webhook ) (Project Management)
- [BearyChat ](https://bearychat.com/ ) (Team Communication)
2016-03-13 17:37:44 -04:00
- [HiWork ](http://www.hiwork.cc/ ) (Team Communication)
2017-06-05 00:59:08 -04:00
- [GitPitch ](https://gitpitch.com/ ) (Markdown Presentations)
2015-12-05 13:50:43 -05:00
2015-10-29 03:21:59 -04:00
### Product Support
- [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
2014-02-12 12:49:46 -05:00
## Acknowledgments
2017-02-13 19:11:31 -05:00
- Thanks [Egon Elbre ](https://twitter.com/egonelbre ) for designing logo.
2018-03-30 23:26:48 -04:00
- Thanks [Crowdin ](https://crowdin.com/project/gogs ) for sponsoring open source translation plan.
2019-07-29 19:17:50 -07:00
- Thanks [DigitalOcean ](https://www.digitalocean.com ), [VPSServer ](https://www.vpsserver.com/ ), [Hosted.nl ](https://www.hosted.nl/ ) and [MonoVM ](https://monovm.com ) 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
## Contributors
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.
2018-09-26 19:03:42 -04:00
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fgogs%2Fgogs?ref=badge_small)