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.
 
 
 
 
 
 
Nikeron eae7d1f7a7 Add data urls support for markdown images 6 years ago
.github .github: update link to ISSUE_TEMPLATE.md (#5193) 7 years ago
cmd repo_editor: able to trigger Git hooks (#4338) 6 years ago
conf locale: sync from Crowdin 6 years ago
docker docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 6 years ago
models repo/editor: hide internal error detail 6 years ago
packager packager: update files (#4181) 8 years ago
pkg Add data urls support for markdown images 6 years ago
public public: minor fix for PR #5276 6 years ago
routes repo/editor: hide internal error detail 6 years ago
scripts scripts: add NoNewPrivileges=true to systemd unit file (#5381) 6 years ago
templates repo_editor: able to trigger Git hooks (#4338) 6 years ago
vendor vendor: update github.com/gogs/git-module 6 years ago
.bra.toml Makefile: correct errors 7 years ago
.codebeatignore Add .mailmap 8 years ago
.codebeatsettings Adjust .codebeatsettings 8 years ago
.dockerignore docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 6 years ago
.editorconfig milestone: only show issue-related count under issue list (#4316) 8 years ago
.gitattributes locale: sync from Crowdin 7 years ago
.gitignore webhook: minor text change on Discord 8 years ago
.mailmap Add .mailmap 8 years ago
.pkgr.yml pkgr: update spec to build on Debian 9 (Stretch) (#5083) 7 years ago
.travis.yml locale: sync from Crowdin 6 years ago
Dockerfile docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image (#5322) 6 years ago
Dockerfile.aarch64 docker: allow setting UID and GID when running a container (#4776) 7 years ago
Dockerfile.aarch64hub docker: enable Automated builds for aarch64 ( ARM64 ) platforms (#5058) 7 years ago
Dockerfile.rpi docker: allow setting UID and GID when running a container (#4776) 7 years ago
Dockerfile.rpihub docker: allow setting UID and GID when running a container (#4776) 7 years ago
LICENSE Change LICENSE copyright holder name [CI SKIP] 8 years ago
Makefile repo: add changes to repository avatar feature (#5221) 6 years ago
README.md vendor: rename "gogits" to "gogs" 7 years ago
README_ZH.md vendor: rename "gogits" to "gogs" 7 years ago
appveyor.yml Update CI settings 8 years ago
gogs.go gogs: remove app flags line (#5388) 6 years ago

README.md

Gogs Build Status Build status Crowdin Discord

Current tip version: .VERSION (see Releases for binary versions)
Web UI Preview
Dashboard Repository Editor
Profile Diff Repository Settings
Webhook Organization Admin Dashboard

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, and the name you want to be credited as. 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, macOS, 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
  • Two-factor authentication
  • Gravatar and Federated avatar with custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (via MySQL protocol)
  • Multi-language support (29 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

  • Thanks Egon Elbre for designing logo.
  • Thanks Crowdin for sponsoring open source translation plan.
  • Thanks DigitalOcean for sponsoring VPS service.
  • Thanks KeyCDN for sponsoring CDN service.

Contributors

License

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