mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 07:27:23 +02:00
2f66322afe95eba54a0bc091f838217f08333a42
- Add new "Create/Import" tab to LoginDialog with two options: 1. Generate New Identity: Creates random private key and displays nsec for backup 2. Import Private Key: Allows nsec/hex import with security warning - Generate identity shows a yellow warning box with the generated nsec - Import has a two-step flow with security warning before showing input field - Both options create PrivateKeyAccount and persist to localStorage - Supports both nsec1... and hex format for private key import - Password-type input for nsec to prevent shoulder surfing - Added KeyRound and Shield icons from lucide-react - Imports nip19 for nsec encoding/decoding and getPublicKey from nostr-tools/pure All tests pass (838/838) and build succeeds
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%