Skip to content

v0.2.0

Choose a tag to compare

@parsasafaie parsasafaie released this 17 Oct 21:18

SLPM 0.2.0

The dashboard is now also available as a native desktop window, shipped as a second
AppImage alongside the browser one.

What's new

Two AppImages, one dashboard

  • SLPM-Desktop hosts the same interface in a real application window (pywebview on
    the system's WebKitGTK) — menu icon, taskbar presence, no browser chrome. The
    language/theme switch inside the app keeps working, and your language is
    remembered.
  • The desktop window paints with the system's WebKitGTK and runs on the system's
    Python. Where those are missing, the same image opens the dashboard in the browser
    instead — it never loses functionality.
  • Both images detect an already-running SLPM server and reuse it, so they can run
    side by side. Closing the desktop window ends the server it started; a
    dashboard-launched server keeps running until stopped.

Under the hood

  • The UI logic was extracted into a core service layer (slpm/core.py): the
    exclusive install/removal job, the Simple-Mode ownership gate, the operations log
    and the environment summary now live in one shared core that every interface —
    web, desktop window, and a future CLI — calls identically.

Fixed

  • The filter dropdown rendered as a big white button in the desktop window under
    dark theme. Native select controls ignore the CSS palette on WebKitGTK; they are
    now drawn from the theme with a custom chevron.

Upgrading

Stop SLPM, then run the newer file instead of the old one:

kill "$(cat ~/.cache/slpm/server.pid)"
chmod +x SLPM-Desktop_0.2.0-x86_64.AppImage
./SLPM-Desktop_0.2.0-x86_64.AppImage

Your data under ~/.cache/slpm is kept.

Files

Both images are built for x86_64.

File What it is
SLPM_0.2.0-x86_64.AppImage Dashboard, opened in your browser (bundled Python)
SLPM-Desktop_0.2.0-x86_64.AppImage Dashboard in a native desktop window (host python3 + WebKitGTK)

Testing

  • The selftest suite passes on clean machines (CI, Python 3.12/3.14) and against a
    real desktop system.
  • The web image is smoke-tested in clean containers (ubuntu:22.04, debian:12,
    ubuntu:24.04, ubuntu:26.04): bundled-interpreter identity, endpoint answers,
    DNS-rebinding guard, pages rendering, and a real HTTPS download through SLPM's
    own API.
  • The desktop image is smoke-tested headless (ubuntu:24.04, ubuntu:26.04,
    debian:13) after resolving python3, python3-gi and gir1.2-webkit2-4.1
    like a target machine, and was verified on a real Ubuntu 26.04 Wayland desktop:
    native window, Persian RTL rendering, server lifecycle.

Full changelog: v0.1.0...v0.2.0