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?
Published at
2024-09-03 06:17:36Event JSON
{
"id": "195f4c307427955dfe1446aeb32beb150063f09090d39203bfc9ce0c8b9b03d8",
"pubkey": "8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8",
"created_at": 1725344256,
"kind": 1,
"tags": [
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
]
],
"content": "You can download and process the entire Bitcoin blockchain in a browser, why not a git repo?\n\n(well, it might be slow and complicated, but maybe?) nostr:note1qqq0krrj5t4gw24p76zqy6lemrjqrf4fgmjdjclq5m2s7wl2p85q0wzw5g",
"sig": "ef8364b4f052dcaf41bddc3a64460a72810fa7961834299934fd2c02c0c29e2804a0d117ef22ac28c3477bfaeecfd9046f058624fe4e65f4cf718df0989b096a"
}