github alexgreensh/token-optimizer v5.3.5
v5.3.5 — Linux systemd dashboard daemon

latest releases: v5.8.3, v5.8.2, v5.8.1...
one month ago

The bookmarkable dashboard URL now works on Linux. setup-daemon registers a systemd --user unit that starts at login and serves http://localhost:24842/token-optimizer with the same UX Windows and macOS users have had since v5.3.2.

What's new

  • systemd --user unit at ~/.config/systemd/user/token-optimizer-dashboard.service (or $XDG_CONFIG_HOME). No root required.
  • Shell launcher (dashboard-launcher.sh) resolves Python at runtime so pipx venv removals, distro upgrades, and brew swaps no longer strand the unit.
  • User-bus reachability probe via systemctl --user list-units catches SSH-without-linger, cron contexts, and WSL2 without systemd — the old --version probe passed even when the bus was dead.
  • Rollback on failure: a failed enable removes the unit and launcher files so a retry doesn't inherit a half-install.
  • Quoted ExecStart so HOME directories with spaces survive systemd tokenization.

Install

python3 measure.py setup-daemon

Persist across logout

loginctl enable-linger $USER

(May need sudo on some distros. The installer surfaces this as a hint, not an auto-step.)

Not tested on a real Linux host

v5.3.5 was fixture-tested on macOS. First Linux user to run setup-daemon is the de facto smoke test. If install fails, please paste the output of systemctl --user status token-optimizer-dashboard and journalctl --user -u token-optimizer-dashboard -n 50 into a GitHub issue.

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.