Tim Bouma on Nostr: I like notes and npubs - easy to enter in a command line app or generate a QR code ...
I like notes and npubs - easy to enter in a command line app or generate a QR code for capture.
I find adding the protocol clunky and add modify for internal app use. I hate dealing with percent encoding. Ok, for deep link handling by apps/platforms but that’s not my context.
This is what I do:
npub -> hex string, bytes, or object
note -> hex string
relay url -> add wss:// or ws:// add - if already specified leave alone
mint url -> add https:// or http:// - if already specified, leave alone
Published at
2024-11-19 15:13:25Event JSON
{
"id": "85796655fd632d5ca1486e56e2962113cb0b6e68139bbfa0adc024053207b520",
"pubkey": "06b7819d7f1c7f5472118266ed7bca8785dceae09e36ea3a4af665c6d1d8327c",
"created_at": 1732029205,
"kind": 1,
"tags": [
[
"e",
"ac0ca4127014f8e55209b6b8d0069318f7b5dbbcc022b97c161d10876ccb2376",
"wss://nos.lol/",
"root"
],
[
"e",
"c9b4f4628a49f0053fdde79035267c2f4c8b6e30763b06ac3a330ebf30b2f86e",
"",
"reply"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"7fa56f5d6962ab1e3cd424e758c3002b8665f7b0d8dcee9fe9e288d7751ac194"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"17538dc2a62769d09443f18c37cbe358fab5bbf981173542aa7c5ff171ed77c4"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "I like notes and npubs - easy to enter in a command line app or generate a QR code for capture.\n\nI find adding the protocol clunky and add modify for internal app use. I hate dealing with percent encoding. Ok, for deep link handling by apps/platforms but that’s not my context.\n\nThis is what I do:\n\nnpub -\u003e hex string, bytes, or object\nnote -\u003e hex string\nrelay url -\u003e add wss:// or ws:// add - if already specified leave alone\nmint url -\u003e add https:// or http:// - if already specified, leave alone",
"sig": "a6acd9c37faca04a5a1121b106e985e2d6dff42a03466d16321071e77344934d246b45fd04ec205c35e5d200e2ae71a6cc8663d54781d5c4d1fdf125fe22c8d4"
}