LezKoma on Nostr: 2. I called "repo relays" the "relays" tag value in the 30317 event, and "relay hint" ...
2. I called "repo relays" the "relays" tag value in the 30317 event, and "relay hint" the relay in the nostr remote URL, like: nostr://nip05/relay.hint/identifier
How will gitworkshop.dev find out which URL to show in the green "clone" dropdown? (nostr://nip05/relay.hint/identifier, or nostr://nip05/identifier? - or one of the npub / nevent / naddr variant?)
3. Fine, but then we need to add an "identifier: Option<String>" member, too. Because we can't store it anywhere else until we haven't resolved the nip05 to a pubkey.
Published at
2024-12-08 20:28:29Event JSON
{
"id": "9568dc881e6aec4912a7cf6838955405def17ddce1e3e26de519e9e063b34ab7",
"pubkey": "cfd7df62799a22e384a4ab5da8c4026c875b119d0f47c2716b20cdac9cc1f1a6",
"created_at": 1733689709,
"kind": 1,
"tags": [
[
"e",
"29b2f4810dae7bf293e4da03c66204e090c2286441ddbf80ed5f76488d66b554",
"wss://relay.damus.io",
"root"
],
[
"e",
"addf507374855e65358fe237f2fb925ed30113a6ae11bd9fb19b9f3bc43cd518",
"wss://relay.damus.io",
"reply"
],
[
"r",
"26689f97810fc656c7134c76e2a37d33b2e40ce7"
],
[
"a",
"30617:a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d:ngit"
],
[
"p",
"a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
"wss://relay.nostr.band/"
]
],
"content": "2. I called \"repo relays\" the \"relays\" tag value in the 30317 event, and \"relay hint\" the relay in the nostr remote URL, like: nostr://nip05/relay.hint/identifier\nHow will gitworkshop.dev find out which URL to show in the green \"clone\" dropdown? (nostr://nip05/relay.hint/identifier, or nostr://nip05/identifier? - or one of the npub / nevent / naddr variant?)\n3. Fine, but then we need to add an \"identifier: Option\u003cString\u003e\" member, too. Because we can't store it anywhere else until we haven't resolved the nip05 to a pubkey.",
"sig": "296ff18afe21f16800e5222a93c15f397c9f50f9e6b7158448f818313302d5c529320712a76389655da6cb015ae8f3005d6e072c1258c024b8e4ff5d3b82c536"
}