Pulse-Desk Svelte Themes

Pulse Desk

PulseDesk is an advanced, ultra-responsive desktop application for monitoring PC hardware health, telemetry, and performance metrics in real time. It brings together the speed and security of a Rust-powered backend via Tauri 2.0, with a beautiful, high-performance "dark neon" UI built using Svelte and D3.js.

PulseDesk 🖥️⚡

PulseDesk is an advanced, ultra-responsive desktop application for monitoring PC hardware health, telemetry, and performance metrics in real time. It brings together the speed and security of a Rust-powered backend via Tauri 2.0, with a beautiful, high-performance "dark neon" UI built using Svelte and D3.js.

(Preview graphic placeholder)

Features ✨

  • Cockpit-style Dashboard: A rich UI featuring radial gauges, D3.js area graphs, memory allocation bars, and per-core CPU load heatmaps.
  • Deep Telemetry Integration:
    • Uses sysinfo and nvml-wrapper for high-speed CPU, Memory, Disk, and direct NVIDIA GPU polling.
    • Interacts with a standalone .NET 8.0 Sidecar leveraging LibreHardwareMonitorLib to extract low-level motherboard voltages, VRM temperatures, and fan RPMs.
  • Micro-History Buffering: Emits stats smoothly to the UI at a 500ms heartbeat, holding a 60-second rolling buffer for graphs.
  • Customizable Themes: Multiple cyberpunk/glassmorphic themes including "Cyan", "Toxic", "Solar", "Ghost", and "Blood".

Architecture 🏗️

PulseDesk is separated into three primary processing contexts:

  1. Frontend (Svelte + Vite): Handles the smooth rendering of states using D3.js SVGs and standard Svelte reactivity without dragging down system performance.
  2. Backend Engine (Rust / Tauri): Serves as the ultra-fast systems bridge. It polls standard process resources via native APIs and marshalls JSON payloads directly to the frontend.
  3. Sensor Sidecar (C# .NET): Built securely to request local administrative privileges. It traverses complicated hardware buses typically hidden by standard unprivileged OS APIs.

Prerequisites 🛠️

To build and run PulseDesk, ensure you have the following SDKs installed on your machine:

  • Node.js (v20+) - To bundle the Svelte application interface.
  • Rust & Cargo - The compiler for the Tauri backend.
  • .NET 8.0 SDK - Necessary to compile the C# sidecar that reports motherboard metrics.

Getting Started 🚀

1. Build the Sensor Sidecar

The C# sidecar needs to be compiled ahead of compiling the final Tauri binary.

cd src-tauri/sidecar/lhm_bridge
dotnet publish -c Release -r win-x64 --self-contained true

2. Install Node Dependencies

Return to the root project directory and install the necessary web node_modules:

cd ../../../
npm install

3. Run Development Server

Spin up the local vite server alongside the rust watcher.

Note: Because hardware polling mechanisms rely on LibreHardwareMonitor, starting the frontend dev process will naturally trigger a UAC (Admin) Elevation prompt so the .NET runtime can read restricted sensors.

npm run tauri dev

Building for Production 📦

When you are ready to compile the project into a compact, deployable executable (complete with an installer wizard):

npm run tauri build

The final bundles and .exe installer will be located in src-tauri/target/release/bundle/.


Security and Privileges 🔒

Accessing System package power rails, granular per-core voltages, and DIMM statistics requires Administrative permissions on Windows. The C# Sidecar has been explicitly flagged in its app.manifest to require these privileges safely, separated from the Svelte UI node process.

License

MIT License.

Top categories

Loading Svelte Themes