The web user-interface for the BTClock
  • Svelte 62.4%
  • TypeScript 29.6%
  • SCSS 4.8%
  • JavaScript 1.9%
  • Python 0.7%
  • Other 0.6%
Find a file
Djuri Baars a838e5519b
All checks were successful
/ check-changes (push) Successful in 12s
/ build (push) Successful in 4m3s
fix: Add Svelte 5 workarounds
2026-02-22 23:08:55 +01:00
.forgejo/workflows chore(deps): update https://code.forgejo.org/actions/forgejo-release action to v2.11.2 2026-02-20 12:30:24 +00:00
.github chore(deps): update dependency python to 3.14 2025-10-07 14:55:41 +00:00
.vscode Added WiFi signal status and settings 2023-11-21 16:05:00 +01:00
doc chore: update test fixtures and screenshots 2025-12-04 14:34:28 +01:00
extra/icons Remove icons to save space in image 2024-09-03 12:37:35 +02:00
patches chore: dependency updates 2026-01-19 20:30:51 +01:00
project.inlang chore: Switch to Paraglide for i18n 2026-01-19 21:21:16 +01:00
src fix: Fix new config for tests 2026-01-19 22:14:45 +01:00
static feat: Replace timezone offset with timezone selector 2025-04-05 22:33:55 +02:00
tests chore: dependency updates + update mock data 2026-02-22 22:49:42 +01:00
.gitignore Write more tests 2023-11-25 00:42:37 +01:00
.npmrc Initial commit 2023-11-17 01:05:35 +01:00
.prettierignore fix: Fix linter config for paraglide 2026-01-19 21:26:51 +01:00
.prettierrc Initial commit 2023-11-17 01:05:35 +01:00
Dockerfile Create GitHub workflow and Dockerfile 2023-11-19 15:08:26 +01:00
eslint.config.js fix: Fix linter config for paraglide 2026-01-19 21:26:51 +01:00
gzip_build.py Making it work for ESP32 2023-11-17 11:09:06 +01:00
package.json fix: Add Svelte 5 workarounds 2026-02-22 23:08:55 +01:00
playwright.config.ts Create testing specific vite config, add multi font support, bugfixes 2024-12-30 00:50:33 +01:00
playwright.doc-screenshot.config.ts Dependency updates, clean up shared test data, create screenshot updater for README 2024-12-29 03:55:30 +01:00
playwright.screenshot.config.ts Dependency updates, clean up shared test data, create screenshot updater for README 2024-12-29 03:55:30 +01:00
README.md Update badges in README 2024-12-29 03:58:08 +01:00
renovate.json Migrate config renovate.json 2024-12-26 14:29:21 +00:00
svelte-default-import-preprocess.js fix: Add Svelte 5 workarounds 2026-02-22 23:08:55 +01:00
svelte-tsconfig.json fix: Add Svelte 5 workarounds 2026-02-22 23:08:55 +01:00
svelte.config.js fix: Add Svelte 5 workarounds 2026-02-22 23:08:55 +01:00
tsconfig.json Dependency upgrades 2024-09-03 12:11:14 +02:00
vite.config.test.ts fix: Fix new config for tests 2026-01-19 22:14:45 +01:00
vite.config.ts fix: Use modern fontsource font sass imports 2026-01-19 22:12:27 +01:00
yarn.lock fix: Add Svelte 5 workarounds 2026-02-22 23:08:55 +01:00

BTClock WebUI

Latest release BTClock CI

The web user-interface for the BTClock, based on Svelte-kit. It uses Bootstrap for the lay-out.

Screenshot Screenshot Dark

Developing

After installed dependencies with yarn, start a development server:

yarn dev

# or start the server and open the app in a new browser tab
yarn dev -- --open

Building

To create a production version of the WebUI:

yarn build

Make sure the postinstall script is ran, because otherwise the filenames are to long for the LittleFS filesystem.

Deploying

To upload the firmware to the BTClock, you need to GZIP all the files. You can use the python script gzip_build.py for that:

python3 gzip_build.py

Then you can make a LittleFS.bin with mklittlefs:

mklittlefs -c build_gz -s 409600 littlefs.bin

You can preview the production build with yarn preview.