Command-line tool
go-gitea / gitea
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
Claude Code, Cursor, Codex or VS Code. No key. You approve one sign-in in your browser.
Releases on GitHub (latest v28.4.0, Nov 15, 2026)
Repowise maps public repos from their source. Not affiliated with go-gitea. What is Repowise?
github.com/go-gitea/giteaIndexed at a1cc651
What is gitea?
Gitea is a self-hosted, all-in-one software development service for Git hosting, code review, issue tracking, team collaboration, package registry and CI/CD. It runs as one service that takes Git repositories and development work as input and exposes code management, review, tracking and automation through a web interface for users and teams. Gitea is written in Go. Its code health is 7.0 out of 10 (Good), ranked #132 of 4,000+ indexed repos. The last commit to gitea was on Oct 13, 2026, and 1,858 people have contributed.
As of commit a1cc651, indexed Oct 13, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsgitea.md
Repo facts: type, license, health, rank, contributors
| Type | Command-line tool |
|---|---|
| License | MIT |
| Code health | 7.0 / 10 (Good) |
| Health rank | #132 of 4,000+ indexed repos |
| Last commit | Oct 13, 2026 |
| Contributors | 1,858 |
| Bus factor | 4 |
| Size | 3,691 files, 415,720 lines |
Explore gitea
- DocumentationModule-by-module documentation, 4,034 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to gitea's code. It does not install gitea.
Useful if you want to change or fork gitea: your agent can ask how it is put together and get answers that cite its files.
Ask about gitea
Answers come from gitea's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of go-gitea/gitea from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
go-gitea/gitea FAQ
What is Gitea?
Gitea is a self-hosted, all-in-one software development service for Git hosting, code review, issue tracking and team collaboration. It also includes a package registry, project kanban, a wiki and CI/CD that can reuse GitHub Actions.
How does Gitea work?
Gitea runs as a web service built from Go packages for models, routers, services and shared modules. Its command-line program has a web subcommand that starts the server and a help subcommand that lists the available commands.
What language is Gitea written in?
Gitea is written in Go. The repository also contains TypeScript and Vue files for the web front end, along with some shell scripts.
How is the Gitea code organized?
The cmd directory holds the command-line interface, models holds the database layer, and routers holds the web and API handlers. The services directory holds the business logic, and modules holds shared utilities such as configuration and logging.
Who is Gitea for?
Gitea is for people who want to run their own all-in-one software development service with Git hosting, code review, issue tracking, package registry and CI/CD. It is built to be set up and run on a server the user controls.
What license does Gitea use?
Gitea is released under the MIT license, identified as MIT. The license applies to the code in the repository.
Code health
Hotspots average 5.0, the place fixes pay off most.
On the leaderboards:#12 of 28 Go repos
Key features of gitea
- Provides Git hosting, code management, code review and issue tracking.
- Includes project kanban boards and a wiki.
- Offers team collaboration and a package registry.
- Runs CI/CD that can reuse GitHub Actions.
- Runs on the platforms and architectures that Go supports, including Linux, macOS and Windows.
How go-gitea/gitea works
The cmd directory holds the command-line interface, which registers subcommands, parses global flags, sets up logging and runtime paths, and wires command handlers. The modules directory provides shared building blocks such as configuration access, structured logging, JSON encoding and decoding, and common utilities. The models directory defines the persistence and query layer for domain objects such as issues, repos, users and actions, backed by a shared database engine and session context. The modelmigration directory defines an ordered set of database migration tasks that bring the database schema up to date. The routers directory contains the web and API handlers, for example routers/web/repo/pull.go for pull requests, and the services directory holds the logic they call, such as services/gitdiff/gitdiff.go for diffs. The build directory contains generators like build/generate-openapi.go that produce embedded artifacts from source inputs.
The codebase has 3,691 files and 23,871 symbols in 14 modules, led by Go, TypeScript and Shell. Code health is 7.0 out of 10, rated good.
Maintain go-gitea/gitea?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of go-gitea/gitea. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask gitea's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/go-gitea/gitea?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/go-gitea/gitea?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/go-gitea/gitea.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/go-gitea/gitea?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/go-gitea/gitea.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/go-gitea/gitea.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>