mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 16:37:06 +02:00
8849d9561e76bc2d89e2b78e9104c68192b7e16a
Major improvements: - Fix message ordering to be chronological (oldest first) - Add syntheticEventCache for reliable reply resolution - Simplify code structure with pure functions - Sort messages properly for chat display Key changes: - createSyntheticEvent() caches and adds events to eventStore - lookupEvent() checks cache first, then eventStore - loadMessages() now sorts by timestamp ascending - fetchInboxRelays() simplified with proper error handling - Add unreachableParticipants metadata for send validation The synthetic event cache ensures reply previews work even if eventStore doesn't persist events with empty signatures.
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%