localsend-rs icon indicating copy to clipboard operation
localsend-rs copied to clipboard

[WIP] a cli for localsend.

localsend-rs

a cli for localsend

the current idea for sending files is to make the server an Arc type in the bin and spawn 2 tokio tasks - one to listen for messages from client and call corresponding methods to send files and another one to do what we do now which is to recv files.

a small todo: use mem::take when ever possible, to avoid clones.

Roadmap

  • [x] receive files
  • [ ] send files
  • [ ] handle connection reset errors and cancel requests when sending and receiving files
  • [ ] progress for sending files
  • [x] pass config from bin to lib
  • [ ] config file for device name, default port, etc
  • [ ] Support protocol v2
  • [ ] fix Illegal SNI hostname received from dart side