We've been playing with Apache…

Jul 03, 2023

We've been playing with Apache Cordova for a while to turn nostr.band web app into a mobile app. Key storage was an unsolved problem though, so we started to prototype a solution.

Here is Cordova plugin that exposes NIP-07 JS interface into the hosted web app: https://github.com/nostrband/nostr-keystore-cordova-plugin

Your nostr keys live inside the plugin, never leave the native code (and thus protected from most web attacks), and are stored in an encrypted form using the OS keystore. Android only for now.

Any nostr web SPA can be turned into a mobile app with Cordova and this plugin. Here is nostr.band app: https://github.com/nostrband/nostr-band-cordova/blob/main/android.apk

And here is Snort (took 10 minutes to produce the apk): https://github.com/denis1989java/snort-nostr-client/blob/main/android.apk

(This is beta, don't use your real keys!)

This is a potential nostr-focused alternative to installing the Kiwi browser with a NIP07 extension. We'll continue to experiment in this direction. If you have any feedback or ideas, please let me know!

brugeman

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