n0-computer/sendme — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Rust command line app called sendme that lets me quickly send a file or a whole folder to someone over the internet. I want the sender to run something like sendme send <path> and get back a share ticket, then the other person can run sendme receive <ticket> to download it into their current folder with the original file or folder name.

Please make it work well for real world connections, so it should try direct connections when possible, fall back cleanly when needed, keep transfers encrypted, and verify the data while streaming. If a download gets interrupted, it should be able to resume instead of starting over. The send side should run until I stop it with Control C, and both send and receive should use temporary .sendme style working folders and clean them up afterward.

Use iroh and the blobs protocol for the transfer behavior. Add basic tests and make the CLI feel simple and friendly. Look up current docs online if you need to.

Want more depth? Deep Reverse