Skip to content

Forgejo

Lightweight self-hosted Git forge for small teams that want a GitHub-style workflow

Copyleft (OSI) · GPL-3.0-or-later
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

75

Health

Thriving

Overview

Stars

5,854

Last commit

2 days ago

Nov 2026

Repository age

4 years

since Nov 2022

Latest version

–

Nov 2026

Contributors

–

Releases

40

last 12 months

Forgejo is a self-hosted software forge for Git repositories. It is designed to be easy to install and low on maintenance, and it follows a GitHub-style workflow of repositories, issues and pull requests.

It runs on Linux and macOS, ships a command-line interface, and has a Homebrew formula. The project started in 2022, is licensed under MIT, and is hosted on Codeberg. Activity is high, with 42 releases in the past year.

It is a self-hosted equivalent to GitHub and can import from it. It does not include built-in security scanning or an AI coding assistant, and it lacks some features aimed at hosted scale. That makes it a better fit for small and mid-sized teams than for large enterprises.

Who it's for

Small teams that want their own Git server

It is lightweight and aims for low maintenance.

Skip if: You need built-in security scanning.

Homelab users and self-hosters

It runs on Linux and macOS and installs through Homebrew.

Skip if: You want a hosted service with no server to look after.

Teams leaving GitHub that want a permissive license

It is MIT licensed and can import from GitHub.

Skip if: You depend on an AI coding assistant in your forge.

The problem it solves

Relying on a hosted forge means your code lives on someone else's platform. You want a simple server you control that still feels like GitHub to use.

Strengths

  • MIT licensed
  • 42 releases in the last year
  • Imports from GitHub
  • Runs on Linux and macOS with a CLI and Homebrew formula

Trade-offs

  • No built-in security scanning
  • No AI coding assistant
  • Fewer features aimed at hosted scale

Forgejo replaces

Self-host Forgejo

Self-hostable
Yes

Frequently asked questions

Is Forgejo free?

Yes. It is open source under the MIT license.

Can I self-host it?

Yes. Self-hosting is its main use.

Can I import from GitHub?

Yes. It can import from GitHub.

Which platforms does it support?

Linux and macOS, with a command-line interface and a Homebrew formula.

Other GitHub alternatives

Compare all 7 GitHub alternatives →

Similar tools in Git hosting and version control

gitlabhq

Git hosting and version control

25k Unknown

OneDev

Git hosting and version control

Self-hosted Git platform with CI/CD, Kanban, issues and package registries in one

15k 992 yesterday Active MIT

klaus

Git hosting and version control

Zero-configuration web viewer for Git repositories you host on your own server

707 104 10 days ago Active ISC

GitHub Desktop

Git hosting and version control

Linux build of the GitHub Desktop Git client, shipped as AppImage, deb and rpm

8.1k 594 2 years ago Dormant MIT

GitLab FOSS

Git hosting and version control

Self-hosted Git platform with merge requests, issues and CI for software teams

7.2k 8.4k 3 days ago Slowing MIT

OpenHub

Git hosting and version control

Android GitHub client for browsing repos, issues and commits on your phone

4.4k 441 6 years ago Dormant GPL-3.0