Crate qrsync

Source
Expand description

§QrSync

Utility to copy files over WiFi to/from mobile devices inside a terminal.

When I built QrSync, it was only meant to send files from a terminal to a mobile device, then I found the amazing qrcp and I took some ideas from it and implemented also the possibility to copy file from the mobile device to the computer running QrSync.

§Acknowledgement

  • qrcp: I took many ideas from this amazing project and “stole” most of the HTML Bootstrap based UI.
  • axum: A great HTTP framework for Rust, very expandable and simple to use.
  • qr2term: Terminal based QR rendering library.
  • clap: Oh man, where do I start telling how much do I love Clap?

See Github project README for more info.

Structs§

QrSyncHttp
Main structure implementing the workflow if sending and receving files between devices. It fetches the main IP address, generates the QR code, configures and runs the Rocket worker.

Enums§

QrSyncError
Generic QrSync error structure, implementing all error types coming from dependencies.

Type Aliases§

QrSyncResult
Handy type handling Result and Errors.