Why Nostr? What is Njump?
2024-09-03 08:17:36

provoost on Nostr: You can download and process the entire Bitcoin blockchain in a browser, why not a ...

You can download and process the entire Bitcoin blockchain in a browser, why not a git repo?

(well, it might be slow and complicated, but maybe?)
I was thinking that exposing files at exact commits would be simpler, but then I realized that to get the exact commit you would need an API that returns all references and HEAD (separate from the repository state event) and then I realized that to build a GitHub-like way to browse files on gitworkshop you'll also need all these things, plus a history of commits, metadata about all commits and so on, right?

Which brings me back to: why not do a full repository clone on the browser and get all that data at once? Is it just the big size of things?
Author Public Key
npub1s6z7hmmx2vud66f3utxd70qem8cwtggx0jgc7gh8pqwz2k8cltuqrdwk4c