mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-13 17:07:27 +02:00
8a230aa59a078b244d141aefa32fa1b3e90cb49b
Implements persistent emoji frequency tracking to improve emoji suggestions: - Add EmojiFrequency table to Dexie (v16) with migration from localStorage - Create EmojiFrequencyService for recording and querying usage - Add useEmojiFrequency hook for React components - Add cold start defaults (thumbsup, heart, fire, joy, zap, 100, rocket, eyes) - Update EmojiPickerDialog to use IndexedDB instead of localStorage - Track emoji usage in MentionEditor autocomplete - Track emoji usage in ChatMessageContextMenu reactions Features: - Tracks both unicode and NIP-30 custom emoji - Persists to IndexedDB for larger storage and native querying - Migrates existing localStorage reaction history on upgrade - Shows sensible defaults on cold start - Adapts to user preferences over time
…
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%