GitFlare

Self-hosted Git repository hosting server.

Overview

GitFlare is a lean, self-hosted Git server built in Python. It sits as a thin layer on top of Git's own tooling — delegating all object storage and protocol handling to Git itself, while providing auth, repo management, and (eventually) a web UI on top.

It is not a GitHub/GitLab replacement. GitFlare is aminimal, auditable Git server — no databases, no ORM, no unnecessary infrastructure. Just Git, Python, and your bare repos.

Builds from source, no pre-compiled binaries. How to install: Documentation

Key Features

HTTP Smart Protocol

Full clone, fetch, and push over HTTP using Git's own http-backend.

Token Auth

Per-repo access tokens with bcrypt hashing, stored in your system keychain.

SSH Key Auth

SSH key management via admin CLI with git-shell restriction.

Lightweight

FastAPI + uvicorn, no database, no ORM. Just bare Git repos with flat JSON metadata.

Current Status

Active Development

GitFlare is currently in active development. HTTP push/pull with token auth and SSH key auth are functional. The admin CLI and credential helper are stabilizing.

Recent Updates