mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-16 17:48:34 +02:00
c402ac16f8d653dca63b9021f69ddbaf90ab86bf
Enable NIP-17 Support: - Uncomment Nip17Adapter in ChatViewer getAdapter function - Import Nip17Adapter and register in protocol switch - Update adapter documentation to list NIP-17 as supported Fix Auto-Decrypt Behavior: - Add autoDecrypt parameter to processGiftWrap (default true) - Only decrypt gift wraps when autoDecrypt=true, otherwise store as pending - Pass autoDecrypt from state to startSync and loadOlderGiftWraps - Update useAccountSync to pass autoDecrypt setting - Update InboxViewer to pass autoDecrypt to loadOlderGiftWraps - Prevents unwanted decryption attempts when setting is off Fix Stats Persistence: - Add initializeStats() method to load stats from DB on first access - Add statsInitialized flag to prevent duplicate initialization - Call initializeStats() in getStats() before returning observable - Stats now persist across page reloads even when sync is disabled Inbox UX Improvements: - Increase message preview from 50 to 100 characters - Remove flex-1 from preview span to eliminate large gap before timestamp - Add ml-auto to timestamp to push it to the right - Change gap from gap-1 to gap-2 for better spacing - Messages now show more content with timestamp properly aligned All tests passing (980/980). No new lint errors.
…
…
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%