A desktop version of tldraw built with Tauri, React, and Vite.
- ✨ Full tldraw whiteboard/canvas functionality
- 🚀 Fast native desktop performance with Tauri
- 🪟 Windows 64-bit support
- 📦 Small bundle size
- 🔐 Secure by default
Before you begin, ensure you have installed:
- Node.js (v18 or later)
- Rust (latest stable)
- Windows Build Tools for Windows
npm installRun the app in development mode:
npm run tauri:devThis will:
- Start the Vite development server
- Compile the Rust backend
- Open the desktop application window
Build the app for Windows 64-bit:
npm run tauri:buildThe built application will be available in src-tauri/target/release/bundle/.
tldraw-desktop/
├── src/ # React frontend source
│ ├── App.jsx # Main React component with tldraw
│ └── main.jsx # React entry point
├── src-tauri/ # Tauri backend
│ ├── src/
│ │ └── main.rs # Rust main file
│ ├── build.rs # Build script
│ ├── Cargo.toml # Rust dependencies
│ └── tauri.conf.json # Tauri configuration
├── index.html # HTML entry point
├── vite.config.js # Vite configuration
└── package.json # Node dependencies and scripts
npm run dev- Start Vite dev server onlynpm run build- Build frontend onlynpm run tauri:dev- Run full Tauri app in dev modenpm run tauri:build- Build production desktop app
- Frontend: React 18, tldraw
- Build Tool: Vite 5
- Desktop Framework: Tauri 2
- Backend: Rust
MIT