Added embeds and link previews to…
Added embeds and link previews to Npub.pro 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!