Welcome to Gitflare
Gitflare is a self-hosted GitHub alternative designed to run entirely on the Cloudflare Developer Platform. With no VMs or containers required, Gitflare leverages Cloudflare Workers and Durable Objects to provide a fully serverless Git hosting experience at the edge.Gitflare is currently in early development. Expect bugs and missing features as we continue to build and improve the platform.
Key features
Gitflare brings modern Git hosting capabilities to the serverless edge:Serverless architecture
No VMs or containers needed. Built entirely on Cloudflare Workers and Durable Objects for automatic scaling and zero maintenance.
Global edge network
Deployed on Cloudflare’s global network for low latency access from anywhere in the world.
Unlimited repositories
Create unlimited public and private repositories with full Git protocol support.
Issues & pull requests
Track bugs and feature requests with built-in issue management. Pull requests coming soon!
Web interface
Manage repositories, browse code, view commits, and handle issues through an intuitive web UI.
Open source
Completely open-source under the MIT License. Self-host on your own Cloudflare account.
How it works
Gitflare reimagines Git hosting with a fully serverless architecture:Git protocol handling
When you run standard Git commands, requests are handled by the TanStack Start application running on Cloudflare Workers. The application implements the Git Smart HTTP protocol (
git-upload-pack for fetch/pull and git-receive-pack for push).Repository data storage
Each repository gets its own isolated Durable Object instance with a virtualized file system built on Durable Object SQLite storage. All Git objects (blobs, trees, commits, tags) and references (branches, tags) are stored here.
Tech stack
Gitflare is built with modern web technologies optimized for edge computing:- TanStack Start - Full-stack React framework for the web interface
- Cloudflare Workers - Serverless execution environment for Git protocol handlers
- Cloudflare Durable Objects - Strongly consistent storage for Git repository data
- Cloudflare D1 - SQLite database for user data and metadata
- Better Auth - Authentication and authorization
- isomorphic-git - Pure JavaScript Git implementation
Get started
Ready to deploy your own Gitflare instance?Quickstart
Set up your first Gitflare instance in minutes
Architecture
Learn how Gitflare works under the hood
Git operations
Push, pull, and clone repositories
Community and support
GitHub repository
Star us on GitHub and contribute to the project
Report issues
Found a bug? Let us know on GitHub Issues