MCPcopy
hub / github.com/gogs/gogs

github.com/gogs/gogs @v0.14.3 sqlite

repository ↗ · DeepWiki ↗ · release v0.14.3 ↗
9,074 symbols 32,639 edges 452 files 1,331 documented · 15%
README

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.

Extension points exported contracts — how you extend this code

NotFound (Interface)
NotFound represents a not found error. [25 implementers]
internal/errutil/errutil.go
Provider (Interface)
Provider defines an authenticate provider which provides ability to authentication against an external identity provider [5 …
internal/auth/auth.go
Store (Interface)
Store is the data layer carrier for context middleware. This interface is meant to abstract away and limit the exposure [2 …
internal/context/store.go
Storager (Interface)
Storager is an storage backend for uploading and downloading LFS objects. [2 implementers]
internal/lfsutil/storage.go
Store (Interface)
Store is the data layer carrier for LFS endpoints. This interface is meant to abstract away and limit the exposure of th [2 …
internal/route/lfs/store.go
ModuleStore (Interface)
ModuleStore is the interface for Git operations. [2 implementers]
internal/gitutil/module.go
User (Interface)
* Setup interfaces of used methods in mail to avoid cycle import. */ [1 implementers]
internal/email/email.go
Engine (Interface)
Engine represents a XORM engine or session.
internal/database/models.go

Core symbols most depended-on inside this repo

match
called by 1361
public/plugins/pdfjs-5.2.133/web/viewer.mjs
Error
called by 581
internal/context/api.go
Fa
called by 382
public/plugins/pdfjs-5.2.133/web/wasm/openjpeg_nowasm_fallback.js
Tr
called by 308
internal/mocks/locale.go
trim
called by 270
public/plugins/pdfjs-5.2.133/web/viewer.mjs
Ga
called by 267
public/plugins/pdfjs-5.2.133/web/wasm/openjpeg_nowasm_fallback.js
Get
called by 256
internal/database/models.go
Where
called by 218
internal/database/models.go

Shape

Function 5,539
Method 2,966
Struct 353
Class 170
TypeAlias 25
Interface 21

Languages

TypeScript67%
Go33%

Modules by API surface

public/plugins/mermaid-11.12.1/mermaid.min.js3,220 symbols
public/plugins/pdfjs-5.2.133/web/viewer.mjs1,056 symbols
public/plugins/simplemde-1.10.1/simplemde.min.js338 symbols
public/plugins/pdfjs-5.2.133/web/wasm/openjpeg_nowasm_fallback.js298 symbols
internal/route/lfs/mocks_test.go148 symbols
internal/database/repo.go144 symbols
internal/database/mocks_test.go101 symbols
internal/database/users.go92 symbols
public/js/jquery-3.6.0.min.js81 symbols
public/plugins/codemirror-5.17.0/mode/javascript/javascript.js75 symbols
internal/database/issue.go75 symbols
internal/database/webhook.go67 symbols

Dependencies from manifests, versioned

github.com/Azure/go-ntlmsspv0.0.0-2022112819355 · 1×
github.com/Masterminds/semver/v3v3.4.0 · 1×
github.com/aymerick/douceurv0.2.0 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/boombuler/barcodev1.0.1-0.20190219062 · 1×
github.com/bradfitz/gomemcachev0.0.0-2019032917394 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/cockroachdb/logtagsv0.0.0-2023011820175 · 1×
github.com/cockroachdb/redactv1.1.5 · 1×
github.com/cpuguy83/go-md2man/v2v2.0.7 · 1×

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add gogs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact