HNHacker News
TopNewBestAskShowJobs

_qrpb

1 karma · joined May 9, 2026

submissionscomments
_qrpb··on Infinite Git repos on Cloudflare workers
OP here. Oops, thank you for pointing that out! We weren’t aware of it. We will investigate ASAP. In the worst case, we’ll change our name.
_qrpb··on Infinite Git repos on Cloudflare workers
Great question! By default, with libgit2 each write to a repo (e.g. push) will create a new pack file. We have written a simple packing algorithm that runs after each write. It works like this:

Choose these values:

* P, pack "Planck" size, e.g. 100kB

* N, branching factor, e.g. 8

After each write:

1. iterate over each pack (pack size is S) and assign each pack a class C which is the smallest integer that satisfies P * N^C > S

2. iterate variable c from 0 to the maximum value of C that you got in step 2

* if there are N packs of class c, repack them into a new pack, new pack is going to be at most of class c+1

_qrpb··on Infinite Git repos on Cloudflare workers
OP here. We're not an AI company; we're aiming to be AI-adjacent and simplify the practical application of AI models.
_qrpb··on Infinite Git repos on Cloudflare workers
OP here. Thank you and good catch! :-) We have a blog post planned on that topic.
_qrpb··on Infinite Git repos on Cloudflare workers
OP here. Not yet - it's about 50% complete. I plan to open-source it in the future.
_qrpb··on Infinite Git repos on Cloudflare workers
OP here. We’re building a new kind of Git platform. "Infinity" is more beneficial for us as platform builders (simplifying infrastructure) but less relevant to our customers as users.
_qrpb··on Infinite Git repos on Cloudflare workers
OP here. That’s expected for now, and we’re working on a solution. We didn’t explain the reason in the post because we plan to cover it in a separate write-up.
_qrpb··on Infinite Git repos on Cloudflare workers
Definitely! We're focused on launching right now, but once we have more bandwidth, we'd be happy to do it.

I believe our changes are solid, but they’re tailored specifically to our use case and can’t be merged as-is. For example, our modifications to libgit2 would need at least as much additional code to make them toggleable in the build process, which requires extra effort.

_qrpb··on Infinite Git repos on Cloudflare workers
OP here.

It’s unlikely any Git providers struggle with the number of repos they're hosting, but most are larger companies.

Currently, we're a bootstrapped team of 2. I think our approach changes the kind of product we can build as a small team.