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 40bce6310c
Improve error handling
8 years ago
.github git: delegate all server-side Git hooks (#1623) 8 years ago
cmd cmd/hook: check existence before call custom hook 8 years ago
conf Commits fetch concurrency (#3837) 8 years ago
docker docker: fix script 8 years ago
models migration.v15: don't generate hook file if wiki not exist (#1623) 8 years ago
modules Improve error handling 8 years ago
packager Fix postinstall to use GOGS_CUSTOM instead of symlinking 9 years ago
public Added mssql support. (#3772) 8 years ago
routers user/profile: paging doesn't respect private repository count (#4082) 8 years ago
scripts Produce a position independent executable (#4011) 8 years ago
templates wiki: handle '#' in edit page (#3767) 8 years ago
vendor Fix compilation error 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 vendor: check in vendors 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 docker: Support timezones (#3262) 9 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 models/org_team: panic when team num_repos is negative (#3671) 8 years ago
README.md vendor: add new dependency (#3772) 8 years ago
README_ZH.md vendor: add new dependency (#3772) 8 years ago
appveyor.yml Update CI settings 8 years ago
gogs.go wiki: handle '#' in edit page (#3767) 8 years ago

README.md

Gogs Build Status Build status Crowdin 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)
  • Repository Git hooks/deploy keys
  • Repository issues, pull requests and wiki
  • 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 (22 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 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.