Delidock's box client running on the box, written in Svelte, wrapped using Electron
This is designed for Rasspberry PI so it is utilizin GPIO
NodeJS>= 20
- specify required enviroment variables:
- DELIDOCK_API_URL="https://delidock-api.stepskop.xyz" - base url of Delidock API
- DELIDOCK_LIVEKIT_URL="https://delidock-livekit.stepskop.xyz" - base url of Livekit server
- DELIDOCK_BOX_ID="64a233a33kafdf6b2b542po0" - box specific unique ID
- DELIDOCK_BOX_PSK="box-preshared-key" - box preshared key (like password)
- see
electron/main.jsfor app window configuration, refer to official Electron docs - see
electron/main.jsfor GPIO configuration, refer to onoff library docs
npm i
npm run build
Build installable .deb package -> available only on Debian based distros, for building for other OS see electron-pacakger repo.
For arm CPU arch (Rasspberry PI)
npm run deb:arm64 # for arm CPU arch (Rasspberry PI) For regular x86
npm run deb:amd64Outputs are saved to dist/installers, from there you can run:
dpkg -i <name_of_the_package>Installed package should be directly accessible via $PATH
delidock-box-clientTip: Set this as automatic task when system starts