A lightning-fast CLI tool to instantly spin up a local, fully offline tldraw whiteboard.
Everything runs locally, including the web fonts, making it perfect for secure offline environments or quick diagramming on airplanes.
Install globally via npm:
npm install -g drawcliSimply run this command anywhere in your terminal:
drawThis will instantly spin up a micro-server and open a new tab in your default browser.
Your drawings are now automatically saved to a global folder (~/.drawdata)!
- The web UI features a beautiful sidebar showing all your previous drawings.
- Any changes you make are instantly auto-saved to your local hard drive.
- You can create new drawings from the sidebar or by running
draw <filename>to instantly jump into a specific file.
If you ever want to completely wipe your canvas history and start fresh, run:
draw --clearIf you want to build and test this CLI tool locally from source:
- Install dependencies
npm install- Build the optimized production bundle
npm run build- Link the package globally to test the CLI
npm link- Run the CLI
draw