All projects
PrototypeRust / CLI
Bandwidth-Prioritizer
A Windows network traffic shaper that throttles background apps while priority apps run (prototype).
bwp top — Windows WinDivert
$bwp status
statePriorityMode (active)
profilegaming · limit 500 kbps
prioritydiscord.exe, steam.exe
throttled4 background PIDs (token bucket)
WinDivert · named pipe IPC · ratatui TUI
A Windows network traffic shaper (bwp) that detects priority apps (Discord, Zoom, games) and throttles all other processes with a per-PID token bucket, restoring full speed once they close. The Windows WinDivert backend, Windows Service, named-pipe IPC, hot-reloaded config.toml, runtime profiles and ratatui dashboard (bwp top) work; the Linux tc htb backend is still a placeholder.
The Windows backend (WinDivert + Windows Service) is functional; the Linux (tc htb) controller is currently a placeholder and does not build on Linux yet.
Highlights
- Detects running priority apps and caps background PIDs with a per-PID token bucket
- Windows WinDivert packet shaping engine with optional auto-start Windows Service
- Runtime profile switching (gaming, meeting, download) and hot-reloaded config.toml
- Named-pipe IPC controlled via bwp CLI and a live ratatui dashboard (bwp top)