Gitea
Profile
Gitea is a lightweight, self-hosted Git service written in Go that provides repository hosting, code review, and project management capabilities. Originally forked from Gogs, it has evolved into a mature platform with an active development community and widespread adoption across educational institutions, enterprises, and development teams. Gitea operates under the MIT License and is maintained by Gitea Limited, a for-profit company established in 2022, alongside community contributors through a Technical Oversight Committee governance model. The platform distinguishes itself through minimal resource requirements, single-binary deployment, and comprehensive Git hosting functionality without the overhead of larger enterprise platforms.
Focus
Gitea addresses the need for organizations requiring on-premises Git hosting with complete data sovereignty while avoiding the complexity and resource demands of larger platforms. It solves problems related to cost efficiency by eliminating SaaS subscription fees, provides full-featured version control with minimal hardware requirements, and enables deployment in resource-constrained environments including edge computing scenarios. The platform serves small to medium-sized development teams, educational institutions managing student projects, enterprises with compliance requirements for on-premises code hosting, and organizations prioritizing operational simplicity. Its lightweight architecture makes it particularly valuable for teams managing numerous microservice repositories or operating in bandwidth-limited environments.
Background
Gitea originated as a community-driven fork of Gogs in 2016, evolving independently with enhanced features and broader community participation. The project transitioned to corporate stewardship in October 2022 when Gitea Limited was established, with founder Lunny Xiao transferring domain names and trademarks to the company. This governance change prompted the creation of Forgejo, a community-maintained fork, while Gitea itself continues active development under a hybrid model combining community-elected and company-appointed Technical Oversight Committee members. The platform maintains consistent release cycles with regular security updates and feature enhancements. Notable deployments include educational institutions, enterprise organizations, and development teams worldwide seeking self-hosted alternatives to GitHub or GitLab.
Main features
Repository hosting and code collaboration
Gitea provides complete Git repository management with SSH and HTTPS protocol support, web-based code browsing, and inline file editing capabilities. The platform implements pull requests with line-by-line code review, issue tracking with labels and milestones, and per-repository wiki support. Branch management includes protection rules, merge strategies, and tag handling. The system supports repository mirroring from external sources, release management with binary attachments, and webhook integration for CI/CD pipelines. Organizations can structure repositories under teams with granular access controls, while the platform maintains activity feeds and commit history visualization for tracking development progress.
Authentication and access control
The platform implements flexible authentication supporting local user accounts, LDAP/Active Directory integration, and OAuth2 providers including GitHub, Google, and OpenID Connect. Access control operates at repository, organization, and team levels with configurable permissions for read, write, and administrative operations. Repositories can be designated as public, private, or internal with visibility rules determining access scope. The system supports two-factor authentication enforcement, SSH key management, and personal access tokens for API authentication. User registration can be configured for open signup, invite-only, or disabled modes, with administrative controls for account approval and email verification requirements.
Minimal deployment architecture
Gitea ships as a single compiled binary with embedded dependencies, requiring only a Git installation on the host system. The platform supports multiple database backends including embedded SQLite for zero-configuration deployments, or PostgreSQL, MySQL, and MSSQL for production environments. Resource requirements remain exceptionally low, enabling operation on systems with 512MB RAM and modest CPU allocation. Deployment options include direct binary execution, Docker containers, package manager installation, or compilation from source. The Go-based implementation provides native cross-platform support for Linux, Windows, macOS, and ARM architectures including Raspberry Pi, with reverse proxy compatibility for Nginx or Apache integration.





