Back to services

Forgejo

A lightweight software forge focused on scaling, federation, and privacy (fork of Gitea).

View alternatives to Forgejo
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Forgejo is a lightweight, self-hostable software forge. Its official tagline is "Beyond coding. We forge." It is hosted by Codeberg e.V., a non-profit German organization with democratic governance, and was originally forked from Gitea. The project promises to always remain 100% free and open source software, and it uses only free software in its own development process.

You can sign up for an account on Codeberg or another public instance and start using it right away, or download Forgejo and deploy it on your own server.

Key Features

  • Git repository hosting: A web interface for browsing code and managing branches and commits
  • Collaborative development: Supports issues, pull requests, and code review, with a focus on collaboration efficiency
  • Project management: A clean interface that makes it easy to manage software projects
  • CI/CD: Built-in continuous integration with Forgejo Actions, which uses workflows similar to GitHub Actions
  • Package registry: Can host packages in many formats as well as container images
  • Federation: Decentralized collaboration features are under development, allowing different instances to interoperate

Target Users and Use Cases

  • Individual developers and teams who want to move away from commercial platforms such as GitHub and keep control of their code and data
  • Companies, schools, and organizations that need to host code privately on an internal network
  • Open source communities that value privacy, free software, and transparent governance
  • Homelab users with limited server resources

Core Strengths

  • Lightweight and high-performance: Feature-rich, yet the project says its resource usage is an order of magnitude lower than that of comparable platforms
  • Easy to install and maintain: No specialized operations skills are needed, and you can manage your own server with very little effort
  • Quick to pick up for GitHub users: The interface and workflow are close to GitHub's, so migration is smooth
  • Guaranteed to be fully free: There is no split between community and enterprise editions; every feature is free software
  • Transparent democratic governance: Hosted by a non-profit organization, with a decision-making process that is open and auditable
  • Focus areas: Security, scalability, federation, and privacy

Installation and Deployment

Forgejo is available in several forms:

  • Official container images, which you can deploy with Docker / Podman
  • Packages for various Linux distributions
  • Binaries you can download from the releases page and run directly

If you just want to try it out first, you can visit the official test instance at try.next.forgejo.org, or simply sign up on Codeberg.

Technical Requirements

Forgejo is written in Go and distributed as a single program. Its hardware requirements are very low, so it can run on a small VPS or a single-board computer. Supported databases include SQLite, PostgreSQL, and MySQL/MariaDB.

Notable Points

  • For the differences from Gitea, see the official comparison page; it is also recommended to read that page before upgrading from Gitea
  • The community welcomes contributions of all kinds, including translations, code, user research, UX design, and documentation, and the project accepts donations through Liberapay
  • The content of the official website is published under the CC BY-SA 4.0 license