mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 23:16:50 +02:00
8f262e1189263617283fddd165d4d14f9c658f1b
Improvements to kind 10009 (Public Chats) renderer: Batch Loading: - PublicChatsRenderer now batch-loads all group metadata (kind 39000) in a single subscription - Much more efficient than individual subscriptions per group - Filters out "_" groups from metadata fetch (they don't have metadata) - Creates a metadata map to pass to each GroupLink Special "_" Group Handling: - "_" represents the unmanaged relay top-level group - Displays the relay name instead of group ID - Example: "pyramid.fiatjaf.com" instead of "_" GroupLink Updates: - Accepts optional metadata prop (pre-loaded from parent) - No longer fetches metadata individually (more efficient) - Extracts group name and icon from provided metadata - Falls back to group ID if metadata not available Performance: - Single subscription for all groups vs N subscriptions - Reduces relay traffic and improves rendering speed 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%