fiatjaf on Nostr: now supports the "scan QR code" flow. The easiest way to make a web client compatible ...
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.
Published at
2026-01-26 20:45:56 UTCEvent JSON
{
"id": "821d75e374b9d76fe0d45e12b6382c670750e3d0ba0bf60df5dab64ba17bf269",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1769460356,
"kind": 1,
"tags": [
[
"imeta",
"url https://image.nostr.build/671d9c693d0791ed62cc01a1edaa6e5e0ba8c10ce4b2d1f2c92f358cffa08b57.gif",
"ox 671d9c693d0791ed62cc01a1edaa6e5e0ba8c10ce4b2d1f2c92f358cffa08b57",
"x 81bb70b3e03fe737e451fe346c59ecca1e6475ac20e5c5e0ca1fe808bd4bacd6",
"m image/gif",
"dim 1x1",
"bh LDRCug00Mv~XalS$ozjFDNr-nya$",
"blurhash LDRCug00Mv~XalS$ozjFDNr-nya$",
"thumb https://image.nostr.build/thumb/671d9c693d0791ed62cc01a1edaa6e5e0ba8c10ce4b2d1f2c92f358cffa08b57.gif"
]
],
"content": "https://github.com/fiatjaf/window.nostr.js now supports the \"scan QR code\" flow.\n\nThe easiest way to make a web client compatible with mobile signers like Amber and Primal and Aegis and Nowser and others I forgot.\n\nYou just write your app assuming that the user has an extension that provides NIP-07 (`window.nostr`) capabilities and include the \u003cscript\u003e. 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.\n\nhttps://image.nostr.build/671d9c693d0791ed62cc01a1edaa6e5e0ba8c10ce4b2d1f2c92f358cffa08b57.gif",
"sig": "8c30d2f8e93dd9fa476e4b74ca9e869add3592a291e79095a790e40eeaad86a5981d3a472a7aae30f27b9df13cf61c9d6a9801c9c2673f4c95744991f1d55f88"
}