https://github.com/fiatjaf/window.nostr.js now supports the "scan QR code" flow.
The easiest way to make a web client compatible with mobile signers like Amber and Primal and Aegis and Nowser and others I forgot.
You just write your app assuming that the user has an extension that provides NIP-07 (`window.nostr`) capabilities and include the <script>. If the user actually has an extension nothing happens, if he doesn't then the script is activated and everything is handled in the background.

The easiest way to make a web client compatible with mobile signers like Amber and Primal and Aegis and Nowser and others I forgot.
You just write your app assuming that the user has an extension that provides NIP-07 (`window.nostr`) capabilities and include the <script>. If the user actually has an extension nothing happens, if he doesn't then the script is activated and everything is handled in the background.
