localsnd

Crates.iolocalsnd
lib.rslocalsnd
version0.5.3
created_at2026-01-12 14:54:39.279535+00
updated_at2026-01-22 08:24:33.119722+00
descriptionCLI implementation of localsend
homepage
repositoryhttps://github.com/pepa65/localsnd
max_upload_size
id2037927
size130,954
pepa65 (pepa65)

documentation

https://docs.rs/localsnd

README

version build dependencies docs license downloads

localsnd 0.5.3

CLI implementation of localsend.

Install

Install standalone single-binary

wget https://github.com/pepa65/localsnd/releases/download/0.5.3/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.3 - 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

Commit count: 88

cargo fmt