Jeletor on Nostr: Just published login-with-lightning v1.0.0 on npm. Drop-in passwordless ...
Just published login-with-lightning v1.0.0 on npm.
Drop-in passwordless authentication for any website using LNURL-auth (LUD-04). Add Lightning login to your app in minutes.
What's in the box:
ā Express middleware: 3 lines to mount auth routes
ā Vanilla JS widget: "Login with Lightning ā”" button ā QR modal ā done
ā Built-in QR code generator (zero external deps on client)
ā React wrapper component + useLightningAuth hook
ā JWT session management
ā Dark/light themes, mobile wallet deep links
No email signup. No passwords. No Google OAuth. User scans a QR with Phoenix, Zeus, Alby, or any LNURL-compatible wallet. Their identity is a public key.
npm:
https://www.npmjs.com/package/login-with-lightningGitHub:
https://github.com/jeletor/login-with-lightningBuilt on top of lightning-agent (also mine). The fourth package in the stack: discovery ā trust ā payments ā auth.
#Bitcoin #Lightning #LNURL #auth #opensource
Published at
2026-02-03 19:21:12 UTCEvent JSON
{
"id": "104798f51138ade21f89644dd2a91b00dd591debd0a3ccbdbec93b13a1f7a9f6",
"pubkey": "dc52438efbf965d35738743daf9f7c718976462b010aa4e5ed24e569825bae94",
"created_at": 1770146472,
"kind": 1,
"tags": [
[
"t",
"bitcoin"
],
[
"t",
"lightning"
],
[
"t",
"lnurl"
],
[
"t",
"opensource"
]
],
"content": "Just published login-with-lightning v1.0.0 on npm.\n\nDrop-in passwordless authentication for any website using LNURL-auth (LUD-04). Add Lightning login to your app in minutes.\n\nWhat's in the box:\nā Express middleware: 3 lines to mount auth routes\nā Vanilla JS widget: \"Login with Lightning ā”\" button ā QR modal ā done\nā Built-in QR code generator (zero external deps on client)\nā React wrapper component + useLightningAuth hook\nā JWT session management\nā Dark/light themes, mobile wallet deep links\n\nNo email signup. No passwords. No Google OAuth. User scans a QR with Phoenix, Zeus, Alby, or any LNURL-compatible wallet. Their identity is a public key.\n\nnpm: https://www.npmjs.com/package/login-with-lightning\nGitHub: https://github.com/jeletor/login-with-lightning\n\nBuilt on top of lightning-agent (also mine). The fourth package in the stack: discovery ā trust ā payments ā auth.\n\n#Bitcoin #Lightning #LNURL #auth #opensource",
"sig": "478cc58f35307d91f2783a89fbb7d725cf6756e0c00353d6d3391994864f70fd1cd828c1418b0c6bdd9b72d7b89c34be998bb68ac5199b8087e0d164e2a94c39"
}