ZapSend v0.1.0

LocalSend for the machines nobody is sitting in front of.

One Rust binary that speaks the real LocalSend protocol. Send a file to a whole fleet at once, from a cron job, over SSH, from a box with no display. The receiving device needs nothing installed — anything that runs LocalSend can take it. Nothing leaves your network.

curl -fsSL https://raw.githubusercontent.com/Urdemonlord/zapsend/master/install.sh | sh

Linux & Windows (Git Bash). No Rust toolchain needed — downloads the matching release binary, verifies its SHA-256, installs to ~/.local/bin. Or cargo install zapsend.

10.1 s 1 GiB file, warm cache — v0.1.0
~101 MiB/s loopback, vs ~30 MB/s on v0.0.24
3.4× faster than v0.0.24 — same machine, same file
1.9 s 200 × 1 MiB files, warm (was 8.1 s)

Measured on loopback on the author's VPS. Your LAN will differ — the point is the shape of the improvement: parallel SHA-256 hashing plus an on-disk hash cache, so repeat transfers skip work they already did.

$ zapsend send film.mkv --to pixel
sending film.mkv to "pixel" (192.168.1.42:53317)
film.mkv [============>               ] 1.2 GiB/4.1 GiB (12s)
✓ done

Built for the fleet, not the single transfer

Fan-out & fan-in

send --to a,b, pull --to a,b, daemon --to a,b. Several servers an AI agent can drive as one fleet, from cron or from a script.

Daemon watch folder

Drop a file in a watched folder and it goes out to the fleet on its own. No one has to sit at the machine.

Sync that asks first

Sync asks the other side what it already holds before sending. sync --replace backs up what it overwrites and verifies with SHA-256.

Pinned, not trusting

Peers are identified by fingerprint: --fingerprint pinning, --tofu on first use. --ip without a fingerprint is refused outright.

Built for AI agents

Every one-shot command takes --json (or ZAPSEND_JSON=1 for a whole session). Machine-readable output, verdict in the exit code, so an agent can drive a transfer from a script or a cron job and know whether it worked. One command sent 1 GiB to three servers in 22.2 s in a recorded run — about a tie with parallel rsync, and faster than running rsync three times in a row (27.5 s).

One static binary

No runtime dependencies. Linux x86_64 and aarch64 (including a Raspberry Pi), Windows x86_64, and cargo install anywhere else. Plus a browser-readable share page.

Honest comparison

ZapSend is not the best tool for every transfer. Here is when to reach for what.

ZapSendrsync over SSHLocalSend app
Headless / cron / fleetYes — this is the pointYes, if every box has SSHNo — it is a GUI
Phone or Windows box without SSHYes — the other side just runs LocalSendNo SSH, no rsyncYes
Both ends have SSHWorksBetter — thirty years better at itWorks
One file, one deviceWorksWorksSimplest — or lsq / lsend-cli
Cloud / internet transferNo — LAN only, nothing leaves your networkNeeds a reachable hostLAN only
GUINo — CLI onlyNoYes

Rule of thumb from the README: pick ZapSend when the other end cannot run rsync, or when an AI agent needs to move files across several servers as one fleet. Skip it when both ends have SSH, and skip it for one file on one device — lsq, lsend-cli and localsend-rs all do that already. It is not a GUI, not a Syncthing replacement, not a cloud service.

Interop, stated plainly: checked in all four directions against lsq, an independent implementation (11/11), plus loopback and Android. Interop with the LocalSend app on iOS, macOS and desktop has not been tested yet.

When port 22 is closed

Closing port 22 is one of the best security decisions you can make for a server. It also kills the tool every developer reaches for without thinking: scp and rsync have nothing to connect to. Measured on this VPS, plain rsync failed 6 out of 6 times with Permission denied (publickey), exit 255: no key, no agent, no login.

ZapSend needs no SSH at all. The sender needs one binary, the other side just runs the LocalSend app, and peers are trusted once by fingerprint. No accounts, no keys, no open ports beyond the LAN.

$ zapsend send release.tar.gz --to node-a,node-b,node-c
3 of 3 peer(s), 3.0 GiB delivered

The 3 of 3 peer(s) line is from a real recorded run: 1 GiB per server, 22.2 s warm cache. About a tie with parallel rsync, and faster than running rsync three times in a row (27.5 s).

Install

Fastest — install script

curl -fsSL https://raw.githubusercontent.com/Urdemonlord/zapsend/master/install.sh | sh

Linux and Windows (Git Bash). Verifies the SHA-256 of the release binary. Pin a version: sh -s -- --version v0.1.0 --dir ~/.local/bin.

From crates.io

cargo install zapsend

Also the way to go on macOS — there is no prebuilt macOS binary yet — and on musl systems like Alpine Linux, which the installer refuses.

Prebuilt binaries

Release v0.1.0 — Linux x86_64 and aarch64 .tar.gz, Windows x86_64 .zip, each with a .sha256 file, plus SHA256SUMS.

Try it in 30 seconds, no network peers needed: clone the repo and run ./demo.sh — it starts a receiver on one port, discovers it, sends three files, verifies the hashes, and proves a wrong fingerprint is refused.

Running a fleet? Read docs/agent-fleet.md: one receive per machine, so an agent can address every machine in the fleet, systemd units, pulling results back to your laptop.

See it in action

Intro video (57 s). The 30-second demo.sh run in the README shows the same flow: discover, send, verify, refuse the wrong fingerprint.

ZapSend vs rsync (45 s). An agent runs the transfer live: 1 GiB to three servers in 22.2 s, no SSH, JSON out, exit code in. About a tie with parallel rsync, and honest about it.

Status: v0.1.0

Send, receive, resume, folders, fan-out, fan-in, a watched folder, sync and a browser-readable share page all work. Interop is checked against an independent implementation, and the share page is checked in a real browser at phone and desktop width. No GUI, and no users yet beyond the author. Open source under the MIT license.

GitHub · crates.io · v0.1.0 release · Changelog