Git with a cup of tea, painless self-hosted git service
Go to file
Rory McNamara c8b45ecc27 Render the Code view on the server (minus syntax highlighting) (#2942)
* render code view server side

* remove debug print

* fix multiline selection bug

* change string concatenation to bytes.Buffer for efficiency

* Fix newlines added by previous for hljs

* fix selection highlighting

* make css changes in .less
2016-08-09 12:35:20 -07:00
.github
cmd #3406 fix regression of MustEnableIssues check 2016-08-09 09:39:55 -07:00
conf #3325 use correct word for .gitignore 2016-08-09 12:16:21 -07:00
docker
models Fix for #3401 Links of pull request comment email should use pulls URL (#3403) 2016-08-08 22:40:05 -07:00
modules #3325 use correct word for .gitignore 2016-08-09 12:16:21 -07:00
packager
public Render the Code view on the server (minus syntax highlighting) (#2942) 2016-08-09 12:35:20 -07:00
routers Render the Code view on the server (minus syntax highlighting) (#2942) 2016-08-09 12:35:20 -07:00
scripts #3393 fix missing sub-url prefix in relative avatar link 2016-08-07 10:13:05 -07:00
templates Render the Code view on the server (minus syntax highlighting) (#2942) 2016-08-09 12:35:20 -07:00
.bra.toml
.codebeatignore Add codebeat files 2016-08-08 20:03:46 -07:00
.codebeatsettings Adjust .codebeatsettings 2016-08-08 23:26:10 -07:00
.dockerignore
.editorconfig
.gitattributes Update .gitattributes 2016-08-06 10:36:40 -07:00
.gitignore
.gopmfile Update glide.lock and .gopmfile 2016-08-07 11:05:19 -07:00
.pkgr.yml
.travis.yml
Dockerfile
Dockerfile.rpi
glide.lock Update glide.lock and .gopmfile 2016-08-07 11:05:19 -07:00
glide.yaml Update glide.lock and .gopmfile 2016-08-07 11:05:19 -07:00
gogs.go #3406 fix regression of MustEnableIssues check 2016-08-09 09:39:55 -07:00
LICENSE
Makefile Only do go vet on this codebase 2016-08-06 11:20:10 -07:00
README_ZH.md #3320 code cleanup 2016-08-07 11:01:47 -07:00
README.md #3399 500 for upstream pulls page if user has forked repository 2016-08-08 13:02:55 -07:00

Gogs - Go Git Service Build Status Crowdin Gitter

Current tip version: 0.9.68 (see Releases for binary versions)
Web UI Preview
Dashboard Repository Commits History
Profile Admin Dashboard Diff
Issues Releases Organization

Important Notes

  1. YOU MUST READ Contributing Code BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. Due to testing purpose, data of 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.
  3. The demo site try.gogs.io is running under develop branch.
  4. If you think there are vulnerabilities in the project, please talk privately to u@gogs.io. Thanks!
  5. If you're interested in using APIs, we have experimental support with documentation.
  6. If your team/company is using Gogs and would like to put your logo on our website, contact us by any means.

简体中文

Purpose

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.

Overview

Features

  • Activity timeline
  • SSH and HTTP/HTTPS protocols
  • SMTP/LDAP/Reverse proxy authentication
  • Reverse proxy with sub-path
  • Account/Organization/Repository management
  • Repository/Organization webhooks (including Slack)
  • Repository Git hooks/deploy keys
  • Repository issues, pull requests and wiki
  • Add/Remove repository collaborators
  • Gravatar and Federated avatar with custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3 and TiDB (experimental)
  • Multi-language support (18 languages)

System Requirements

  • A cheap Raspberry Pi is powerful enough for basic functionality.
  • 2 CPU cores and 1GB RAM would be the baseline for teamwork.

Browser Support

  • Please see Semantic UI 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.

Installation

Make sure you install the prerequisites first.

There are 5 ways to install Gogs:

Tutorials

Screencasts

Deploy to Cloud

Software and Service Support

Product Support

Acknowledgments

  • Router and middleware mechanism of Macaron.
  • System Monitor Status is inspired by GoBlog.
  • Thanks lavachen and Rocker for designing Logo.
  • Thanks Crowdin for providing open source translation plan.
  • Thanks DigitalOcean for hosting home and demo sites.
  • Thanks KeyCDN and QiNiu for providing CDN service.

Contributors

License

This project is under the MIT License. See the LICENSE file for the full license text.