GitBucket
GitBucket is a Git web platform built with Scala, offering easy installation, intuitive UI, and GitHub API compatibility for self-hosted code collaboration.
Smart Download
Visit Project Homepage
No installer available yet — head to the source repository
Lightweight self-hosted Git platform, easy to install and API-compatible with GitHub.
Core Features
- Public/private Git repositories with HTTP/HTTPS and SSH
- Git LFS support
- Online file editor with Ace editor
- Issues, pull requests, and wikis
- Activity timeline and email notifications
What It Can't Do
- •Upgrading from versions <=4.42 to >=4.43 requires manual H2 database migration (dump then restore) because H2 1.x and 2.x are incompatible. Does not support Jakarta EE; requires Servlet 3.0 container. For production, consider using MySQL/PostgreSQL.
Use Cases
- Self-hosting private repositories for individuals
- Small team collaboration with issue tracking
- Migrating from GitHub to a self-managed server
- Offline/air-gapped environments needing Git hosting
Detailed Introduction
GitBucket is a self-hosted Git server written in Scala. It provides a lightweight, easy-to-install alternative to GitHub or GitLab. Key features include public/private repositories with HTTP/HTTPS and SSH access, Git LFS support, a web-based file editor, issues, pull requests, wikis, activity timeline, email notifications, LDAP integration, and a plugin system for extensibility. It is API-compatible with GitHub, making it easy to migrate tools and scripts. The project is open source under Apache 2.0 license.
Troubleshooting & FAQ (1)
TroubleshootingHow to fix 'Internal Server Error' and NullPointerException when viewing file history in GitBucket?
This is a known bug caused by a null RevCommit in JGitUtil.getCommitLog. Upgrade to GitBucket version 4.46.1 or later, which includes the fix from pull request #4000.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Double-click the downloaded installer and follow the prompts
Step 1: Install Java 17
Step 2: Download gitbucket.war from Releases
Step 3: Run `java -jar gitbucket.war`
- Step 1: Install Java 17
- Step 2: Download gitbucket.war from Releases
- Step 3: Run `java -jar gitbucket.war`
Checksum not available
This project has not published a SHA-256 checksum on its GitHub Release page
SHA256 Checksum
No checksum available
Download directly from GitHub Releases and verify file integrity yourself
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
Stop the process, delete the gitbucket.war file. Data is stored in ~/.gitbucket by default; remove that directory to wipe all data.
No Extra Dependencies
Ready to use after download. No additional runtime required.
Having issues? Check the FAQ below
1 FAQ