mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-15 18:07:21 +02:00
1ddbcca8101e7ebaba5bfaa8d231bbb9014f0982
Adds full support for NIP-54 wiki articles (kind 30818) with Asciidoc rendering: - Install @asciidoctor/core for Asciidoc to HTML conversion - Create AsciidocContent component for rendering wiki content with: - Wikilink support ([[article-name]] or [[target|display text]]) - Basic nostr: link rendering (TODO: full parsing) - Prose styling matching markdown articles - Create WikiRenderer (feed view) showing title and summary - Create WikiDetailRenderer (detail view) with full article content - Create WikiViewer component to query and display wiki articles by subject - Add wiki command to man pages with subject normalization - Register wiki appId and renderers in the rendering system - Add CSS styles for Asciidoc content elements and wikilinks Wiki articles can be opened with: wiki <subject> Subject is automatically normalized per NIP-54 (lowercase, hyphens, etc.)
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%