This is ClockPi 2 which moved from localStorage to a separate WebSocket server.
Turn your Raspberry Pi with a touchscreen into a clock!
- Use Deno to install the dependencies with
deno install - Build the Svelte Project with
deno task build - Put the files from
buildto/var/clockpi/
(In case you didn't noticed: Anything other than Linux is not and will not be supported!) - [OPTIONAL if not using a device with backlight settings]
Set up an udev-rule for your account to set backlight settings in/sys/class/backlightwithout sudo. (Guide is WIP) - Navigate into the backend server using
cd backend - Install dependencies again for this project
- Build the backed with either
deno task compile_x86-64ordeno task compile_aarch64 - [OPTIONAL but recommended]
Set up an service to start the backend server, when logging in. (Guide is WIP) - [OPTIONAL but recommended]
Set up an autostart-entry to automatically open the webserver in Kiosk-mode. (Guide is WIP)