mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 16:07:15 +02:00
776b9af15231bf7edb5bbf917aea78725a0c0439
Critical Fixes: 1. Fixed crashes from non-DM gift wraps (reactions, private relays, etc.) - Only use getConversationIdentifierFromMessage() for kind 14 DMs - Manual conversation key generation for other kinds (7, 25050, etc.) - No more "Can only get participants from direct message event" errors 2. Fixed chat $me (saved messages) not loading any messages - Deduplicate pubkeys in getConversationKey() method - Self-conversations now correctly map to same key as stored messages - Conversation key "user:user" → "user" after deduplication 3. Added participant tooltip for group DMs - Shows all participant names when hovering over group title - Only displays for groups with 3+ participants - Deduplicates participant list properly Technical Details: - Kind 14 (DMs): Use applesauce getConversationIdentifierFromMessage() - Other kinds: Extract p-tags manually and sort - All conversation keys deduplicated and sorted for consistency - Matches storage format from gift-wrap service
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%