Nyoro~n on Nostr: generally most nostr clients generate custom URIs that start with "lightning:" when ...
generally most nostr clients generate custom URIs that start with "lightning:" when discovering things like invoices or LNURLs to communicate with other apps. I was under the impression that Alby responds to lightning: URIs so clicking on links should open the extension already.
If the client you are using doesn't generate lightning: URIs then copy-pasting invoices is probably the way out (this was the norm before 11/22). generally when protocols used in links can't be handled by the browser it gets passed to the OS to find an application to handle the link. A way you can do this is create a entry for xdg-open to respond to lightning: URIs and set whatever command needed to execute.
Published at
2024-06-16 12:49:55Event JSON
{
"id": "ec09d01c1a3035a05da42e6ab8572578252d8e67319a05db87bc339b3e72e528",
"pubkey": "13883e40ec1b1940a655fa776ad5d337656a68767968598388148b977e56550f",
"created_at": 1718534995,
"kind": 1,
"tags": [
[
"e",
"5da2dc9c9775da90284e15ae58580252474daa24707faf54ecf6fa2b2f2b45d7",
"wss://relay.primal.net",
"root"
],
[
"p",
"9e4a52746bea8a034e017c201d60339836b77cf865bf99a7104293d9af8c4bc4",
"",
"mention"
],
[
"p",
"4657dfe8965be8980a93072bcfb5e59a65124406db0f819215ee78ba47934b3e",
"",
"mention"
],
[
"p",
"06830f6cb5925bd82cca59bda848f0056666dff046c5382963a997a234da40c5"
]
],
"content": "generally most nostr clients generate custom URIs that start with \"lightning:\" when discovering things like invoices or LNURLs to communicate with other apps. I was under the impression that Alby responds to lightning: URIs so clicking on links should open the extension already.\n\nIf the client you are using doesn't generate lightning: URIs then copy-pasting invoices is probably the way out (this was the norm before 11/22). generally when protocols used in links can't be handled by the browser it gets passed to the OS to find an application to handle the link. A way you can do this is create a entry for xdg-open to respond to lightning: URIs and set whatever command needed to execute. ",
"sig": "32963f59eb71f04aa4821723e82e9219cefd106079673f03063f8b4df30ecd333bdede109188d013a477b21c483148d0ca6fdb0a48cd70c3fafc3dfc25910760"
}