mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 23:16:50 +02:00
64b97e49264111cf84059b3ca5be40fc830adff8
Implements rendering of NIP-51 kind 10009 (Public Chats list) events, displaying NIP-29 groups similar to how relay lists are rendered. Components: - GroupLink: Clickable group component with icon and name - Fetches kind 39000 metadata from EventStore for group info - Displays group icon (if available) or chat icon fallback - Opens chat window on click with relay'group-id identifier - PublicChatsRenderer: Renderer for kind 10009 events - Extracts "group" tags: ["group", "<group-id>", "<relay-url>"] - Displays each group as clickable link - Similar styling to relay list renderers Integration: - Registered kind 10009 renderer in kinds index - Opens chat with NIP-29 protocol on click Fixes: - Fix missing type imports in NIP-29 adapter (Participant, ParticipantRole) - Fix relayUrl type error in sendMessage (use validated variable) 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%