mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 16:07:15 +02:00
e7ab643538e825711ef24c61471df87a8089ebfd
Implements a thread viewer that displays Nostr conversations with: - Automatic root resolution for NIP-10 (kind 1) and NIP-22 (kind 1111) - 2-level tree structure with expand/collapse - Thread participants display with usernames - Read-only relay dropdown showing connection status - Chronological sorting of replies - Context menu integration on all events Components: - ThreadViewer: Main thread display with header and root event - ThreadConversation: 2-level threaded reply tree - thread-parser: Command argument parsing UI Integration: - Added "Thread" action to event dropdown menu - Added right-click context menu to all events - Wired into window rendering system - Added to man pages with examples Usage: thread <note1|nevent1|naddr1|hex-id>
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%