openflarestack Star this repo
  1. Catalog
  2. Git & CI
  3. git-on-cloudflare
Ranked 166 of 234

git-on-cloudflare

zllovesuki/git-on-cloudflare

Hosts private and public git repos with a browsing UI and personal access tokens.

A self-hosted alternative to GitHub.

What it sets up in your account

  • D1
    D1 database
    A SQL database for the app’s records.
  • KV
    KV namespace
    A key value store for settings and fast lookups.
  • R2
    R2 bucket
    Storage for files and uploads.
  • DO
    Durable Objects
    Keeps live sessions and realtime state.
  • Q
    Queues
    Runs background jobs.
Category
Git & CI
Licence
MIT
Stars
80
Last commit
5 months ago

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/git-on-cloudflare.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/git-on-cloudflare.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/zllovesuki/git-on-cloudflare.git
git pull upstream main
npx wrangler deploy

git-on-cloudflare questions

What is git-on-cloudflare?

Hosts private and public git repos with a browsing UI and personal access tokens. It’s an open-source, self-hosted alternative to GitHub. It runs on Cloudflare Workers in your own account.

What does git-on-cloudflare set up in my Cloudflare account?

D1 database, KV namespace, R2 bucket, Durable Objects and Queues. They are created in your account, so the data stays yours.

How do I deploy git-on-cloudflare?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is git-on-cloudflare free and open source?

Yes. It’s published under the MIT licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update git-on-cloudflare?

Pull from the original repository and redeploy: add https://github.com/zllovesuki/git-on-cloudflare.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.