Gitea logo

Gitea

Painless self-hosted Git service written in Go

Lightweight, cross-platform Git hosting with code review, CI/CD, package registry, and team collaboration. Deploy anywhere Go runs—Linux, macOS, Windows, ARM, and more.

Gitea banner

Overview

Self-Hosted Git Made Simple

Gitea is a lightweight, self-hosted Git service designed for speed, simplicity, and cross-platform deployment. Written in Go, it runs on Linux, macOS, Windows, and supports x86, amd64, ARM, and PowerPC architectures—making it one of the most portable Git solutions available.

Originally forked from Gogs in 2016, Gitea has evolved into a full-featured software development platform. It combines Git repository hosting with code review workflows, team collaboration tools, integrated CI/CD through Gitea Actions, and multi-format package registries (Docker, Maven, npm). Organizations seeking GitHub or GitLab alternatives without vendor lock-in choose Gitea for its minimal resource footprint and straightforward administration.

Who Uses Gitea

Development teams, educational institutions, and enterprises deploy Gitea when they need complete control over their source code infrastructure. Whether you're running a single-board computer or orchestrating containers at scale, Gitea adapts to your environment. The project ships as a single binary with optional SQLite support, eliminating complex dependencies while offering PostgreSQL and MySQL compatibility for larger deployments.

Highlights

Single binary deployment with no runtime dependencies beyond optional database
Built-in CI/CD via Gitea Actions compatible with GitHub Actions syntax
Multi-format package registry supporting Docker, Maven, npm, and more
Cross-platform support across all Go-supported architectures and operating systems

Pros

  • Extremely lightweight with minimal resource requirements compared to alternatives
  • Simple installation and maintenance with single binary distribution
  • Active development community with regular security updates
  • Native support for ARM and low-power devices

Considerations

  • Smaller ecosystem of third-party integrations than GitHub or GitLab
  • Advanced enterprise features may require additional configuration
  • UI and workflow conventions differ from mainstream Git platforms
  • Requires self-management of backups, updates, and infrastructure

Managed products teams compare with

When teams consider Gitea, these hosted platforms usually appear on the same shortlist.

AWS CodeCommit logo

AWS CodeCommit

Managed source control service for hosting private Git repositories securely in AWS

Azure Repos logo

Azure Repos

Cloud-hosted set of version control tools (Git and TFVC) for managing source code with Azure DevOps

Bitbucket logo

Bitbucket

Web-based Git repository hosting service for source code version control and team collaboration (by Atlassian)

Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.

Fit guide

Great for

  • Teams wanting full control over source code hosting infrastructure
  • Resource-constrained environments like Raspberry Pi or edge devices
  • Organizations requiring air-gapped or on-premises Git services
  • Projects migrating from GitHub, GitLab, or Bitbucket to self-hosted solutions

Not ideal when

  • Teams requiring extensive third-party SaaS integrations out of the box
  • Organizations without infrastructure management capabilities
  • Projects needing advanced security compliance features without customization
  • Users seeking fully managed Git hosting without operational overhead

How teams use it

Educational Institution Code Hosting

Universities deploy Gitea on campus servers to teach version control while maintaining student data privacy and FERPA compliance.

IoT Device Firmware Development

Hardware teams run Gitea on ARM-based build servers to manage embedded code repositories alongside CI/CD pipelines for cross-compilation.

Enterprise Air-Gapped Development

Regulated industries host Gitea in isolated networks to maintain source code security while providing developers familiar Git workflows.

Open Source Project Mirrors

Communities create self-hosted mirrors with Gitea to reduce dependency on external platforms and ensure long-term code availability.

Tech snapshot

Go82%
Handlebars8%
TypeScript4%
CSS3%
JavaScript2%
Vue1%

Tags

github-actionsbitbucketgiteagithubgovuedocker-registry-v2maven-servergit-servernpm-registryhacktoberfestgit-guidevopscicdgitgitlabgolang

Frequently asked questions

How do you pronounce Gitea?

Gitea is pronounced /ɡɪ'ti:/ as in 'gi-tea' with a hard g.

What databases does Gitea support?

Gitea supports SQLite for lightweight deployments, plus PostgreSQL and MySQL for larger installations requiring advanced database features.

Can Gitea run on Raspberry Pi or ARM devices?

Yes, Gitea fully supports ARM architectures and is commonly deployed on single-board computers and low-power devices.

Is Gitea compatible with GitHub Actions workflows?

Gitea Actions provides experimental support for GitHub Actions syntax, allowing many existing workflows to run with minimal modification.

Where can I find security patches and updates?

Security patches are documented in release logs and changelogs with the keyword 'SECURITY' for easy identification.

Project at a glance

Active
Stars
53,287
Watchers
53,287
Forks
6,337
LicenseMIT
Repo age9 years old
Last commit14 hours ago
Self-hostingSupported
Primary languageGo

Last synced 13 hours ago