| Crates.io | localsnd |
| lib.rs | localsnd |
| version | 0.5.3 |
| created_at | 2026-01-12 14:54:39.279535+00 |
| updated_at | 2026-01-22 08:24:33.119722+00 |
| description | CLI implementation of localsend |
| homepage | |
| repository | https://github.com/pepa65/localsnd |
| max_upload_size | |
| id | 2037927 |
| size | 130,954 |
CLI implementation of localsend.
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
If not installed yet, install a Rust toolchain, see https://www.rust-lang.org/tools/install
cargo install localsnd
cargo install --git https://github.com/pepa65/localsnd
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
# 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 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
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