Why Nostr? What is Njump?
2024-04-24 07:37:57
in reply to

reya on Nostr: In tauri v2 (beta), it is supporting spawn multiple webview inside main window, state ...

In tauri v2 (beta), it is supporting spawn multiple webview inside main window, state (in rust) of main window will be share across child webviews too.

So Lume use this technique to implement column system, each column is actual webview, it can load any thing, include other nostr client (via url).

You also can control what data child webview can access too, like prevent child webview get user's private key.

You can check my implement here: https://github.com/lumehq/lume/blob/main/src-tauri/src/commands/window.rs

And demo for using Snort inside Lume:
Author Public Key
npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445