fiatjaf on Nostr: To be fair the write-up on that page is not the clearest possible. I think ...
To be fair the write-up on that page is not the clearest possible. I think
DanConwayDev (npub15qy…yejr) may be working on a better protocol description.
The idea as far as I know is just that there may be many Git servers anywhere -- like Blossom servers -- that host repositories from anyone (maybe they'll ask for a pre-payment, maybe they will have a free quota for some Nostr users and so on) that you can just push your repositories to. And your pushes are pre-authorized by publishing a Nostr event beforehand that says what is your repository state (branch=commit, HEAD=branch or something like that).
Then when announcing your repository you can include multiple git+http URLs to these servers that people can clone the project from. And Git-enabled Nostr clients can contact these servers to download and display source code and Git history data.
It's a very simple idea but a very powerful one.
Published at
2025-06-18 00:03:11Event JSON
{
"id": "affcb0ff6263b093526465702740ca3b6ccfabce1d425028f732036427a33e74",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1750204991,
"kind": 1,
"tags": [
[
"e",
"a1b452375f7fcbb28f15e644823810e48fcc1cfe2b9cef820215554c417044b5",
"",
"root",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"e",
"5b0fdb6629b5d4135e75c8225f051929bb2c21b06e9d24863e8217428bdc1025",
"wss://relay.damus.io/",
"reply",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d"
],
[
"p",
"d91191e30e00444b942c0e82cad470b32af171764c2275bee0bd99377efd4075"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "To be fair the write-up on that page is not the clearest possible. I think nostr:npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr may be working on a better protocol description.\n\nThe idea as far as I know is just that there may be many Git servers anywhere -- like Blossom servers -- that host repositories from anyone (maybe they'll ask for a pre-payment, maybe they will have a free quota for some Nostr users and so on) that you can just push your repositories to. And your pushes are pre-authorized by publishing a Nostr event beforehand that says what is your repository state (branch=commit, HEAD=branch or something like that).\n\nThen when announcing your repository you can include multiple git+http URLs to these servers that people can clone the project from. And Git-enabled Nostr clients can contact these servers to download and display source code and Git history data.\n\nIt's a very simple idea but a very powerful one.",
"sig": "904df73264f5fcb308f8d36e74f7ec13bfdbe54ecf92e26bc30ee70873293795889effd19aaa0e3ac0bca8935fa8025e12d96f851181eca11148bee0cbaee08f"
}