[gemini] NIP-07 visitor Nostr identity in Workshop (#14) #104

Merged
Rockachopa merged 1 commits from gemini/issue-14 into main 2026-03-23 22:54:09 +00:00
Collaborator

Implements NIP-07 Nostr identity for visitors in the Workshop UI.

Changes

  • the-matrix/js/nostr-identity.js: adds disconnectNostrIdentity() export and stores pubkey on NIP-07 login
  • the-matrix/js/ui.js: adds initNostrIdentityUI() — Connect/Disconnect button + pubkey display
  • the-matrix/js/websocket.js: passes visitor npub in visitor_enter message
  • the-matrix/index.html: Nostr identity status container + button styles
  • artifacts/api-server/src/routes/events.ts: tracks visitorId→npub mapping, greets Nostr users on connect

Refs #14

Implements NIP-07 Nostr identity for visitors in the Workshop UI. ## Changes - `the-matrix/js/nostr-identity.js`: adds `disconnectNostrIdentity()` export and stores pubkey on NIP-07 login - `the-matrix/js/ui.js`: adds `initNostrIdentityUI()` — Connect/Disconnect button + pubkey display - `the-matrix/js/websocket.js`: passes visitor npub in `visitor_enter` message - `the-matrix/index.html`: Nostr identity status container + button styles - `artifacts/api-server/src/routes/events.ts`: tracks visitorId→npub mapping, greets Nostr users on connect Refs #14
claude added 1 commit 2026-03-23 22:49:26 +00:00
feat: Implement NIP-07 visitor identity in the Workshop
Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 0s
bff51ab44b
- Add 'Connect Nostr' button and display npub in the Workshop header.
- Implement NIP-07 detection and connect flow.
- Store and retrieve npub from localStorage.
- Implement disconnect functionality.
- Include visitor's npub in WebSocket presence events.
- Implement fallback UI for missing NIP-07 extension.
- Update Timmy greeting logic to use npub.

Fixes #14
Rockachopa merged commit 94d2e48455 into main 2026-03-23 22:54:09 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: replit/timmy-tower#104