DEV Community

Cover image for Building your own Git remote in under an hour
Çalgan Aygün
Çalgan Aygün

Posted on

Building your own Git remote in under an hour

git·vodka's idea had been sitting in the back of my mind for a while.

not as some big product idea. I just wanted a tiny git remote I could run for myself, friends, and family. something a little nicer than throwing bare repos on a server, but without turning it into another giant developer platform.

today, with everyone suddenly talking about GitHub alternatives again after the recent downtime, I checked git.vodka and saw the domain was available.

so I bought it.

from there it was mostly impulse. pointed the domain at Cloudflare, opened Codex, and started building.

the whole thing runs on Cloudflare: workers for the app, R2 for git objects and blobs, and D1 for the database. it also contains its own source code, which felt like a fun requirement for something hosting git repos.

there wasn't really a plan beyond "let's see if this works."

it did.

Snapshot of git.vodka

from buying the domain to having a working version online, the whole thing took less than an hour. Codex wrote most of the boring parts while I kept changing my mind about how I wanted it to work.

it's currently running entirely on Cloudflare's free tier, which is kind of ridiculous in the best way.

anyway, that's git·vodka.

you can poke around at git.vodka.

and yes, the main advantage of owning your own git hosting service is that nobody can stop you from taking the username c.

Top comments (0)