Skip to content

pepa65/localsnd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

version build dependencies docs license downloads

localsnd 0.5.12

CLI implementation of localsend.

Install

Install standalone single-binary

wget https://github.com/pepa65/localsnd/releases/download/0.5.12/localsnd
sudo mv localsnd /usr/local/bin
sudo chown root:root /usr/local/bin/localsnd
sudo chmod +x /usr/local/bin/localsnd

Install with cargo

If not installed yet, install a Rust toolchain, see https://www.rust-lang.org/tools/install

Direct from crates.io

cargo install localsnd

Direct from repo

cargo install --git https://github.com/pepa65/localsnd

Static build (avoiding GLIBC incompatibilities)

git clone https://github.com/pepa65/localsnd
cd localsnd
rustup target add x86_64-unknown-linux-musl
cargo rel  # Alias in .cargo/config.toml

The binary will be at target/x86_64-unknown-linux-musl/release/localsnd

Usage

Send

# send text only
localsnd send "text to sent"

# send files
localsnd send /path/to/file1 /path/to/file2 ...

# send mixed texts and files
localsnd send "text to sent" /path/to/file ...

Receive

# receive files and save to $(pwd)
localsnd receive

# receive files and save to path
localsnd receive --dest /path/to/save

# receive all files automatically
localsnd receive --quick-save

Help

localsnd 0.5.12 - CLI implementation of localsend
USAGE: localsnd [OPTIONS] <COMMAND>
COMMANDS:
  receive  Run as receive server
  send     Run as send client
  help     Print this message or the help of the given subcommand(s)
OPTIONS:
      --alias <ALIAS>          Alias of localsend, use hostname by default [env: LOCALSEND_ALIAS=]
      --multicast <MULTICAST>  Multicast address of localsend [env: LOCALSEND_MULTICAST=] [default: 224.0.0.167]
      --port <PORT>            Port of localsend [env: LOCALSEND_PORT=] [default: 53317]
      --http-port <HTTP_PORT>  Port of localsend http server [env: LOCALSEND_HTTP_PORT=] [default: 53318]
      --nerd                   Use nerd fonts
  -h, --help                   Print help
  -V, --version                Print version

Roadmap

  • Settings
    • Device alias
    • Device fingerprint
    • Multicast address
    • Port
    • Enable https
    • Quick Save
    • Save directory
    • Non interactive mode
  • Discovery
    • Multicast UDP
    • HTTP(Legacy Mode)
  • File transfer
    • Send files and texts
    • Send clipboard data
    • Cancel sending
    • File upload progress bar
    • Fuzzy Select devices
    • Receive files
  • Reverse file transfer
    • Browser URL
    • Receive request(not in plan)

Thanks

About

CLI implementation of localsend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%