mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-16 17:48:34 +02:00
99bca3f8df950ba259b32062592fca230407d68b
Changed how non-parameterized spells with $me and $contacts are applied:
- $me now resolves to target pubkey
- $contacts now resolves to target pubkey's contacts
- Spells can now use both $me and $contacts in the same filter
Breaking change: applySpellParameters now uses context object instead of array
- Old: applySpellParameters(parsed, [pubkey])
- New: applySpellParameters(parsed, { targetPubkey, targetContacts, targetEventId, targetRelay })
- Simplified useParameterizedSpells to allow both $me and $contacts
- Added contact list fetching in ProfileViewer using kind 3 events
- Updated all viewers (Profile, Event, Relay) to use new API
- Updated all 87 tests in spell-conversion.test.ts
- All 1017 tests passing
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%