Back to directory

Developer Tools · Version Control & Collaboration

Gitea

A compact, self hosted forge for code, packages, review, and CI

Gitea is a self hosted development service for Git repositories, code review, issues, package registries, and CI workflows. It targets individuals, teams, and organizations, uses the MIT license, and offers Gitea Cloud and paid Gitea Enterprise options for users who prefer hosted or commercial services.

Key facts

License
MIT
Main language
Go, Vue, TypeScript, JavaScript
Maintainer
Gitea project and community
First released
2016
Latest release
v28.2.0, October 18, 2026
GitHub stars
about 55k, October 2026
Hosted option
Gitea Cloud, plus Gitea Enterprise with user based pricing

What Gitea is

Gitea is a self hosted Git forge that began as a 2016 fork of Gogs and is maintained by the Gitea project and contributor community. The official repository identifies Go as its primary language, reports about 55,000 stars and 400 contributors in October 2026, and describes the product as an all in one development service. Its first release was in 2016. Community contributions and OpenCollective sponsorship support the project, while the Gitea company offers commercial services. The project has meaningful adoption for a lightweight forge, although star counts indicate interest rather than production deployments or revenue. Its compact scope makes it a practical choice for teams that want control over repositories and related developer services while retaining a familiar browser based workflow for daily development and administration.

How it works

A normal Gitea workflow starts with a repository, organization, or import from another forge. Users push over SSH or HTTP, browse files and history, create issues, and submit pull requests for review. Branch protection, approvals, labels, milestones, time tracking, webhooks, deploy keys, and access tokens cover routine administration. Gitea Actions uses workflow files compatible with the GitHub Actions style, while the integrated registry handles container images and many language package formats. Administrators can add LDAP or OpenID Connect authentication, configure mirrors, and use a REST API. The interface also includes wiki pages, project boards, releases, audit logs, and multilingual support, giving teams a connected place to manage source, discussion, delivery, and routine project coordination.

Architecture and recent releases

Gitea is written mainly in Go, with a web interface using Vue, TypeScript, JavaScript, CSS, and templating. It supports SQLite for small deployments and PostgreSQL, MySQL, MariaDB, and Microsoft SQL Server for larger installations. Official distribution paths include binaries, packages, Docker images, and a Kubernetes Helm chart. Gitea 2026 releases added or expanded Actions controls, package APIs, bot administration, audit logging, deploy tokens, dynamic workflow matrices, and build queue views. The releases page listed v28.2.0, published October 18, 2026. Git LFS, object storage integrations, SMTP, SSH, and external identity systems extend the core service and give administrators several ways to align storage, authentication, and delivery with existing infrastructure.

License and pricing

The community edition is MIT licensed. That license permits commercial use, modification, redistribution, and use in a hosted service, subject to preserving the copyright and license notice. Gitea Enterprise is a separate paid edition based on the open project, with a 30 day trial and pricing calculated by user count and license term. Gitea Cloud is the hosted offering. Enterprise documentation does not publish a universal public price, so buyers must use the customer portal. The free edition has no software charge, but operators pay for servers, storage, backups, email, and administration. These distinctions matter when comparing ownership costs, procurement requirements, support expectations, and responsibility for upgrades or service continuity.

Limitations and how it compares

Gitea suits teams that want Git hosting, review, packages, and CI without the resource demands of a large forge. Its limitations include a smaller integration catalog than GitHub, fewer advanced planning features than GitLab, and operational responsibility for upgrades, runners, storage, and backups. GitLab Community Edition offers broader built in planning and CI, GitHub Enterprise offers a larger commercial integration network, and Forgejo offers a closely related community forge. Pick Gitea when low overhead, MIT licensing, broad database support, and control of source data matter more than the deepest enterprise feature set. Evaluate authentication, runner isolation, backup practice, storage growth, and migration needs before committing it to central development operations.

Main features

  • Git hosting. Create public or private repositories, browse history, manage branches, mirror repositories, and use SSH or HTTP for everyday Git operations.
  • Code review. Pull requests support reviews, approvals, inline comments, protected branches, squash merging, rebasing, and review requirements.
  • Gitea Actions. Run YAML workflows with a GitHub Actions compatible model, runners, artifacts, matrices, queues, and workflow management APIs.
  • Package registry. Publish and consume container images and more than twenty package formats, including Maven, npm, PyPI, Helm, and NuGet.
  • Project work. Track issues with labels, milestones, dependencies, assignments, time tracking, due dates, and lightweight project boards.
  • Identity and access. Connect LDAP, OpenID Connect, OAuth, two factor authentication, deploy keys, tokens, webhooks, and detailed repository permissions.

Self-hosting Gitea

Gitea can run from an official binary, Docker image, Linux package, source build, or Kubernetes Helm chart. Small installations can use built in SQLite, while production deployments commonly use PostgreSQL, MySQL, MariaDB, or Microsoft SQL Server. Documentation says two CPU cores and one gigabyte of RAM are typically sufficient for small teams, and a Raspberry Pi 3 can handle small workloads. Git 2.0 or newer is required, with Git LFS available when enabled. Run the service under a dedicated non root account. Back up repositories, attachments, configuration, database contents, and package storage, and read upgrade notes before changing versions.

Strengths

  • MIT licensing permits commercial use and hosted redistribution.
  • The service combines repositories, review, packages, issues, and CI in one relatively small deployment.
  • It supports SQLite as well as several production database engines.
  • Official Docker and Helm paths simplify repeatable deployment.

Drawbacks

  • Advanced planning and enterprise identity features are less extensive than GitLab or GitHub Enterprise.
  • Operators must run runners and maintain backups, storage, mail, and upgrades.
  • The Enterprise price is not presented as a public fixed rate.

What teams replace with it

Teams usually evaluate Gitea when they want to move off GitHub Enterprise, GitLab Enterprise, Bitbucket Data Center.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Gitea

  • Forgejo
  • GitLab Community Edition
  • SourceHut
  • OneDev
  • Phorge

Frequently asked questions

Is Gitea free to use?

The community edition is free software under the MIT license, so there is no software subscription for self hosting. You still pay for infrastructure, storage, email, backups, and administration. Gitea Cloud and Gitea Enterprise are commercial options for teams that prefer hosted operations or additional enterprise capabilities.

Can companies use Gitea commercially?

Yes. The MIT license allows companies to use, modify, sell, and host Gitea, provided the copyright and license notice remain with copies or substantial portions of the software. Enterprise services are separate commercial offerings. Companies should review the license text and their own distribution obligations before shipping modified binaries.

What does Gitea need to run?

Gitea runs on Linux, macOS, Windows, and other platforms supported by Go. A small installation typically needs two CPU cores and one gigabyte of RAM. SQLite is built in, while PostgreSQL, MySQL, MariaDB, and Microsoft SQL Server are supported. Docker, binaries, packages, and Helm cover common installation models.

How does Gitea compare with GitLab?

Gitea is usually the lighter deployment, with lower stated resource needs and a simpler core service. GitLab offers a broader integrated planning, security, and CI feature set, but generally demands more infrastructure. Choose Gitea for compact Git hosting and control, and GitLab when its larger built in enterprise feature set justifies the operational cost.

Is code private on a self hosted Gitea instance?

A self hosted administrator controls the server, database, repository storage, authentication, and network exposure. Private repositories remain inside that installation unless users configure mirrors, integrations, or external storage. Security still depends on patching, strong authentication, runner isolation, backups, access permissions, and careful protection of secrets.

Similar projects to compare

Sources

Last updated 2026-10-22.