mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-13 00:46:54 +02:00
61ee8f281257202ef5a929e8cba314700477060c
Replace emoji with Lucide icons and make event embeds more compact
to ensure they stay on a single line and don't span too wide.
Changes:
- Replace emoji (📝) with FileText Lucide icon in fallback preview
- Reduce max-width from 320px to 180px for better inline display
- Remove timestamp to save horizontal space
- Reduce gap spacing (gap-1 → gap-0.5)
- Reduce padding (px-1.5 → px-1)
- Add max-width to author name (60px) with truncation
- Add whitespace-nowrap to enforce single-line display
- Reduce icon size (size-4 → size-3) for more compact look
- Remove formatTimestamp import (no longer needed)
The event mentions now display as ultra-compact chips that:
- Stay on a single line always
- Don't exceed 180px width
- Use Lucide icons for consistency with rest of app
- Truncate gracefully when content is too long
…
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%