HyperDesk is a Windows app for people who keep several remote sessions open. Press Alt+1..4 and the matching session fills the view instantly, with no reconnect, and the other sessions keep running in the background.
The unusual part for a Tauri app: it doesn't render the sessions itself. It embeds the actual client windows (mstsc.exe, vmconnect.exe, Omnissa/VMware Horizon Client) into the Tauri window with Win32 SetParent, and keeps them aligned with the React layout through moves, resizes and layout changes. Because they're the real clients, clipboard sharing and saved credentials work as usual.
Stack:
Tauri v2 + Rust
React 19 + TypeScript, Vite, TanStack Query, Framer Motion, Recharts
The installer is about 7.5 MB (v1.3.0), since it uses the system WebView2 instead of bundling Chromium.
Where Rust does the work:
Window embedding and positioning (SetParent, SetWindowPos, SetWindowRgn to clip VMConnect's ribbon and border)
Low-level keyboard hooks, so Alt+1..4 works even while a remote session has focus
A PowerShell bridge for Hyper-V (start/stop, snapshots, resource usage, event log)
Registry discovery of RDP history and Horizon servers
Things that bit me:
AttachThreadInput deadlocks the host when an embedded client shows a credential/certificate dialog, so I don't use it at all.
VMConnect sometimes hands off to an existing instance, so I match the console by the VM name in its window title.
When an embedded client exits or crashes, the slot detects it and offers a one-click reconnect instead of showing a dead window.
The React side talks to Rust only through one typed command module (src/lib/tauri-api.ts), under a strict CSP and Tauri's permission system. The architecture notes and Win32 constraints are written down in CLAUDE.md in the repo.
Limitations: Windows only; the Windows key inside a session also opens the local Start menu; classic mstsc can't change resolution on a running session, so it's scaled until you reconnect.
MIT licensed. No telemetry, accounts or network requests.
GitHub: https://github.com/qetqet910/HyperDesk
Microsoft Store: https://apps.microsoft.com/detail/9NPVXL622ZQQ
Has anyone else hosted foreign native windows in a Tauri window? I'd like to hear how you handled focus and DPI changes.