mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 08:27:27 +02:00
58285594b63002833c4c2e551888b8edb71cbc52
Major UX improvements to the republish feature: **Click-to-Publish**: - Remove checkbox + publish button pattern - Each relay is now directly clickable to publish - Individual relays show loading/success states - Quick action button to publish to all user relays at once **Better Relay Display**: - Show relay icon, name, and URL in a clean layout - Readable hover styles (bg-accent/10 instead of hard-to-read styles) - Icon with fallback for relays without metadata - Two-line display: relay name + formatted URL **Mark Published Relays**: - Use addSeenRelay() from applesauce-core after successful publish - Updates event's seen relays in real-time - Relays show checkmark when successfully published **Visual Feedback**: - Publishing: Spinner icon on the specific relay - Published: Green checkmark + subtle green background - Disabled: Opacity reduced while publishing - Toast notifications for success/error This creates a more intuitive flow: see the relay → click → immediate feedback, rather than check boxes → find button → click → wait.
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%