Mike Dilger on Nostr: So, how would I build gittr (git transmitted by relays)? Event kind R = repository ...
So, how would I build gittr (git transmitted by relays)?
Event kind R = repository root. Replaceable (by author). Points to git url(s). Everything related to that repo points to this with a 'repo' tag, except the 'repo' tag is searchable so some single letter we have not used yet.
Event kind I = repository issue. Long-form note that starts an 'issue'. Normal nostr threads proceed from here.
Event Kind PR = pull request. Points to a url and branch. Points to the repository root.
I would then make some web client that drives this so that the web client looks similar to gitea (which looks remarkably similar to github).
... but I'm building gossip, so please steal these ideas.
Published at
2023-03-04 04:38:30Event JSON
{
"id": "00006780e1cc6d35fced77a1752ac182ac33b8f2b580bb13d6ec66645606657a",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1677904710,
"kind": 1,
"tags": [
[
"nonce",
"10760600709663908060",
"16"
]
],
"content": "So, how would I build gittr (git transmitted by relays)?\n\nEvent kind R = repository root. Replaceable (by author). Points to git url(s). Everything related to that repo points to this with a 'repo' tag, except the 'repo' tag is searchable so some single letter we have not used yet.\n\nEvent kind I = repository issue. Long-form note that starts an 'issue'. Normal nostr threads proceed from here.\n\nEvent Kind PR = pull request. Points to a url and branch. Points to the repository root.\n\nI would then make some web client that drives this so that the web client looks similar to gitea (which looks remarkably similar to github).\n\n... but I'm building gossip, so please steal these ideas.",
"sig": "41d1ef244d2d3d107d6e8291dbfe666790b5a8d9b58cf47c541173bc26437035f7cd02760be854f0ec6d0a5699b59f347cd4bf2ecdfa28e61ba3759dce4864e5"
}