mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-15 01:46:53 +02:00
aa32bb535b4b133d800abfdbeae67bff24f7b38f
The applesauce-wallet-connect library's support$ uses ReplaySubject(1) with resetOnRefCountZero: timer(60000). This means if no one subscribes to support$ for 60 seconds, the cached value is LOST. When this happens, genericCall's firstValueFrom(encryption$) hangs forever waiting for a new kind 13194 event, because encryption$ depends on support$ which no longer has a cached value. Fix: Create a persistent subscription to support$ after it first emits. This prevents the ReplaySubject from ever resetting, ensuring encryption$ always gets a value immediately. https://claude.ai/code/session_018fU3rYmjFPEKz3ot1itLZL
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%