gogs源码

dependabot[bot] 1ed882b611 mod: bump golang.org/x/image from 0.35.0 to 0.36.0 (#8194) 6 days ago
.claude 295bfba729 context: reject access tokens passed via URL query parameters (#8177) 3 weeks ago
.github e8b6dea462 release: fix up sentence case for release name 2 weeks ago
.packager 0b86aa5d29 pkgr: update heroku-buildpack to latest (#5957) 6 years ago
cmd 36d56d5525 all: rename packages ending with "util" to end with "x" (#8182) 3 weeks ago
conf 5c67d47512 database: remove MSSQL backend support (#8173) 4 weeks ago
docker f94042ce6f chore: update release templates 1 month ago
docker-next f94042ce6f chore: update release templates 1 month ago
docs 295bfba729 context: reject access tokens passed via URL query parameters (#8177) 3 weeks ago
internal df467d8ff1 Fix git reset --end-of-options error on file upload and edit (#8184) 2 weeks ago
public 9001a68cdd js: use safe DOM construction for milestone and assignee selection (#8178) 3 weeks ago
scripts 069d3535d6 chore: fix broken links to gogs.io (#8169) 4 weeks ago
templates 36d56d5525 all: rename packages ending with "util" to end with "x" (#8182) 3 weeks ago
.deepsource.toml 2e19f5a3c8 db: add tests for authentication through login sources (#7049) 3 years ago
.dockerignore d7bda9ac0e build: remove Makefile and update Docker build steps (#6980) 3 years ago
.editorconfig 015589cdd9 fix(.editorconfig): remove setting end_of_line and make Git track EOL changes on Windows (#7725) 1 year ago
.gitattributes d8fa08111b chore: fix linguist-vendored with double asterisks (#6563) 4 years ago
.gitignore 5d3ffd132b chore: bunch of minor tidy-ups 1 month ago
.golangci.yml 139ea3ce7d mod: bump modernc.org/sqlite from 1.36.0 to 1.37.0 (#7947) 11 months ago
.mailmap acf2df3688 mailmap: update replacements 4 years ago
.pkgr.yml cfe38e0a08 chore: update Debian and Ubuntu targets in .pkgr.yml 6 months ago
AGENTS.md a976fd2f9c chore: minor case fixup 3 weeks ago
CHANGELOG.md 2989605fd8 Update CHANGELOG for 0.14.2 release 2 weeks ago
CLAUDE.md 2316b09eaf database: fully switch over to pure-Go SQLite driver (#8115) 1 month ago
CODEOWNERS 76831d0d06 dep: update github.com/gogs/git-module to v1.8.4 (#7872) 1 year ago
Dockerfile 5f17b670b3 docker: pin Go 1.26 in builder stage images (#8180) 3 weeks ago
Dockerfile.next 5f17b670b3 docker: pin Go 1.26 in builder stage images (#8180) 3 weeks ago
LICENSE 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 9 years ago
README.md 069d3535d6 chore: fix broken links to gogs.io (#8169) 4 weeks ago
SECURITY.md 38def73489 Update security policy for version support and advisories 1 month ago
Taskfile.yml a976fd2f9c chore: minor case fixup 3 weeks ago
go.mod 1ed882b611 mod: bump golang.org/x/image from 0.35.0 to 0.36.0 (#8194) 6 days ago
go.sum 1ed882b611 mod: bump golang.org/x/image from 0.35.0 to 0.36.0 (#8194) 6 days ago
mockgen.go 59e9fa191b chore: remove all MIT license file headers (#8083) 2 months ago
mockgen.yaml d9ecdcaef0 all: unwrap `database.UsersStore` interface (#7708) 1 year ago
trivy.yaml 2208f17e8e chore: update Trivy scan config (#7934) 1 year 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

Please follow the guide in our documentation.

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 Mintlify for sponsoring open source documentation plan.
  • 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.