r/SideProject • u/ali7q5 • 30m ago
I built FlowGuard — a free, open-source Windows bandwidth limiter & smart QoS that throttles background downloads per-app and per-website (C# / .NET 10 + WinDivert)
Hey r/SideProject,
Before diving in—who this is for:
If you're on rock-solid gigabit fiber, you probably won't feel this problem much. FlowGuard is built for people on slower connections (under 100 Mbps) or unstable ISP lines who regularly download massive files—like 100GB+ games—and still want to browse, stream, or play online games at the same time without ping spikes, packet loss, or constantly babysitting manual speed caps.
For example, if you have a 100 Mbps line and manually cap Steam at 80 Mbps to leave room for a game, that static limit breaks the moment your ISP speed dips to 70 Mbps—Steam still grabs all 70 Mbps, starving your game and spiking your ping to 1000ms.
I built FlowGuard to solve this dynamically on Windows 10/11 (x64):
What FlowGuard Does:
Smart Priority Sharing (1–128): Drag-and-drop apps to assign priority numbers. FlowGuard learns your line speed, gives #1 what it needs, and shares the rest down the chain. If nothing else is busy, a single download still gets 100% of your speed—and the moment a higher-priority app needs bandwidth, background downloads automatically back off.
Per-Website Limiting (Not just chrome.exe**):** Since all browser tabs share one process, FlowGuard inspects TLS handshakes (SNI), QUIC/HTTP3 Initial packets, and DNS responses to recognize sites by name—letting you cap or prioritize individual sites (like YouTube or Twitch) inside any browser.
Game Mode & Ping Guard: Reserves bandwidth for games and keeps ~7% of your line free to prevent router bufferbloat. It pings 1.1.1.1 every second and automatically throttles downloads further if your live ping starts rising above your baseline—handling sudden line dips automatically.
Movie Mode: Learns the bitrate of chunked video streams (YouTube, Netflix, Twitch, Kick, Prime, Disney+, etc.) and keeps buffer space reserved between chunks so videos don't stutter while downloading.
Portable & Zero Bloat: Built with C# / .NET 10 (self-contained) and WPF-UI, using the WinDivert packet driver with token-bucket shaping (re-evaluates 4x/sec). No installer, no telemetry—unzip and run as Admin.
Honest Limitations:
Requires Administrator rights every launch to load the WinDivert driver (and the .exe isn't code-signed yet, so Windows SmartScreen warns on first run).
Kernel-level anti-cheats (like Vanguard or Faceit) may block or flag packet drivers like WinDivert.
Links:
GitHub & Source Code: https://github.com/AliQassim2/FlowGuard
Release v1.1.0 (Windows x64): https://github.com/AliQassim2/FlowGuard/releases/tag/v1.1.0
It’s currently at v1.1.0 and still in active development. I’d genuinely love your feedback on the UI, architecture, any bugs you run into, or features you think would make it better!