@npub1048q...x3nf release: human-friendly URLs
- Defaults to using nip05 and article identifier for readable URLs, Habla nip05 users also get prerendering and shorter URLs
- Adds a Share button to your articles for copying URL or nostr ID
- Adds a URL preview to editor
Long ass URLs will always work but have decided to move to these by default due to community feedback.
Let me know what you think!
cc @Tony @PABLOF7z
Login to reply
Replies (13)
This is awesome!!!
Are you resolving the NIP-05 on load client side every time or are you caching on the backend?
Resolving nip05 on the backend for now, need to add caching
Did you try client-side? Was it too slow?
nope, but will try this
Curious about the results if you do!
I think this will be great.
While it makes for a nicer URL, it is not recommended. These links get copied and people don't keep their nip05 resulting in broken links very quickly.
It might have been better to use a different syntax for NIP-05 rather than email syntax.
eg name:domain.com
Logout button is a major W!
Tangential to the problem I mentioned. For the nice url, the @ could still be replaced with a /, too.
wow great work!!
FYI it looks like the link at the bottom of the “write” page directs to an article url that has the domain twice and therefore won’t load even after being posted. It looks correct, but opens the link like:
https://habla.news/habla.news/armstrys…