selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Best self-hosted Code Hosting

Self-hosted code hosting means you run the Git server, web interface and collaboration tools on your own machines instead of using a hosted service. More about Code Hosting

--sort
21 projects· by score

Projects

About self-hosted Code Hosting software

Your repositories, issues and review history stay under your control. Gitea is described as an all-in-one service covering Git hosting, code review, team collaboration, package registry and CI/CD. Gogs is presented as a simple way to host your own Git service. Forgejo is a lightweight software forge for Git hosting, project management and collaboration, designed for privacy, ease of use and independence from corporate control. Soft-Serve is a Git server aimed at the command line.

21 self-hosted Code Hosting projects are listed here, ranked by popularity, maintenance and documentation.

Highest rated
Gitea (58 964 GitHub stars, MIT license, written in Go), followed by harness and Gitness
Docker
11 of the top 12 ship an official Docker image
Easiest to set up
harness, Gitness and Gogs
Recently updated
Gitea v28.3.0 on 2026-11-01

Top self-hosted Code Hosting software compared

ProjectLicenseLanguageStarsDockerSetupLatest releaseScore
GiteaMITGo58 964YesModeratev28.3.089
harnessApache-2.0Go38 857YesEasyv2.28.280
GitnessApache-2.0Go38 857YesEasyv2.28.280
GogsMITGo47 922YesEasyv0.14.379
Drone CIApache-2.0Go38 857YesEasyv2.28.279
GitLab-CEMITRuby24 552YesAdvancedv19.5.178
BuzzApache-2.0Rust36 807YesModeratedesktop-v0.5.2876
GitLabmit——YesAdvanced68
gitbucketApache-2.0Scala9 421YesEasy4.48.067
FossilBSD-2-Clause———Moderate—65
RhodeCodeAGPL-3.0——YesAdvanced—64
OneDevApache-2.0——YesModerate—60