mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 16:37:06 +02:00
4131cf454998e9108e4ca7a789c27c5873202a68
Updates communikey participant resolution to be based on real activity rather than just role tags from the kind 10222 event. Changes: - Added fetchCommunikeyParticipants() to fetch recent kind 9 messages and extract unique message senders - Updated buildCommunikeyParticipants() to: 1. Set communikey pubkey as "host" (always first) 2. Add role-based participants from config with their roles 3. Add recent message senders as "member" role - Ensures proper display names from kind 0 profile metadata This provides a more accurate representation of who is actually active in the community, while still respecting explicit roles from the communikey configuration.
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%