Easy-to-manage touch screens
Free, open-source touch screens. Guided USB setup, a drag-and-drop editor and local control. Made for Home Assistant.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Source for fortune.slurm.it: crack a cookie, read your fortune, keep the ones you like.
It is a static site — index.html, styles.css, app.js — with no build step. Fortunes come from the
AdviceSlip API, fetched in the background into a small queue, with built-in
fortunes as a fallback when offline. History and favourites are kept in the browser's localStorage.
python3 -m http.server 8000
Then open http://localhost:8000/. Add ?debug to the URL to log queue and API activity to the console.
Browser tests use Playwright and check accessibility with axe-core. They stub the AdviceSlip API, so they run offline.
npm ci
npx playwright install chromium # first time only
npm test
Tests run on desktop and mobile (Pixel 7) viewports, and on every pull request via GitHub Actions
(.github/workflows/tests.yml).
Merging to main runs .github/workflows/pages.yml, which builds _site/ with
scripts/build-site.sh, runs the browser tests against it, and publishes it to GitHub Pages.
Only the files listed in that script are published; tests, tooling and docs are not.
When you add a file the page needs at runtime (a script, image, folder), add it to
SITE_FILES in scripts/build-site.sh. Pull requests run the tests against the built folder
too, so a missing entry fails CI before it can break the live site. To check locally:
npm run test:site
GitHub Pages must be set to deploy from GitHub Actions (Settings → Pages → Build and
deployment → Source). The custom domain is configured there as well; with Actions
deployments the CNAME file in the repo is not used.