mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 08:27:27 +02:00
5dc365e9ecf56d4b4044fc9314ccebed0982c3e2
Adds support for opening communikey chats using naddr encoding of kind 10222 communikey definition events, not just bare pubkeys. Changes: - Extended parseIdentifier() to detect kind 10222 naddr - Extracts pubkey (author) as the communikey identifier - Extracts relay hints from naddr for better connectivity - Normalizes relay URLs to include wss:// prefix Users can now open communikeys in three ways: 1. chat naddr1... (kind 10222) - With relay hints from naddr 2. chat npub1xxx - Relays discovered from kind 10222 event 3. chat relay'npub1xxx - With explicit relay hint The naddr format is preferred as it includes relay hints for faster resolution of the communikey definition event.
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%