mikedilger / gossip

Gossip is a nostr client
Other
718 stars 83 forks source link

Convert nostr client URLs to nostr: form #902

Open mikedilger opened 2 weeks ago

mikedilger commented 2 weeks ago

See https://github.com/nostrability/nostrability/issues/76

There should be a way for the user to NOT convert though... some UI option (right click?).

Also, we are probably going to need to accumulate lots of URL patterns representing all the client URLs we would be converting.

mikedilger commented 1 week ago

Maybe also (or better), when we display a URL that is a link into another client, give an option to just go to the note directly instead. So at the read/rendering side, rather than the compose/post side.

mikedilger commented 1 week ago

Patterns I have collected so far:

https://primal.net/e/{note1} https://njump.me/{nostr-bech32} https://nostrudel.ninja/#/n/{nevent} https://npubkey.github.io/posts/{nevent} https://yakihonne.com/uncensored-notes/{nevent} https://snort.social/{nevent} https://coracle.social/people/{nprofile} https://coracle.social/notes/{nevent} https://iris.to/{note1}