NeoSparkX
Desktop App · Live (v1.0.0)

uWidgets (Rust Edition)

Ultra-lightweight, real-time Liquid Glass desktop widgets for Windows 10 & 11 — rebuilt from the ground up in pure Rust, Win32, Direct2D, and DirectComposition.

Our Role

Systems Architect & Native Rust Desktop Engineer

Technologies & Frameworks

Rust (Edition 2024) · Win32 API · Direct2D · DirectWrite · DirectComposition · SDF Liquid Glass Shader · MSIX / WinRT StoreContext

Project Overview

uWidgets (Rust Edition) is a ground-up native Win32 + Direct2D + DirectComposition desktop widget platform built in pure Rust. Engineered to eliminate the ~140 MB RAM footprint and 60+ MB runtime bloat of managed desktop widget apps, uWidgets compiles down to a compact native Windows binary (~24 MB private RAM, 0.0% idle CPU, 2.3 MB Setup installer) while delivering an Apple iOS 26-inspired real-time SDF Liquid Glass optical engine, 16 interactive desktop widgets across 6 categories, instant disk-cached Weather, and dual-channel automatic updates.

The Problem

  • Heavy Managed Runtime Overhead: Traditional Windows widget suites built on .NET/Avalonia or Electron consume 135+ MB of private RAM, bundle 60+ MB of DLLs, and keep background CPU awake even while idle.
  • Slow Weather Startup & Jittery Glass Effects: Network-blocked weather widgets flash blank loading states on boot, and standard Windows 11 Acrylic turns flat gray whenever desktop widgets lose focus.
  • Fragmented Distribution & Updates: Users installing via Microsoft Store versus direct EXE installers rarely receive seamless, channel-aware updates without manual downloads.

The Engineering Solution

  • Pure Rust + Direct2D + DirectComposition Pipeline: Rebuilt all 6 domain logic modules in #![forbid(unsafe_code)] Rust crates verified with 6,400/6,400 parity checks against a .NET 8 reference oracle, paired with native Win32/Direct2D rendering.
  • Real-Time SDF Liquid Glass Optical Engine: Implemented exact signed-distance-field rounded-squircle geometry, 3-pass cached Gaussian frost blur (~4 ms live re-blur), curved bevel lens refraction, RGB chromatic dispersion, dual-angle Fresnel specular rims, 4 optical presets, and 9 translucent glass dye tints.
  • Instant Disk-Cached Weather & Dual-Channel Auto-Updater: Persists Open-Meteo forecasts in weatherCache.json for < 5 ms frame-0 rendering, and automatically detects Microsoft Store MSIX (StoreContext silent updates) vs. Direct Setup/Portable (SHA-256 verified GitHub & NeoSparkX manifest updates).

Key Architecture & Features

Real-Time SDF Liquid Glass Optical Engine

  • Wallpaper-aligned frosted blur (0–30 px), curved bevel refraction (0–200%), RGB chromatic dispersion, Fresnel specular rims, and frost micro-grain.
  • 4 one-click optical presets (Crystal, iOS 26, Deep Frost, Prism), 9 glass dye tints, and always-on Windows 11 Fluent Acrylic fallback.

16 Interactive Desktop Widgets Across 6 Categories

  • Clock (Analog I, Analog II, Analog III, Split-Flap Flip Clock, Digital, World), Calendar (Date, Month), Weather (Forecast, Temperature, UV, Pressure, Air Quality, Sunrise/Sunset), System Monitor, Sticky Notes, and Reminders.
  • Magnetic grid snapping, 4 responsive widget sizes, multi-monitor awareness, and 12 built-in UI languages.

Dedicated Weather Tab & Instant < 5 ms Startup

  • 1-click IP Auto-Detect Location, global city search geocoding, Celsius/Fahrenheit and wind speed unit toggles, and non-blocking event-driven background refreshes.

Native 2.3 MB Setup Wizard & Microsoft Store MSIX

  • Per-user native Win32 Setup Wizard requiring zero Admin UAC prompt, plus Microsoft Store MSIX package (9NDGKTPBF48G) with silent StoreContext updates.
← View All Projects View uWidgets in Product Store → Start a Project Like This →