Developer Documentation
Welcome to the Elftia developer documentation. This documentation is intended for project contributors and maintainers, providing in-depth architecture descriptions, module implementation details, and development guides.
Tech Stack
| Layer | Technology |
|---|---|
| Desktop Framework | Electron 40.1 |
| Frontend Framework | React 18.2 + TypeScript 5.6 |
| Build Tools | electron-vite 5.0 / Vite 7.0 / tsup |
| Styling | Tailwind CSS 3.4 + CSS variables |
| State Management | Zustand + React Context |
| Database | better-sqlite3 (Drizzle ORM) |
| Code Editor | CodeMirror 6 |
| Terminal Emulator | xterm 5.5 |
| AI SDK | @anthropic-ai/claude-agent-sdk |
Quick Navigation
- Architecture — Process model, design principles, startup flow
- Module Deep Dives — Detailed implementation docs for core modules
- Development Guides — Environment setup, IPC development, testing and debugging
- API Reference — IPC channels, Preload API, configuration options
- Standards — Code standards, design system, build optimization
- Contributing — How to participate in project development