mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 07:27:23 +02:00
532fe2345a1f2c0f3b3d46fd17c5be0f1bdb4af9
Remove redundant "Connected relays" section that showed relays where the event was already seen. It doesn't make sense to republish to relays that already have the event. **Changes**: - Filter myRelays to only show unpublished relays (not in seenRelays) - Remove "Connected relays" section entirely - Update button text: "Publish to all (N)" instead of "Publish to all my relays (N)" - Better empty states: - "Sign in to republish events" when no account - "Already published to all your relays" when all relays have event - "No relays in your relay list" when user has no relays - Update submenu disabled state to check unpublishedRelays length **Result**: Cleaner UX that only shows actionable options. The feature now correctly broadcasts events to relays that don't have them yet, avoiding redundant network traffic. Reduces code by 22 lines while improving functionality.
…
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%