Update on nostr-embed widget:

Apr 19, 2023

Update on nostr-embed widget:
- added support for NIP-27 - rendering of inline nostr: links
- added support for NIP-45 - now it will use COUNT request to show the like/reply/repost counters instead of downloading all the corresponding events and counting them in the browser.

The latter is quite a win, because a popular post (i.e. one by Lyn Alden) would require every viewer of the widget to download almost 5 Mb of data just to show the counters! With the NIP-45 COUNT request, relay only serves the counter, which takes the amount of traffic spent down to 1 Mb (we still have to download all zaps to calculate the total amount).

Try it here: https://embed.nostr.band/?q=note12rapsy6ekpppwyyxq5quwq8rs02y3skm9m0faddh6njuj5djl66q579teu

brugeman

Building https://npub.pro https://nostr.band and https://nsec.app Create beautiful nostr-based websites with Npub.pro