You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Unknwon 934734a85a
diff: able to highlight line with hashtag URL
8 years ago
.github git: delegate all server-side Git hooks (#1623) 8 years ago
cmd vendor: update github.com/go-macaron/toolbox (#2857) 8 years ago
conf locale: add new translator (#4158) 8 years ago
docker Provide an updated Dockerfile where Gogs is build with Go 1.8 (#4151) 8 years ago
models diff: able to highlight line with hashtag URL 8 years ago
modules models/webhook: fix bad query 8 years ago
packager Fix postinstall to use GOGS_CUSTOM instead of symlinking 9 years ago
public diff: able to highlight line with hashtag URL 8 years ago
routers repo: several minor improvements 8 years ago
scripts Simplify description 8 years ago
templates diff: able to highlight line with hashtag URL 8 years ago
vendor vendor: update github.com/go-macaron/toolbox (#2857) 8 years ago
.bra.toml models/repo_editor: improve code quality 8 years ago
.codebeatignore Add .mailmap 8 years ago
.codebeatsettings Adjust .codebeatsettings 9 years ago
.dockerignore Update docker/build.sh script to use glide & make (#3079) 9 years ago
.editorconfig #2018 able to sync now for mirrors 8 years ago
.gitattributes conf: minor comments fix 8 years ago
.gitignore webhook: minor text change on Discord 8 years ago
.gopmfile vendor: check in vendors 8 years ago
.mailmap Add .mailmap 8 years ago
.pkgr.yml Enable Ubuntu 16.04 build at packager.io (#3617) 8 years ago
.travis.yml Update CI settings 8 years ago
Dockerfile Provide an updated Dockerfile where Gogs is build with Go 1.8 (#4151) 8 years ago
Dockerfile.aarch64 Dockerfile for aarch64 (odroid c2 & pine64) (#4018) 8 years ago
Dockerfile.rpi docker: Support timezones (#3262) 9 years ago
LICENSE Change LICENSE copyright holder name [CI SKIP] 9 years ago
Makefile wiki: fix crash with blob name contains tab (#3916) 8 years ago
README.md migration: drop 0.6.x support 8 years ago
README_ZH.md migration: drop 0.6.x support 8 years ago
appveyor.yml Update CI settings 8 years ago
gogs.go diff: able to highlight line with hashtag URL 8 years ago

README.md

Gogs Build Status Build status Crowdin Sourcegraph Gitter

Current tip version: .VERSION (see Releases for binary versions or submit a task on alpha stage automated binary building system)
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
  • Add/Remove repository collaborators
  • Repository/Organization webhooks (including Slack and Discord)
  • Repository Git hooks/deploy keys
  • Repository issues, pull requests, wiki and protected branches
  • Migrate and mirror repository and its wiki
  • Web editor for repository files and wiki
  • Jupyter Notebook
  • Gravatar and Federated avatar with custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (experimental)
  • Multi-language support (23 languages)

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.
  • 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 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

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 Egon Elbre 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.