mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-17 01:58:33 +02:00
ac7b1847f65391a55e70cf15193f155d359bc636
- Created PPQProviderAdapter with OpenAI-compatible API integration - Implemented streaming support for real-time token-by-token responses - Added provider configuration system with localStorage persistence - Built LLMSettingsDialog for configuring provider and API key - Created Select UI component from Radix UI - Updated LLMChatViewer to support dynamic provider switching - Preselected Claude 3.7 Sonnet as recommended by PPQ - Added model selection dropdown in chat header - Implemented cost tracking based on token usage - Supports 13 models across Claude, GPT, and Gemini families Provider Features: - OpenAI-compatible API (https://api.ppq.ai) - Bearer token authentication - Streaming SSE responses - Token and cost calculation - Graceful error handling The LLM chat now works with real APIs, not just mock responses.
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%