Finally!

Nostr.Band now renders proper meta-tags for profiles and event pages - links to profiles and events look much better when shared in messengers or xitters.

https://void.cat/d/U11QD7GAb58wcYn3Zcjtse.webp

This works with a small http server that fetches events/profiles on the server and injects meta tags into index.html of our built SPA. Just in case you need that in your own apps: https://github.com/nostrband/nometa

Reply to this note

Please Login to reply.

Discussion

Nice. Do you know why my RSS feeds stopped working?

Oh my, they depended on the old middleware that I terminated recently. Let me see if I can get them back...

That would be awesome! I'm lost without those feeds 😉

Nice! Every web client should do this :)

Exactly!

Thank you for your contribution!

A little handy update here - it will print the fetched event and profile into window.nometaPreloadedEvents={ event, profile } so that your SPA could render them ASAP without re-fetching on the client.

Grats!

Thanks!