Gogs is a painless self-hosted Git service
 
 
 
 
Go to file
Joe Chen 0a92ad27ef
db: use `context` and go-mockgen for `AccessTokensStore` (#7013)
2022-06-06 12:10:36 +08:00
.github db: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
.packager
conf locale: sync from Crowdin (#6989) 2022-05-31 15:48:21 +08:00
docker build: remove Makefile and update Docker build steps (#6980) 2022-05-29 19:45:25 +08:00
docs db: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
internal db: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
public assets: convert usage of go-bindata to Go embed (#6851) 2022-03-17 14:05:09 +08:00
scripts
templates issues: sanitize `DisplayName` (#7009) 2022-06-05 00:53:15 +08:00
.deepsource.toml db: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
.dockerignore build: remove Makefile and update Docker build steps (#6980) 2022-05-29 19:45:25 +08:00
.editorconfig
.gitattributes
.gitignore ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +08:00
.golangci.yml mod: bump github.com/gogs/git-module from 1.5.0 to 1.6.0 (#6894) 2022-04-05 16:45:01 +08:00
.mailmap
.pkgr.yml pkgr: remove debian-8 and ubuntu-14.04 (#6853) 2022-03-17 15:00:23 +08:00
CHANGELOG.md access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
Dockerfile build: remove Makefile and update Docker build steps (#6980) 2022-05-29 19:45:25 +08:00
LICENSE
README.md README: Add alwaysdata to Cloud providers (#6818) 2022-03-07 23:48:04 +08:00
README_ZH.md chore: update README_ZH.md (#6960) 2022-05-25 18:27:24 +08:00
SECURITY.md SECURITY: refer dummy issue to a simpler example (#6902) 2022-04-09 14:02:32 +08:00
Taskfile.yml db: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
codecov.yml codecov: make patch status to be informational (#6952) 2022-05-16 20:58:35 +08:00
go.mod db: run tests with pure-Go SQLite (#6998) 2022-06-03 10:03:48 +08:00
go.sum db: run tests with pure-Go SQLite (#6998) 2022-06-03 10:03:48 +08:00
gogs.go go: update required version to be 1.16 (#6850) 2022-03-16 12:18:27 +08:00

README.md

gogs-brand

GitHub Workflow Status Discord Sourcegraph

简体中文

🔮 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, including PostgreSQL, MySQL, SQLite3 and TiDB.
  • Have localization over 30 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

👋 Contributors

⚖️ License

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