Getting Started
This guide walks through building jetpack-daemon, inspecting your host hardware profile, starting the background tray daemon, and opening the embedded Control Center at http://127.0.0.1:9470.
Prerequisites
- Rust 1.75+ (stable toolchain) with the WebAssembly target:bash
rustup target add wasm32-unknown-unknown - Node.js 20+ and
npm(for building the WASM bindings and Control Center UI, or running the documentation portal). - Platform notes:
- Windows (
windows/amd64): Standard user account; no Administrator / UAC elevation required. - macOS (
darwin/arm64): Apple Silicon with Xcode Command Line Tools (Metal.frameworkis detected automatically). - Linux (
linux/amd64):bubblewrap(bwrap) installed with unprivileged user namespaces enabled, plus a kernel supporting Landlock LSM (Linux 5.13+).
- Windows (
1. Build the Daemon, CLI, and Embedded Control Center
Build the WASM client, compile the Control Center frontend (web/dist/), and produce both jetpack-daemon and the jetpack CLI (including jetpack mcp) release binaries:
make web-install
make release-daemonOr run the debug workspace build during development:
cargo build --workspace2. Verify Host Hardware Discovery
Probe your CPU topology, system/unified memory, and GPU adapters (NVML / Vulkan / DX12 / Metal) directly in user space:
./target/debug/jetpack-daemon --print-hardware-profileExample output on Apple Silicon:
JetPack Hardware Profile (macos/aarch64)
CPU: Apple M1 Pro (10 physical / 10 logical cores, 8P + 2E)
Memory: 16384 MiB total / 3241 MiB available (unified=true, recommended_max_working_set=12124 MiB)
GPUs (1 detected):
[0] Apple M1 Pro | vendor=Apple | backend=Metal | driver=Metal | vram=12124 MiB total (3241 MiB free) | unified=true3. Start the Daemon and Open Control Center
Launch jetpack-daemon:
RUST_LOG=info ./target/release/jetpack-daemon(For headless CI or SSH environments without a desktop system tray, pass --headless. OS autostart entries configured via Launch at Login pass --background silently so the dashboard does not pop up on every OS reboot.)
When started:
JetPackPaths::init_dirs()initializes your isolated user-space directory (0700on Unix).jetpack-daemonregisters thejetpack://custom URI scheme in user space (HKCU\Software\Classeson Windows,~/.local/share/applications/jetpack-daemon.desktopon Linux, bundleInfo.pliston macOS).- The system tray icon appears in the OS menu bar / notification area with quick status and shortcuts.
- The loopback gatekeeper and embedded Control Center start listening strictly on
127.0.0.1:9470. - When launched interactively (without
--backgroundor--headless) andopen_dashboard_on_startupistrue(default),jetpack-daemonautomatically openshttp://127.0.0.1:9470—either in a dedicated native WebView window (open_in_app_window = true) or in your default browser. You can toggle this preference anytime under My Hardware & Security -> Window & Launch Mode ("Open Control Center on startup").
You can also open the Control Center manually at:
http://127.0.0.1:9470From the Control Center you can:
- Inspect live CPU, RAM, and GPU telemetry (
hardware.get_profile). - Browse and install verified applications from the
Ed25519-signed App Store (SignedAppCatalog). Official release installers pre-bundle only the slimmedexamples/ffmpeg-media-converterstarter worker (io.jetpack.media-converter) to minimize installer size, while other services are downloaded on demand from the catalog. - Launch standalone web apps in a dedicated browser tab (e.g.
http://127.0.0.1:9470/apps/io.jetpack.media-converter/with the integratedJetPackControlBar) or manage/terminate installed apps, reset cached volume folder authorizations, and monitor local developer apps (UNVERIFIED / LOCAL DEV) in My Apps & Activity. - Review and revoke paired browser origins (
paired_clients.db). - Export a secret-redacted
.zipdiagnostic bundle (diagnostics.json+ boundeddaemon.logtail) from My Hardware & Security -> Diagnostics & Support Logs, the system tray ("Export Diagnostics..."), or CLI (jetpack-daemon --export-diagnostics). Optional HTTP JSON reporting is disabled by default ([diagnostics].report_url = Noneindaemon.toml) and enforceshttps://(or loopbackhttp://for local testing) with boundedrequest_timeout_secs(1..=60). - Check for and apply verified
jetpack-daemonreleases from My Hardware & Security -> JetPack Updates or the system tray ("Check for Updates..." / "Update Available: vX.Y.Z"), configured via[updates]indaemon.toml(release_api_url,auto_check = true,check_interval_hours = 12).
4. Run Built-In Verification Smoke Tests
Before connecting an external web app or publishing workers, you can verify the entire local security stack offline:
# 1. Verify 127.0.0.1 binding, PNA headers, X25519/Ed25519 handshake, ChaCha20-Poly1305 & 1003 JSON rejection
./target/debug/jetpack-daemon --ws-smoke-test
# 2. Verify OCI multi-arch CAS & hardlink/APFS clone deduplication
./target/debug/jetpack-daemon --oci-smoke-test
# 3. Verify isolated uv + python-build-standalone provisioner
./target/debug/jetpack-daemon --python-smoke-test
# 4. Verify OS native kernel sandbox (AppContainer / Seatbelt / bwrap+Landlock)
./target/debug/jetpack-daemon --sandbox-smoke-test
# 5. Verify sandboxed worker IPC, userspace network proxy & lifecycle cleanup
./target/debug/jetpack-daemon --worker-ipc-smoke-testNext Steps
- Connect a web app using the @jetpack-desktop/client Quickstart.
- Scaffold your first Python worker with
--init-appin the CLI Tools Reference. - Inspect the cryptographic and sandbox guarantees in Security Overview.
