2016-12-19 06:30:52 -07:00
[简体中文 ](https://github.com/go-gitea/gitea/blob/master/README_ZH.md )
2016-11-03 08:50:44 -06:00
# Gitea - Git with a cup of tea
2016-11-24 13:43:05 -07:00
[![Build Status ](http://drone.gitea.io/api/badges/go-gitea/gitea/status.svg )](http://drone.gitea.io/go-gitea/gitea)
2016-11-03 08:50:44 -06:00
[![Join the chat at https://gitter.im/go-gitea/gitea ](https://badges.gitter.im/Join%20Chat.svg )](https://gitter.im/go-gitea/gitea?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2016-11-24 13:43:05 -07:00
[![ ](https://images.microbadger.com/badges/image/gitea/gitea.svg )](http://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
[![Coverage Status ](https://coverage.gitea.io/badges/go-gitea/gitea/coverage.svg )](https://coverage.gitea.io/go-gitea/gitea)
[![Go Report Card ](https://goreportcard.com/badge/code.gitea.io/gitea )](https://goreportcard.com/report/code.gitea.io/gitea)
[![GoDoc ](https://godoc.org/code.gitea.io/gitea?status.svg )](https://godoc.org/code.gitea.io/gitea)
2014-03-26 10:31:01 -06:00
2016-11-27 04:09:55 -07:00
[![ ](public/img/gitea-large-resize.png )](https://github.com/go-gitea/gitea)
2014-03-15 08:29:18 -06:00
2016-11-10 03:52:39 -07:00
##### Status
2016-11-11 05:35:58 -07:00
**Current version**: (see [Releases ](https://github.com/go-gitea/gitea/releases ))
2014-03-13 00:55:14 -06:00
2016-12-22 23:25:55 -07:00
||||
2015-12-05 11:50:43 -07:00
|:-------------:|:-------:|:-------:|
2016-12-22 23:25:55 -07:00
|![Dashboard](https://i.imgur.com/3iEQsux.jpg)|![Repository](https://i.imgur.com/glqFnj8.jpg)|![Commits History](https://i.imgur.com/ad1FEpi.jpg)|
|![Profile](https://i.imgur.com/q81EcGa.jpg)|![Admin Dashboard](https://i.imgur.com/L2CQeN0.jpg)|![Diff](https://i.imgur.com/cNuvMum.jpg)|
|![Issues](https://i.imgur.com/xCYRqaF.jpg)|![Releases](https://i.imgur.com/ILpRBCe.jpg)|![Organization](https://i.imgur.com/0BHnrcL.jpg)|
||||
2015-08-15 11:41:11 -06:00
2016-02-27 09:31:24 -07:00
### Important Notes
2014-04-12 20:30:00 -06:00
2016-11-14 00:17:15 -07:00
1. **YOU MUST READ THE [Contributors Guide](CONTRIBUTING.md) BEFORE STARTING TO WORK ON A PULL REQUEST** .
2016-11-10 03:52:39 -07:00
2. If you think there are vulnerabilities in the project, please talk privately to **security@gitea.io** . Thanks!
3. If you're interested in using APIs, we have experimental support with [documentation ](https://godoc.org/github.com/go-gitea/go-sdk ).
2014-03-29 08:01:52 -06:00
2014-02-12 10:49:46 -07:00
## Purpose
2015-11-04 16:34:08 -07:00
The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across **ALL platforms** that Go supports, including Linux, Mac OS X, Windows and ARM.
2014-02-12 10:49:46 -07:00
2016-12-15 01:56:46 -07:00
Want to try it before doing anything else?
Do it [online ](https://try.gitea.io/ )!
2014-03-11 17:25:50 -06:00
## Features
2014-03-16 00:28:24 -06:00
- Activity timeline
2015-10-25 01:30:16 -06:00
- SSH and HTTP/HTTPS protocols
- SMTP/LDAP/Reverse proxy authentication
- Reverse proxy with sub-path
- Account/Organization/Repository management
2016-08-15 03:12:18 -06:00
- Add/Remove repository collaborators
2015-10-25 01:30:16 -06:00
- Repository/Organization webhooks (including Slack)
2015-08-10 09:38:46 -06:00
- Repository Git hooks/deploy keys
2015-12-06 21:07:02 -07:00
- Repository issues, pull requests and wiki
2016-08-15 03:12:18 -06:00
- Migrate and mirror repository and its wiki
- Web editor for repository files and wiki
2016-08-07 12:01:47 -06:00
- Gravatar and Federated avatar with custom source
2015-08-10 09:38:46 -06:00
- Mail service
2014-05-15 21:03:26 -06:00
- Administration panel
2015-11-04 19:57:10 -07:00
- Supports MySQL, PostgreSQL, SQLite3 and [TiDB ](https://github.com/pingcap/tidb ) (experimental)
2016-12-21 07:47:26 -07:00
- Multi-language support ([21 languages](https://crowdin.com/project/gogs))
2014-03-11 17:25:50 -06:00
2014-04-26 01:22:22 -06:00
## System Requirements
2015-02-14 13:31:07 -07:00
- A cheap Raspberry Pi is powerful enough for basic functionality.
2015-11-07 18:20:51 -07:00
- 2 CPU cores and 1GB RAM would be the baseline for teamwork.
2014-04-26 01:22:22 -06:00
2015-07-06 23:51:28 -06:00
## Browser Support
2015-08-29 02:07:02 -06:00
- Please see [Semantic UI ](https://github.com/Semantic-Org/Semantic-UI#browser-support ) for specific versions of supported browsers.
- The official support minimal size is **1024*768** , UI may still looks right in smaller size but no promises and fixes.
2015-07-23 14:50:05 -06:00
2014-02-14 16:16:54 -07:00
## Installation
2016-11-10 03:52:39 -07:00
**Note: As Gitea is a [Gogs ](https://github.com/gogits/gogs ) fork, tutorials and documentation related to gogs applies to Gitea too**
2014-03-11 22:19:45 -06:00
2016-11-10 03:52:39 -07:00
How to install Gitea:
2014-02-14 16:16:54 -07:00
2016-11-11 05:35:58 -07:00
- go get code.gitea.io/gitea
2016-11-03 06:29:56 -06:00
- [Ship with Docker ](https://github.com/go-gitea/gitea/tree/master/docker )
2016-11-10 03:52:39 -07:00
- [Install with Vagrant ](https://github.com/go-gitea/examples/tree/master/vagrant )
**Note: binary release will be available soon**
2014-02-14 16:16:54 -07:00
2015-08-07 11:12:14 -06: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-07 11:17:44 -06: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 07:23:30 -06:00
- [Dockerized Gogs git server and alpine postgres in 20 minutes or less ](http://garthwaite.org/docker-gogs.html )
- [Host Your Own Private GitHub with Gogs.io ](https://eladnava.com/host-your-own-private-github-with-gogs-io/ )
2015-11-09 09:34:04 -07:00
- [使用 Gogs 搭建自己的 Git 服务器 ](https://mynook.info/blog/post/host-your-own-git-server-using-gogs ) (Chinese)
2015-08-07 11:17:44 -06: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/ )
2015-12-21 05:24:11 -07:00
- [Cloudflare Full SSL with GOGS (Go Git Service) using NGINX ](http://www.listekconsulting.com/articles/cloudflare-full-ssl-with-gogs-go-git-service-using-nginx/ )
2015-08-07 11:12:14 -06:00
2015-08-07 10:29:50 -06:00
### Screencasts
2016-08-07 12:01:47 -06:00
- [How to install Gogs on a Linux Server (DigitalOcean) ](https://www.youtube.com/watch?v=deSfX0gqefE )
2015-12-13 17:56:33 -07:00
- [Instalando Gogs no Ubuntu ](https://www.youtube.com/watch?v=4UkHAR1F7ZA ) (Português)
2015-08-07 10:29:50 -06:00
2015-09-12 07:21:09 -06:00
### Deploy to Cloud
- [OpenShift ](https://github.com/tkisme/gogs-openshift )
2015-09-25 17:07:21 -06:00
- [Cloudron ](https://cloudron.io/appstore.html#io.gogs.cloudronapp )
- [Scaleway ](https://www.scaleway.com/imagehub/gogs/ )
2015-10-04 18:54:06 -06:00
- [Portal ](https://portaldemo.xyz/cloud/ )
2015-10-29 01:21:59 -06:00
- [Sandstorm ](https://github.com/cem/gogs-sandstorm )
2015-12-01 17:53:19 -07:00
- [sloppy.io ](https://github.com/sloppyio/quickstarters/tree/master/gogs )
2016-02-05 08:19:37 -07:00
- [YunoHost ](https://github.com/mbugeia/gogs_ynh )
2016-05-06 17:44:05 -06:00
- [DPlatform ](https://github.com/j8r/DPlatform )
2015-10-29 01:21:59 -06:00
2015-12-05 11:50:43 -07:00
## Software and Service Support
- [Drone ](https://github.com/drone/drone ) (CI)
- [Fabric8 ](http://fabric8.io/ ) (DevOps)
- [Taiga ](https://taiga.io/ ) (Project Management)
2015-12-21 05:24:11 -07:00
- [Puppet ](https://forge.puppetlabs.com/Siteminds/gogs ) (IT)
2016-01-13 23:28:07 -07:00
- [Kanboard ](http://kanboard.net/plugin/gogs-webhook ) (Project Management)
- [BearyChat ](https://bearychat.com/ ) (Team Communication)
2016-03-13 15:37:44 -06:00
- [HiWork ](http://www.hiwork.cc/ ) (Team Communication)
2015-12-05 11:50:43 -07:00
2015-10-29 01:21:59 -06:00
### Product Support
- [Synology ](https://www.synology.com ) (Docker)
- [One Space ](http://www.onespace.cc ) (App Store)
2015-09-12 07:21:09 -06:00
2014-02-12 10:49:46 -07:00
## Acknowledgments
2015-10-25 01:10:22 -06:00
- Router and middleware mechanism of [Macaron ](https://github.com/go-macaron/macaron ).
2014-03-22 15:59:22 -06:00
- System Monitor Status is inspired by [GoBlog ](https://github.com/fuxiaohei/goblog ).
2016-08-15 03:12:18 -06:00
- Thanks [Rocker ](http://weibo.com/rocker1989 ) for designing Logo.
2014-11-17 15:19:17 -07:00
- Thanks [Crowdin ](https://crowdin.com/project/gogs ) for providing open source translation plan.
2015-11-05 12:40:22 -07:00
- Thanks [DigitalOcean ](https://www.digitalocean.com ) for hosting home and demo sites.
2016-07-23 05:22:43 -06:00
- Thanks [KeyCDN ](https://www.keycdn.com/ ) and [QiNiu ](http://www.qiniu.com/ ) for providing CDN service.
2014-02-12 10:49:46 -07:00
2016-11-28 06:34:06 -07:00
## Contributing
Fork -> Patch -> Push -> Pull Request
## Authors
* [Maintainers ](https://github.com/orgs/go-gitea/people )
* [Contributors ](https://github.com/go-gitea/gitea/graphs/contributors )
* [Translators ](conf/locale/TRANSLATORS )
2014-03-27 10:34:12 -06:00
## License
2016-11-03 06:29:56 -06:00
This project is under the MIT License. See the [LICENSE ](https://github.com/go-gitea/gitea/blob/master/LICENSE ) file for the full license text.