The web user-interface for the BTClock
Find a file
Ticktock Depbot 37b87918ed
Some checks failed
renovate/artifacts Artifact file update failure
/ check-changes (pull_request) Successful in 19s
/ build (pull_request) Successful in 3m18s
Update fontsource monorepo to v5.1.1
2024-12-30 01:04:09 +00:00
.forgejo/workflows Cache playwright browsers for workflow 2024-12-26 16:01:02 +01:00
.github Bugfix and dependency updates 2024-09-11 02:26:10 +02:00
.vscode Added WiFi signal status and settings 2023-11-21 16:05:00 +01:00
doc Add do not disturb mode 2024-12-30 02:01:58 +01:00
extra/icons Remove icons to save space in image 2024-09-03 12:37:35 +02:00
patches Dependency updates and convert npub to hex on paste 2024-12-26 01:09:35 +01:00
src Add do not disturb mode 2024-12-30 02:01:58 +01:00
static Remove woff(1) assets, show something when mining pool logo is shown 2024-12-20 15:22:59 +01:00
tests Add do not disturb mode 2024-12-30 02:01:58 +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 Lint and format all files 2023-11-19 20:27:22 +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 Dependency upgrades 2024-09-03 12:11:14 +02:00
gzip_build.py Making it work for ESP32 2023-11-17 11:09:06 +01:00
package.json Create testing specific vite config, add multi font support, bugfixes 2024-12-30 00:50:33 +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.config.js Fix formatting 2024-11-29 00:13:43 +01:00
tsconfig.json Dependency upgrades 2024-09-03 12:11:14 +02:00
vite.config.test.ts Create testing specific vite config, add multi font support, bugfixes 2024-12-30 00:50:33 +01:00
vite.config.ts Remove unused GitHub reporter 2024-12-26 15:56:55 +01:00
yarn.lock Update fontsource monorepo to v5.1.1 2024-12-30 01:04:09 +00: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.