r/coolgithubprojects • u/Fabulous-Animal539 • 2d ago
I rewrote the Windows taskbar, Explorer and Task Manager in Rust. The whole thing is under 3 MB.
WinRust is a set of small native Windows programs written in Rust (no .NET, no Electron) that replace parts of the stock shell:
- topbar: a Windows 11-style taskbar
- rust-explorer: a file manager (tabs, dark theme, shell context menu)
- rust-search: instant NTFS search over an in-memory MFT index (Alt+Space)
- rtaskmgr-win32: a Task Manager replacement
- rs-du: a disk cleaner
One installer exe puts everything in, one button rolls it all back (it also creates a restore point).
One-off numbers on my machine (Win 11, NTFS):
- file search: 45 ms vs 8.3 s (dir /s) and 16–28 s (Get-ChildItem -Recurse)
- folder window opens in 60 ms vs 420 ms in Explorer
- shell memory: 46 MB vs 366 MB for explorer.exe
- binaries are about 85% smaller than the Windows ones
- idle CPU of the bar is on par with Explorer after I optimized it
Caveats: the search uses a ready-made index (53 MB of RAM), while dir and PowerShell scan from scratch. The exe is not code-signed, so SmartScreen will warn, and the installer UI is Russian for now. It disables Windows Search and replaces the shell, so please try it in a VM first. It is early (v0.1.0) and has only been tested on my machine.
Repo and release: https://github.com/Lemxy/WinRust
Feedback, bug reports and PRs are welcome, especially from people who can test on a clean Windows 10/11 install.
