gogs源码

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

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.