Files
excalidraw-box/README.md
2026-05-26 20:16:31 +00:00

40 lines
897 B
Markdown

# excali
Private self-hosted Excalidraw with Bun and SQLite.
This is bare wrapper around the excalidraw packages that adds autosave and disk-persistence.
No auth to keep things simple - you either run in a private network or put it behind a Caddy auth or similar solutions.
> GPT 5.5 generated
## Run locally
```bash
bun install
bun run dev
```
Open `http://localhost:3000`.
## Test
```bash
bun run test
bun run typecheck
```
## Build the image
```bash
docker build -t excali .
docker run --rm -p 3000:3000 -v "$PWD/excali-box-data:/data" excali
```
This will make the data persistent in the `excali-box-data` folder in the current directory, the site will be available at `localhost:3000`.
By default, this image binds to `localhost`. To expose it on all interfaces, set `HOST=0.0.0.0`:
```bash
docker run --rm -p 3000:3000 -v "$PWD/excali-box-data:/data" -e HOST=0.0.0.0 excali
```