PlotixGallery

go-gitea/gitea architecture diagram

How go-gitea/gitea is built, drawn from its code at 8cb6fb2 on 2026-11-08 by Plotix's agent.

Data model

Core entities of Gitea (users, orgs, repos, issues, pull requests, actions runs) and how they relate. Read from models/.

go-gitea/gitea data model diagram

Open the picture for full size (SVG).

Parts

How they connect

Overview

How the single Gitea binary is split: HTTP and Git entry points, the services layer, models, shared modules and storage.

go-gitea/gitea overview diagram

Open the picture for full size (SVG).

Parts

How they connect

Git push flow

What happens when a developer pushes over SSH or HTTP: authorization, git receive-pack, the pre-receive and post-receive hooks, then database updates.

go-gitea/gitea git push flow diagram

Open the picture for full size (SVG).

Parts

How they connect

Deployment

A typical self-hosted setup: reverse proxy in front of the Gitea server, its repository volume and database, and an optional Actions runner host.

go-gitea/gitea deployment diagram

Open the picture for full size (SVG).

Parts

How they connect

Draw your own repo

Plotix's agent reads your code and draws its architecture, and the diagram warns you when the code moves on.

Try Plotix