Why Nostr? What is Njump?
2024-07-26 16:39:25

brugeman on Nostr: Added embeds and link previews to Npub.pro nostr sites. It's still early, but the ...

Added embeds and link previews to nostr sites.

It's still early, but the system of plugins and templates is slowly taking form.

The embeds/previews are a separate plugin, not part of the core engine - we include it everywhere for now, but it's a separate thing, so that you'd be able to eventually swap one implementation to another if needed.

What's cool is that preview plugin only fetches the linked page metadata and oembed info, and then asks the core to render that info. There is a built-in template for rendering previews, but later on themes and other plugins will be able to override the default template and modify the output.

Logic in plugins, presentation layer in templates, all pluggable and connected through the engine. These Lego blocks will produce infinite custom nostr apps, interoperable with existing web.

Exciting!
Link previews & embeds are live on your nostr sites!

We added support for Oembed standard, which means YouTube, Spotify and similar links are now converted into a nice player or custom preview:





And if the linked site doesn't support oembed, we do our best to show a nice link preview box:



Your nostr posts keep getting better on the web!

Next stop: nostr link previews for quotes and replies.
Author Public Key
npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy