mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-13 00:46:54 +02:00
ca6226e53edca98f94d6560c39f3fcc633080c60
Integrates communikey blossom servers into the file upload dialog, allowing users to upload attachments to blossom servers specified in the communikey's kind 10222 configuration. Changes: - Added communikeyServers prop to BlossomUploadDialog component - Updated server loading logic to merge user servers with communikey servers, removing duplicates - If user has no server list, communikey servers are used instead of falling back to public servers immediately - Added communikeyServers option to useBlossomUpload hook - ChatViewer extracts blossom servers from communikey metadata and passes them to the upload hook Users can now upload to: 1. Their own servers (kind 10063) 2. Communikey blossom servers (from kind 10222) 3. Public fallback servers (if no other options) The servers are merged and deduplicated, with all available servers selected by default for redundancy.
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%