Skip to content

Valet 0.1.5

Choose a tag to compare

@IbrahimIrfan IbrahimIrfan released this 04 Nov 16:59
· 134 commits to master since this release

Added

  • Backup health: one Backups card (valet.backups) with every backup job your services report, failed and overdue ones first, then the rest with when they last worked, their size and a small line of it run by run. A sudden drop or jump in size is flagged as worth a look. Overdue means no success within the job's schedule, backups.expect, or backups.overdue (26 hours). Going wrong and coming right are told once each, on the page, on the timeline and through notify.channels, checked every 15 minutes even with the page closed. Ask "are my backups ok?", or type backups in ⌘K.
  • Backrest, Kopia, Duplicati, Proxmox VE, Proxmox Backup Server, Home Assistant (its automatic backups), TrueNAS (cloud sync and replication) and Healthchecks (checks named for a backup) report their jobs to it. Integrations and plugins join with backups(), and a service() with backups and backupGet.
  • A wall display at /wall (and Wall display in ⌘K): a full-screen page for a wall tablet or a spare monitor, with the time and weather large across the top and the cards you pick below, sized to fill the screen. It's its own page in the config, wall:, written like layout, with pages that take turns (every, a touch holds one for pause). Left out, it shows your services and what's playing or downloading. It never acts, whoever is signed in: no chat, ⌘K, buttons or links. It dims nearly to black from sunset to sunrise (or set times), keeps the screen awake where the browser allows, and hides the pointer.
  • wall.token: pair a screen that can't sign in by opening /wall#key=<token> once. That browser can read the wall's cards and nothing else.
  • The weather card knows today's sunrise and sunset (sun), which the wall dims by.
  • The demo has three wall pages.
  • Valet as an app: add it to a phone's Home Screen or install it on a computer, and it opens in its own window with Valet's icon and your title. When the server can't be reached it says so, instead of the browser's error page. See Valet as an app.
  • Notifications on this device, from ⌘K: Valet's own push notifications, with no ntfy or Telegram needed. Everything that goes to your channels (reminders, rules, live.notify with push: true, insights) goes to these devices too, and a notification opens the tab it's about. On iPhone and iPad it needs Valet on the Home Screen, and the switch says so. notify.webPush sets the contact and push services; it's on by default and sends nothing until a device turns it on.

Security

  • The service worker caches only the "can't be reached" page, never the page, its data or anything behind sign-in. Turning notifications on needs what a button needs. Each notification is encrypted for its browser and signed with Valet's own key, kept in data/vapid.json (0600), and Valet posts only to the browsers' push services. The CSP names worker-src 'self' and manifest-src 'self'.