Skip to content

gitbucket

Self-hosted Git platform in Scala with GitHub API compatibility, run from one WAR file

Permissive (OSI) · Apache-2.0
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

74

Health

Active

Overview

Stars

9,428

Last commit

today

Nov 2026

Repository age

13 years

since Apr 2013

Latest version

4.48.0

Sep 2026

Contributors

–

6 active in 90 days

Releases

6

last 12 months

Language

Scala

GitBucket is a Git web platform written in Scala. You run it with Java 17 by launching a single gitbucket.war file, or deploy that file to a servlet container such as Jetty or Tomcat. It does not yet support Jakarta EE.

It hosts public and private repositories over HTTP, HTTPS and SSH, with Git LFS support. Each repository has a file viewer with an online editor, issues, pull requests and a wiki. You also get an activity timeline, email notifications, account and group management and LDAP integration.

Its API is compatible with GitHub's, and a plugin system adds features. Official plugins cover gists, emoji, pages and notifications. Data lives in a single home directory by default, so backing it up means copying that folder. The project puts ease of installation and GitHub API compatibility first, so some feature requests may be declined. It is Apache-2.0 licensed and can replace GitHub or similar hosted Git services on your own server.

Who it's for

Small teams wanting private Git hosting

One WAR file and Java 17 get you repositories, issues and pull requests quickly.

Skip if: You need built-in CI/CD pipelines and a large feature set.

Organizations using LDAP

Account and group management integrates with LDAP.

Skip if: You need SSO beyond what LDAP offers.

Teams with tools that call the GitHub API

API compatibility lets existing integrations work with fewer changes.

Skip if: You rely on newer GitHub-only features.

The problem it solves

Hosting code on a third-party service may not suit private or internal projects. GitBucket gives you a GitHub-style platform on your own server with little setup.

Strengths

  • Starts with java -jar gitbucket.war on Java 17
  • GitHub API compatibility
  • Git LFS, SSH and HTTP/HTTPS access
  • Plugin system with official gist, emoji, pages and notification plugins
  • Apache-2.0 license; 6 releases in the last year

Trade-offs

  • Does not support Jakarta EE servlet containers
  • Recent versions include large database migrations, so back up before upgrading
  • Upgrading from 4.42 or earlier with the default H2 database requires a manual migration
  • Feature requests that conflict with its priorities may be rejected

gitbucket replaces

Self-host gitbucket

Self-hostable
Yes

Frequently asked questions

Is GitBucket free and self-hostable?

Yes. It is Apache-2.0 licensed and designed to run on your own server.

What do I need to run it?

Java 17. Download gitbucket.war and run it with java -jar, then open port 8080.

Does it support LDAP?

Yes. Account and group management integrates with LDAP.

How do I back it up?

By default all data is in the .gitbucket folder in the home directory. Copy it to back up.

Can I extend it?

Yes, through plugins. Official ones cover gist, emoji, pages and notifications.

Other GitHub alternatives

Compare all 7 GitHub alternatives →

Similar tools in Git hosting and version control

GitLab

Git hosting and version control

Self-hosted or SaaS DevOps platform with Git hosting and built-in CI/CD

6.2k 13k 3 days ago Active MIT

Replaces GitHub

Forgejo

Git hosting and version control

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

5.9k 1k 2 days ago Thriving GPL-3.0-or-later

Replaces GitHub

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