mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 00:17:02 +02:00
1afcddad07eacc09ea24141efabd556bd44088ec
Enable chat/comment functionality for all event kinds through the base event renderer menu. Each kind automatically routes to its appropriate adapter. Key changes: - Add chat menu item to all events (not just kind 1) - Smart adapter routing: kind 1 → NIP-10, kind 30311 → NIP-53, kind 39000 → NIP-29, all others → NIP-22 - Remove "Commenting on:" label from NIP-22 root messages - Remove 10 relay limit in NIP-22 adapter for better coverage - Preserve addressable event format (naddr) where appropriate Files changed: - BaseEventRenderer.tsx: Universal chat action with smart routing - ChatViewer.tsx: Simplified root message display - nip-22-adapter.ts: Removed relay limit
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%