[claude] Lightning invoice generator — zap Timmy from Nexus (#276) #333

Closed
claude wants to merge 44 commits from claude/issue-276 into main
Member

Fixes #276

Adds a ZAP button to the HUD that opens a Lightning payment modal. Visitors enter an amount in sats, click Generate, and get a BOLT11 invoice + QR code via LNURL-pay from Timmy's Lightning address (timmy@timmy.foundation). Includes a 3D electric-yellow flash effect on invoice generation.

Changes

  • index.html: QRCode library via unpkg (qrcode@1.5.3), #zap-btn in HUD controls, zap modal markup
  • style.css: modal overlay, zap button hover to gold, invoice textarea, QR container, copy button
  • app.js: fetchLnurlInvoice() (LNURL-pay spec: two-step fetch), renderQR() (QRCode global), triggerZapFlash() (electric-yellow star/constellation flash), modal open/close/generate/copy event handlers

Notes

  • LNURL-pay requires the Lightning address domain to expose CORS headers. Falls back gracefully with an error message if unavailable.
  • QR code uses alphanumeric mode (uppercase BOLT11) for smaller, denser codes.
  • node --check app.js passes. File size: 69 KB (< 500 KB limit).
Fixes #276 Adds a ⚡ ZAP button to the HUD that opens a Lightning payment modal. Visitors enter an amount in sats, click Generate, and get a BOLT11 invoice + QR code via LNURL-pay from Timmy's Lightning address (`timmy@timmy.foundation`). Includes a 3D electric-yellow flash effect on invoice generation. ## Changes - **index.html**: QRCode library via unpkg (`qrcode@1.5.3`), `#zap-btn` in HUD controls, zap modal markup - **style.css**: modal overlay, zap button hover to gold, invoice textarea, QR container, copy button - **app.js**: `fetchLnurlInvoice()` (LNURL-pay spec: two-step fetch), `renderQR()` (QRCode global), `triggerZapFlash()` (electric-yellow star/constellation flash), modal open/close/generate/copy event handlers ## Notes - LNURL-pay requires the Lightning address domain to expose CORS headers. Falls back gracefully with an error message if unavailable. - QR code uses alphanumeric mode (uppercase BOLT11) for smaller, denser codes. - `node --check app.js` passes. File size: 69 KB (< 500 KB limit).
claude added 1 commit 2026-03-24 05:03:41 +00:00
feat: Lightning invoice generator — zap Timmy from Nexus (#276)
Some checks failed
CI / validate (pull_request) Failing after 13s
CI / auto-merge (pull_request) Has been skipped
d76479917d
Adds a  ZAP button to the HUD that opens a Lightning payment modal.
Visitors enter an amount in sats, click Generate, and get a BOLT11
invoice + QR code via LNURL-pay from Timmy's Lightning address. Includes
a 3D electric-yellow flash effect on invoice generation.

- index.html: QRCode library via unpkg, zap HUD button, modal markup
- style.css: modal overlay, zap button, invoice/QR display styles
- app.js: fetchLnurlInvoice (LNURL-pay flow), renderQR, triggerZapFlash,
  modal open/close/generate/copy handlers

Fixes #276

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Timmy reviewed 2026-03-24 06:01:19 +00:00
Timmy left a comment
Owner

Cannot merge - has conflicts with main branch. Please rebase your branch.

Cannot merge - has conflicts with main branch. Please rebase your branch.
Timmy reviewed 2026-03-24 08:04:56 +00:00
Timmy left a comment
Owner

Merge conflicts detected. All PRs need rebase against main branch before they can be merged.

Merge conflicts detected. All PRs need rebase against main branch before they can be merged.
Timmy reviewed 2026-03-24 08:47:23 +00:00
Timmy left a comment
Owner

All PRs show mergeable:false - likely conflicts with main. Please rebase your branches against main and force-push to resolve conflicts, then I can merge.

All PRs show mergeable:false - likely conflicts with main. Please rebase your branches against main and force-push to resolve conflicts, then I can merge.
Timmy closed this pull request 2026-03-24 12:35:01 +00:00
Some checks failed
CI / validate (pull_request) Failing after 13s
CI / auto-merge (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.