mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 00:17:02 +02:00
1283964d0147a5fc8498737f90f9cab316cb34c3
Implement configuration-driven cache hydration and active user sync: - Add ACTIVE_USER_KINDS constant [3, 10002, 10063] for configurable sync - Add hydrateEventStore() method to load cached events on startup - Refactor useAccountSync to loop through ACTIVE_USER_KINDS dynamically - Remove deprecated useRelayListCacheSync/useBlossomServerCacheSync hooks - Call hydration in AppShell on mount to solve "orphaned cache" problem Benefits: - Adding new kinds is just updating ACTIVE_USER_KINDS array - Cache is immediately available on startup (no wasted bandwidth) - Cleaner, more maintainable code with single loop - Kind 3 (contacts) now auto-synced for $contacts alias
…
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%