# π Net Flow
**Real-Time Network Bandwidth Telemetry & Native Windows 11 Widget**
*Built in pure Rust for maximum performance, buttery-smooth fluid waveforms, and near-zero resource footprint.*
[](https://github.com/rockerrishabh/net-flow/actions/workflows/ci.yml)
[](CHANGELOG.md)
[](ms-windows-store://pdp/?productid=9PCR54NGJ94J)
[](https://www.microsoft.com/windows)
[](https://www.rust-lang.org/)
[](#-license)
#38D9F0) and upload traffic below (in warm amber #FFB020) on a shared scale with glowing pulse nodes.IP Helper (GetIfTable2) APIs and asynchronous Rust for near-zero CPU (< 0.1%) and negligible RAM footprint (< 15 MB).β 11.1 β 9.1 KB/s (37)) and generous 22-character name budgets.Net Flow is available directly through the Microsoft Store with seamless background updates:
π Get Net Flow on the Microsoft Store (Product ID: 9PCR54NGJ94J)
If building from source or testing modifications locally:
# Clone the repository
git clone https://github.com/rockerrishabh/net-flow.git
cd net-flow
# One-command build, packaging, self-signing, and sideload registration
powershell -ExecutionPolicy Bypass -File scripts/setup_msix.ps1
Once installed:
Download the standalone net-flow-windows-x64.zip directly from GitHub Releases.
Net Flow is engineered from the ground up for zero distraction, extreme reliability, and minimal system impact:
| Metric / Component | Implementation | Impact |
|---|---|---|
| Release Binary Size | Link-Time Optimization (lto = true, strip = true, codegen-units = 1) |
1.24 MB standalone executable |
| CPU Utilization | Direct Win32 IP Helper polling (GetIfTable2) & diffing |
< 0.1% CPU during active monitoring |
| Memory Footprint | Bounded caches & in-memory rasterization | < 15 MB working set |
| Process Sampling | Decoupled 1.0s process inspection + 500ms network throughput polling | Zero system scheduler jitter or scaling distortion |
| COM Lifetime | Automatic idle detection with 30s grace period and CoRevokeClassObject |
Zero zombie background processes when unpinned |
| Lock Poison-Safety | Poison-recovering extension traits (lock_safe, read_safe, write_safe) |
Fault-tolerant under panic = "abort" |
| Log Management | Thread-safe 1MB rotating logger in %TEMP% |
Prevents disk bloat; quiet by default |
When running Net Flow, Windows 11 may show Net Flow under Settings β Privacy & security β Location or briefly show the taskbar location icon.
Home-5G instead of generic Wi-Fi).wlanapi.dll via WlanQueryInterface).Wi-Fi in the header instead of your network name.π For complete details, see our Privacy Policy (PRIVACY.md).
Net Flow is structured as a modular, high-performance Rust workspace:
net-flow/
βββ .github/
β βββ workflows/
β βββ ci.yml # Continuous integration & MSIX packaging validation
β βββ publish.yml # Release pipeline & Microsoft Store submission
βββ crates/
β βββ core/ # net-flow-core (pure Rust core logic)
β βββ src/
β β βββ backend.rs # IP Helper polling, delta computing & interface classification
β β βββ card.rs # Adaptive Cards v1.6 JSON builders & templates
β β βββ chart.rs # In-memory dual-stream waveform rasteriser
β β βββ format.rs # Bandwidth scaling & humanized unit formatting
β β βββ icons.rs # Embedded vector glyphs (PNG data URIs)
β β βββ process.rs # Active process network attribution & bounded icon cache
βββ widget/ # net-flow (Windows App SDK COM widget provider)
β βββ Assets/ # Master branding, high-DPI logos, app.ico, and favicon pack
β β βββ MasterLogo.png # 816x816 high-res squircle master logo
β β βββ Square150x150Logo.png # 300x300 Windows tile logo
β β βββ Square44x44Logo.png # 88x88 widget header & provider logo
β β βββ StoreLogo.png # 100x100 Microsoft Store logo
β β βββ app.ico # Multi-res Windows executable icon (256, 128, 64, 48, 32, 16)
β β βββ favicon.ico # Web & docs favicon suite (48, 32, 16)
β βββ Package.appxmanifest # Open-source generic manifest template
β βββ build.rs # Resource compilation & icon embedding
β βββ src/
β βββ bindings.rs # Windows App SDK WinMD bindings
β βββ factory.rs # Out-of-proc COM ClassFactory implementation
β βββ main.rs # WinMain entry point, COM lifecycle & idle shutdown
β βββ provider.rs # IWidgetProvider2 handler with poison-resilient locks
βββ scripts/
β βββ setup_msix.ps1 # Local developer build, test-signing & sideloading
βββ Cargo.toml # Workspace manifest & LTO release profile
βββ CHANGELOG.md # Release notes & version history
βββ CODE_OF_CONDUCT.md # Contributor Covenant v2.1
βββ CONTRIBUTING.md # Contributor guide & developer workflow
βββ LICENSE-APACHE # Apache 2.0 License
βββ LICENSE-MIT # MIT License
βββ PRIVACY.md # Store-ready Privacy Statement & location disclosure
βββ SECURITY.md # Security policy & vulnerability reporting
Run all 75 workspace unit tests:
cargo test --workspace
Run Clippy with strict zero-warnings enforcement:
cargo clippy --workspace --all-targets --all-features -- -D warnings
Build the optimized release binary (1.24 MB):
cargo build --release --workspace
Net Flow includes automated GitHub Actions workflows:
ci.yml: Runs on every push and pull request. Validates formatting, executes all 75 unit tests, and verifies MSIX layout packaging.publish.yml: Triggered on Git tags (e.g. v0.1.0) or manual workflow dispatch. Builds the optimized binary, injects Partner Center secrets into the manifest, packages the MSIX, publishes GitHub Releases, and submits the update to the Microsoft Store via the Store Submission API.Net Flow is an independent open-source project created and actively maintained by:
This project is dual-licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Net Flow by you shall be dual-licensed as above, without any additional terms or conditions.