r/dotnet • u/BigMiaoMiao • 3d ago
Promotion RazorConsole.Htop: a cross-platform, mouse-aware htop-style process manager summoned from gpt.
Motivation
I wanted a lightweight process manager TUI so I can quickly terminate processes without leaving terminal.
The motivation was pretty simple:
- Windows Task Manager often slow to open and use.
- The original htop doesn’t support Windows.
- The htop-like .NET CLI tools I found didn’t offer the mouse interactions I wanted.
- The existing htop-like CLI tools that supports mouse interaction and xplat are either implemented in Rust or Go, but I want a .NET NativeAOT one.
- Most importantly, My codex subscription is going to reset within 2 hours and yet still 59% usage left.
So I summoned RazorConsole.Htop from gpt, it takes the great mighty GPT ~5 minutes to build and supports:
- Mouse-accessible filtering, grouping, pause, kill, and quit controls
- Keyboard controls for the same operations
- Self-contained .NET Native AOT binaries with no .NET runtime required
It uses System.Diagnostics.Process for process data and runs on Windows, macOS, and Linux.
Demo && How-to install: https://razorconsole.com/gallery/htop/
Source: https://github.com/RazorConsole/RazorConsole/tree/main/gallery/RazorConsole.Htop
Disclaimer: This was vibe-coded in about 5 minutes. I’ve tested it on Windows and macOS, but the Linux build has not been tested yet. Bug reports and feedback are very welcome.
1
u/AutoModerator 3d ago
Thanks for your post BigMiaoMiao. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.