provoost on Nostr: Shortening could be done by e.g.: /e/ for nevent, /p/ for nprofile, etc Followed by ...
Shortening could be done by e.g.:
/e/ for nevent, /p/ for nprofile, etc
Followed by just enough first letters that it's unique.
This works especially well for self hosting because the number of events would be limited (e.g. a whitelist of npubs of yourself and some alt accounts).
A public service could offer this as a SAAS: you get a short URL and (static) server side rendered page for any event/profile you visit, with a cookie to track your balance, NWC or something nuts.
Published at
2024-10-19 08:26:29Event JSON
{
"id": "474bdd4544a114bb333ff52e9146a5dd6a2a6bc146cbcc0906cbc43565a19083",
"pubkey": "8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8",
"created_at": 1729326389,
"kind": 1,
"tags": [
[
"e",
"0a5d87209e41aeae4f2d6b8792bb57a39cb53f78c1a7b91bb02a68b08cd1cd7f",
"",
"root"
]
],
"content": "Shortening could be done by e.g.:\n/e/ for nevent, /p/ for nprofile, etc\nFollowed by just enough first letters that it's unique.\n\nThis works especially well for self hosting because the number of events would be limited (e.g. a whitelist of npubs of yourself and some alt accounts).\n\nA public service could offer this as a SAAS: you get a short URL and (static) server side rendered page for any event/profile you visit, with a cookie to track your balance, NWC or something nuts.",
"sig": "6dcb8af6ab9f3a4f97c083e67e82bea8abaffcd4138f3cf9e399340e37f6b0b729bab3fdd53358d0e77e3dc7a2df70dbd2674eeedef762b43309355f77a3741d"
}