Gitea/Forgejo - Self-Hosted Git
Basic Information
- Gitea:
- Official Website: https://gitea.io/
- GitHub: https://github.com/go-gitea/gitea
- License: MIT
- Programming Language: Go
- Forgejo:
- Official Website: https://forgejo.org/
- Codeberg: https://codeberg.org/forgejo/forgejo
- License: GPL v3 (MIT → GPL conversion)
- Programming Language: Go
- Managing Organization: Codeberg e.V. (non-profit)
- Type: Open-source self-hosted Git code hosting platform
Product Description
Gitea is a lightweight self-hosted Git service that offers a GitHub-like code hosting experience. Forgejo is a project that forked from Gitea in late 2022 due to community concerns about Gitea's governance model and commercialization direction. Both provide repository management, issue tracking, pull requests, CI/CD, and other features, serving as lightweight self-hosted alternatives to GitHub/GitLab.
Core Features/Characteristics (Shared by Both)
- Repository Management: Git repository hosting, branch management, code review
- Issue Tracking: Issue tracking and project management
- Pull Request: Code review and merge process
- Wiki: Project documentation Wiki
- Actions: CI/CD compatible with GitHub Actions syntax
- Package Registry: Software package hosting
- Webhooks and API: Third-party integrations
- Organizations and Teams: Multi-level permission management
Key Differences Between Gitea and Forgejo
Governance Model
- Gitea: Controlled by Gitea Ltd. (for-profit company), adopting an Open Core model
- Forgejo: Managed by Codeberg e.V. (non-profit organization), emphasizing transparent governance and democratic decision-making
License
- Gitea: MIT license, but requires contributors to transfer copyright
- Forgejo: All software and documentation are released under free software licenses
Security
- Forgejo: Prioritizes rapid security vulnerability fixes and advance notifications
- Gitea: Criticized for exposing administrators to known risks in handling security vulnerabilities
2024 Watershed
- Forgejo became a "hard fork" in early 2024, with its codebase beginning to diverge from Gitea
- Each develops independent features, with compatibility gradually decreasing
Business Model
- Gitea: Gitea Ltd. offers commercial support and enterprise features
- Forgejo: Non-profit operation, community-driven development
Target Users
- Individual developers needing lightweight Git hosting
- Small to medium-sized development teams
- Server environments with limited resources
- Educational institutions
- Developers emphasizing free software principles (more inclined towards Forgejo)
Competitive Advantages
- Much lighter than GitLab's self-hosted version (memory usage over 10 times lower)
- Single binary deployment, extremely simple
- GitHub Actions-compatible CI/CD
- Active community and frequent updates
Competitive Landscape
- GitLab Self-Hosted: More comprehensive features but resource-intensive
- GitHub: Largest code hosting platform (not self-hosted)
- Gogs: Predecessor of Gitea, less maintained
- OneDev: Another self-hosted Git solution
2026 Recommendation
For most self-hosted users, Forgejo is the better choice in 2026, unless there are specific enterprise needs or dependencies on Gitea-specific integrations.
Relationship with OpenClaw
OpenClaw can integrate with Gitea/Forgejo to enable AI agents to operate on code repositories—creating issues, reviewing PRs, managing projects, etc. This is particularly valuable for automating developer workflows.