mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 08:27:27 +02:00
0293d2dde63e1a5585e85bc844a1522891a4ce87
NIP-17 inbox relays are now properly cached and displayed just like regular relay lists: **Relay List Cache Integration**: - Extended CachedRelayList schema with `inbox?: string[]` field for kind 10050 - relay-list-cache now subscribes to both kind 10002 and kind 10050 events - Parses and caches inbox relays from "relay" tags in kind 10050 events - Merges inbox relays with existing cached entries (preserves read/write) **NIP-17 Adapter Improvements**: - Checks cache first before fetching inbox relays from network - Fetched kind 10050 events auto-added to EventStore → triggers cache - Logs show "Using cached" vs "Fetched and cached" for visibility - Inbox relays now persist across sessions via Dexie **Benefits**: - Inbox relays display immediately from cache (no network delay) - Reduced network requests - fetch once, use everywhere - RelaysDropdown shows per-participant inbox relays automatically - Inbox relays sync whenever chatting with participants Co-Authored-By: Claude Sonnet 4.5 <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%