mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 07:56:50 +02:00
ae3af2d63c787217730679797d6a837970f02357
* feat: add NIP-46 remote signer login support Add a login dialog with two authentication options: - Extension login (NIP-07): Connect via browser extensions like nos2x, Alby - Nostr Connect (NIP-46): Login via QR code scan or bunker:// URL The dialog allows users to generate a nostrconnect:// QR code that can be scanned with a signer app, or paste a bunker:// URL for direct connection. * fix: improve NIP-46 login experience - Remove redundant signer.open() call after fromBunkerURI (it already connects) - Increase QR code margin from 2 to 4 for better scanning - Increase QR code width to 280px * fix: establish WebSocket connection before showing QR code Fixes NIP-46 QR code login by opening the relay connections BEFORE displaying the QR code. This ensures the client is listening when the remote signer responds. Also adds console logging for debugging NIP-46 connection flow. * fix: set NostrConnectSigner pool before loading accounts Fixes crash on reload when a NIP-46 account is saved. The pool must be configured globally before accounts are restored from localStorage, otherwise NostrConnectSigner throws "Missing subscriptionMethod". --------- Co-authored-by: Claude <noreply@anthropic.com>
Grimoire
A Nostr protocol explorer and developer tool with a tiling window manager interface.
Features
- Tiling Windows - Each window is a Nostr "app" (profile viewer, event feed, NIP docs, etc.)
- Command Palette - Unix-style commands via
Cmd+Kto open apps and navigate - Multi-workspace - Virtual desktops with independent layouts
- Real-time - Reactive event subscriptions with automatic updates
Stack
React 19, TypeScript, Vite, TailwindCSS, Jotai, Dexie, Applesauce
Getting Started
npm install
npm run dev
Scripts
| Command | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Build for production |
npm test |
Run tests in watch mode |
npm run lint |
Lint code |
npm run format |
Format code |
License
MIT
Languages
TypeScript
98.9%
CSS
0.8%
JavaScript
0.3%