Professional Markdown desktop app for writers, researchers, and content creators.
- Rich Markdown Editor with live preview
- Multiple Export Formats — HTML, PDF, PNG, DOCX
- Document Versioning — Automatic snapshots and history
- AI Integration — Bring your own Gemini or Anthropic API key
- Custom Themes — Botanical, Chronicle, Ivory, Obsidian
- Advanced Typography — Smart quotes, math, code highlighting
- Backup & Recovery — Manual backup with custom paths
- Multi-tab Support — Organize work across files
- Focus Modes — Zen mode, focus mode, clean prose view
- Windows 10+ (Intel x64)
- Node.js 18+ (for development)
npm installnpm run devThis opens VanFolio in development mode with hot reload.
npm run buildnpm run packageCreates a Windows installer in the release/ folder.
npm run typecheckVanFolio supports Bring Your Own Key (BYOK) integration with:
- Google Gemini — Via
@google/generative-ai - Anthropic Claude — Via
@anthropic-ai/sdk
To use AI features:
- Open Settings (Ctrl+,)
- Go to AI Settings
- Enter your API key for Gemini or Anthropic
- Use AI commands in the editor with
/followed by a command
Important: Your API keys are stored locally and never sent to VanFolio servers.
VanFolio-public/
├── src/
│ ├── main/ # Electron main process (file I/O, backup, window lifecycle)
│ ├── preload/ # Preload scripts (IPC bridge to renderer)
│ ├── renderer/ # UI components and logic
│ ├── engine/ # Markdown engine, exporters
│ └── shared/ # Types, constants, i18n
├── scripts/ # Build and utility scripts
├── resources/ # App icons, fonts
├── electron.vite.config.ts
├── package.json
└── LICENSE
- Edit source in
src/ - Type check:
npm run typecheck - Build:
npm run build - Test:
npm run devand use the app manually - Package:
npm run packagefor distribution
Translation files are in src/shared/i18n/.
Supported languages: Chinese (Simplified), English, French, German, Japanese, Korean, Portuguese (Brazil), Russian, Spanish, Vietnamese.
See CONTRIBUTING.md for guidelines on how to contribute to VanFolio.
MIT License — See LICENSE for details.
VanFolio is an open-source project. Community contributions are welcome!