r/coolgithubprojects • u/shulemdeen • 11h ago
I shipped a little app, then Googled the name
SafeRM. I needed a tool to let agents delete or move files without it being permanently destructive. Turns out several people had pretty much the same idea and arrived at the same name lol.
Normally, if I search in advance and find others made something similar, it just dampens my enthusiasm and becomes the excuse not to make the thing. But this changed my perspective. It validated the idea. Clearly, the need was real and even the reflexive solution had an obvious name.
Would love feedback if anyone wants to check it out:
https://github.com/shdeen/saferm
It has two interfaces, CLI and GUI, with full feature parity. The agent obviously uses the CLI. The GUI provides a convenient way to review, restore, etc. if necessary.
A `delete` does the obvious, moves the item to a trash location. For moves, it ensures that any existing file at the destination is tracked and removed without overwriting, so it stays recoverable. (Same for restore: if there's a new file in the original spot, it first removes the new occupant. So even restore is restorable!)
