Files
zhila/app

ZHILA · Tauri shell

This is the desktop shell for the P0 surface. It is scaffolded and not yet built on the development machine: the GTK/WebKit/dbus development packages are missing and sudo requires a password.

The shell expects the Vite surface at http://127.0.0.1:5173 (the devUrl in src-tauri/tauri.conf.json) and the Rust daemon at ws://127.0.0.1:4317. The P0 window does not embed the engine yet.

Install the system packages (Fedora)

sudo dnf install dbus-devel webkit2gtk4.1-devel gtk3-devel libappindicator-gtk3-devel \
  librsvg2-devel openssl-devel libsoup3-devel javascriptcoregtk4.1-devel pkgconf-pkg-config

Run

# terminal 1
cd ..
cargo run -p zhila-daemon -- --port 4317

# terminal 2
cd ..
npm --prefix ui run dev

# terminal 3
npm --prefix app install
npm --prefix app run tauri dev

Build

npm --prefix ui run build
npm --prefix app run tauri build -- --bundles deb

The bundle targets are deb and appimage. The icon at src-tauri/icons/icon.png is a P0 placeholder.

Observed failure before the system packages

Package 'dbus-1' was not found in the pkg-config search path.
The system library `dbus-1` required by crate `libdbus-sys` was not found.

pkg-config also reports missing webkit2gtk-4.1 and gtk+-3.0. The exact cargo check output is in docs/P0.md.