Replying to Avatar brugeman

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

Found a small big 😁 https://github.com/nostrband/nometa/pull/1

Reply to this note

Please Login to reply.

Discussion

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.