Gogs ( /gɑgz/) 项目旨在构建一个简单、稳定且可扩展的自托管 Git 服务,并以最轻松的方式进行设置。使用 Go,可以通过独立的二进制发行版在 Go 支持的所有平台上实现这一目标,包括 Linux、macOS、Windows 和基于 ARM 的系统。

neilzhu 744c4678e5 first commit 2 months ago
.packager 744c4678e5 first commit 2 months ago
conf 744c4678e5 first commit 2 months ago
docker 744c4678e5 first commit 2 months ago
docs 744c4678e5 first commit 2 months ago
internal 744c4678e5 first commit 2 months ago
public 744c4678e5 first commit 2 months ago
scripts 744c4678e5 first commit 2 months ago
templates 744c4678e5 first commit 2 months ago
.deepsource.toml 744c4678e5 first commit 2 months ago
.dockerignore 744c4678e5 first commit 2 months ago
.editorconfig 744c4678e5 first commit 2 months ago
.gitattributes 744c4678e5 first commit 2 months ago
.gitignore 744c4678e5 first commit 2 months ago
.golangci.yml 744c4678e5 first commit 2 months ago
.mailmap 744c4678e5 first commit 2 months ago
.pkgr.yml 744c4678e5 first commit 2 months ago
CHANGELOG.md 744c4678e5 first commit 2 months ago
CODEOWNERS 744c4678e5 first commit 2 months ago
Dockerfile 744c4678e5 first commit 2 months ago
LICENSE 744c4678e5 first commit 2 months ago
README.md 744c4678e5 first commit 2 months ago
README_ZH.md 744c4678e5 first commit 2 months ago
SECURITY.md 744c4678e5 first commit 2 months ago
Taskfile.yml 744c4678e5 first commit 2 months ago
codecov.yml 744c4678e5 first commit 2 months ago
gen.go 744c4678e5 first commit 2 months ago
go.mod 744c4678e5 first commit 2 months ago
go.sum 744c4678e5 first commit 2 months ago
gogs.go 744c4678e5 first commit 2 months ago
mockgen.yaml 744c4678e5 first commit 2 months ago
trivy.yaml 744c4678e5 first commit 2 months ago

README.md

gogs-brand

GitHub Workflow Status Sourcegraph

👉 Deploy on DigitalOcean and get $200 in free credits!

🔮 Vision

The Gogs (/gɑgz/) project aims to build a simple, stable and extensible self-hosted Git service that can be set up in the most painless way. With Go, this can be done with an independent binary distribution across all platforms that Go supports, including Linux, macOS, Windows and ARM-based systems.

📡 Overview

💌 Features

  • User dashboard, user profile and activity timeline.
  • Access repositories via SSH, HTTP and HTTPS protocols.
  • User, organization and repository management.
  • Repository and organization webhooks, including Slack, Discord and Dingtalk.
  • Repository Git hooks, deploy keys and Git LFS.
  • Repository issues, pull requests, wiki, protected branches and collaboration.
  • Migrate and mirror repositories with wiki from other code hosts.
  • Web editor for quick editing repository files and wiki.
  • Jupyter Notebook and PDF rendering.
  • Authentication via SMTP, LDAP, reverse proxy, GitHub.com and GitHub Enterprise with 2FA.
  • Customize HTML templates, static files and many others.
  • Rich database backend support, including PostgreSQL, MySQL, SQLite3 or any database backend that speaks one of those protocols.
  • Have localization over 31 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 6 ways to install Gogs:

Deploy to cloud

Tutorials

📦 Software, service and product support

🙇‍♂️ Acknowledgments

This project is proudly supported by:

Other acknowledgments:

  • Thanks Egon Elbre for designing the original version of the logo.
  • Thanks Crowdin for sponsoring open source translation plan.
  • Thanks Buildkite for sponsoring open source CI/CD plan.

👋 Contributors

⚖️ License

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