nostr:npub1048qg5p6kfnpth2l98kq3dffg097tutm4npsz2exygx25ge2k9xqf5x3nf 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 nostr:npub10awzknjg5r5lajnr53438ndcyjylgqsrnrtq5grs495v42qc6awsj45ys7 nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft

Reply to this note

Please Login to reply.

Discussion

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

Tangential to the problem I mentioned. For the nice url, the @ could still be replaced with a /, too.

Logout button is a major W!

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…