r/coolgithubprojects • • 8d ago

Cleaning up disk space through an invited terminal

https://github.com/Heming9/agenterm

I maintain Agenterm. I recorded a small disk cleanup demo to see what remote terminal help looks like when the person at the target computer can watch every command.

I asked my existing MCP agent to create an invite. On the target side, I ran the command that downloads and starts the client, then approved the connection. I asked the agent to clean up only the prepared cache, log, and temp files. It removed 192 MiB of sample data, left the notes file in place, and I disconnected the client after checking the output. Both sides ran on one computer for the demo, with the connection going through the hosted relay.

Agenterm is Apache-2.0. It gives your existing agent a terminal on an authorized device. The target client connects out, so there's no SSH server to set up there. I'd welcome feedback on the invite and approval flow, as well as issues and PRs.

Source and demo: https://github.com/Heming9/agenterm

1 Upvotes

0 comments sorted by