Gitea

Gitea

53519 stars

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD.

Gitea is a painless self-hosted Git service that provides everything you need for modern software development. It's a community-driven fork focused on being lightweight, fast, and easy to install while offering features comparable to GitHub and GitLab.

Key Features

Complete Git Hosting: Repository hosting with all standard Git features. Clone, push, pull, branch, merge—everything works as expected.

Issue Tracking: Built-in issue tracker with labels, milestones, assignees, and project boards. Manage your development workflow without external tools.

Pull Requests & Code Review: Collaborative code review with inline comments, approval workflows, and merge strategies. Enforce branch protection rules.

Gitea Actions (CI/CD): Native CI/CD pipeline runner compatible with GitHub Actions syntax. Automate testing, building, and deployment directly from your repositories.

Package Registry: Host your own package registry for npm, PyPI, NuGet, Maven, Docker images, and more. Keep dependencies close to your code.

Wiki & Documentation: Each repository includes an optional wiki for project documentation. Supports Markdown with live preview.

Organizations & Teams: Create organizations with fine-grained team permissions. Control who can read, write, or administer repositories.

Why Self-Host Gitea?

GitHub and GitLab SaaS products are excellent, but your code is your intellectual property. Self-hosting ensures your source code, issues, and development history remain under your control. For private projects, client work, or compliance-sensitive code, Gitea offers complete sovereignty.

Deployment

Gitea is distributed as a single binary with no external dependencies (database optional—SQLite works for small teams). Docker deployment takes minutes. Resource usage is remarkably low—it runs on a Raspberry Pi while handling moderate team usage.

For production, pair with PostgreSQL or MySQL for better performance at scale. Use a reverse proxy for HTTPS and configure SSH access for streamlined Git operations. Migrate from GitHub, GitLab, or other providers using built-in import tools.

Alternative to

Gitea is a self-hosted alternative to popular services:

Related Productivity Apps