Skip to content

Feature/sensor core - #3

Merged
manupawickramasinghe merged 3 commits into
masterfrom
feature/sensor-core
Jul 22, 2026
Merged

Feature/sensor core#3
manupawickramasinghe merged 3 commits into
masterfrom
feature/sensor-core

Conversation

@manupawickramasinghe

Copy link
Copy Markdown
Member

No description provided.

manupawickramasinghe and others added 3 commits July 22, 2026 15:02
Ground-up Rust rewrite of OpenHardwareMonitor as a HWiNFO-style hardware
monitor. This first branch is the walking skeleton:

- Tauri v2 (Rust) backend + Svelte/Vite/TypeScript frontend under app/
- model.rs mirrors OHM's Hardware/ISensor.cs + Hardware/IHardware.cs
  (SensorType / HardwareType / Sensor / Hardware)
- Backend commands app_info + demo_snapshot; HWiNFO-style dark UI shell
- Custom app icon set; exe/deb/dmg bundler config in tauri.conf.json
- README documenting the hybrid migrate-to-Rust architecture

Verified: cargo build green, vite build green, app launches (window
titled "SensorView", backend reachable).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- ci.yml: matrix build on windows/ubuntu/macos, uploads installers as
  artifacts (msi+nsis / deb+appimage / dmg)
- release.yml: on v* tag, builds all three via tauri-action and publishes
  a draft GitHub Release with the installers attached (macOS universal)

Verified locally on Windows: `npm run tauri build -- --bundles nsis,msi`
produces SensorView_0.1.0_x64-setup.exe and SensorView_0.1.0_x64_en-US.msi.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Per user direction ("native software like HWiNFO64, not a web app"),
Tauri + Svelte are dropped in favor of a pure-Rust native GUI
(eframe/egui 0.35, GPU-drawn windows, no webview).

- SensorSource trait + demo backend (synthetic wandering values)
- poll::Monitor: running min/max/avg + bounded history per sensor,
  with unit tests
- ui.rs: HWiNFO-style dense sensors table (grouped colored hardware
  headers, indented rows, right-aligned monospace values, dark theme)
- Windows exe icon embedded via winresource; window icon via eframe
- CI/release workflows switched to cargo + cargo-packager
  (NSIS exe / deb / AppImage / dmg)

Verified: cargo test green (2/2), release exe builds and renders the
live sensor table (window capture inspected).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 11:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@manupawickramasinghe
manupawickramasinghe merged commit 79ce57b into master Jul 22, 2026
3 checks passed
@manupawickramasinghe
manupawickramasinghe deleted the feature/sensor-core branch July 23, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants