excalidraw-cli
a excalidraw cli that gives you easeier and better controler over a locally excalidraw instance
Install
- You will need to install go on your machine: https://go.dev/doc/install
- Setup GOPATH
Add the following to your shell config
export PATH=${PATH}:$HOME/go/bin
More information: https://go.dev/wiki/GOPATH#gopath-variable
- Install the binary
go install github.com/epicseven-cup/excalidraw-cli@latest
- Make sure you have a supported container engine installed and setup. (e.g. podman, docker...)
There could be delays between the Goproxy and GitHub binarys, you can use the direct setup
GOPROXY=direct go install github.com/epicseven-cup/excalidraw-cli@latest
How to use
excalidraw-cli -h
Example
Starts the excalidraw docker container, you can access it on localhost:5000
excalidraw-cli -start