ruiiiijiiiiang/rs-top — reverse-engineered prompt
Reverse engineered prompt
Build me a small Rust terminal app called rs top that feels like a remote version of top or htop for servers I already SSH into.
I want it to show a live dashboard for multiple remote Linux hosts at the same time, all in one terminal screen. It should be agentless and read only, so nothing gets installed on the servers and it never changes anything remotely. Just use the local ssh setup that already exists, including my ssh config, keys, known hosts, and normal ssh behavior. No password prompts, assume key based auth only.
Have it read a simple rs top.toml config file from the normal config directory with hosts like address, user, port, and optional identity file. In the UI I want to switch focused hosts with Tab and Shift Tab, scroll the process list with j k or arrow keys, toggle a compact mode with m, quit with q, and press Enter to exit and open a normal SSH session to the selected host.
Use standard Linux commands on the remote machines to gather stats. Look up current docs online if you need to.
Want more depth? Deep Reverse