Shoot files between your Mac and your VPS from the terminal — one command, path on your clipboard.
A tiny, zero-dependency CLI wrapper around ssh + rsync, with a macOS menu-bar companion.
Yes, it's ssh + rsync underneath — you could type that yourself. The point is the part
rsync doesn't do: the instant your file lands, its remote path is on your clipboard, so
you paste it straight into the box's shell (or the agent running there) instead of retyping
~/inbox/whatever.pdf. No flags to remember, no host/path bookkeeping.
$ chute push report.pdf
→ pushing 1 item(s) → remote-box:~/inbox/
✓ sent — remote path copied to clipboard:
~/inbox/report.pdfIf you spend your day in a terminal on a VPS, that clipboard round-trip is the whole feature.
Everything else — named targets, chute init, folder watch, doctor, the macOS drop-pill —
is convenience around it.
Homebrew (macOS / Linux):
brew install tugay0/tap/chutecurl (any Unix):
curl -fsSL https://raw.githubusercontent.com/tugay0/chute/main/install.sh | bashGo (from source):
go install github.com/tugay0/chute/cmd/chute@latestChute shells out to ssh and rsync, which ship with macOS and every Linux box — nothing else to install.
| 1 |
Point Chute at your box. One-time guided setup — it asks for the host + folder and tests the connection. (The host is an chute init
# or non-interactively: chute targets add box user@1.2.3.4 '~/inbox/' |
| 2 |
Shoot a file up. The remote path lands on your clipboard. chute push screenshot.png
# ~/inbox/screenshot.png (copied) |
| 3 |
Grab one back down. chute pull logs/app.log --dest ~/tmp |
| 4 |
Keep a folder in sync while you work. chute watch ./dist # auto-mirrors on every change |
Run chute doctor any time to check ssh/rsync and test the connection.
| Command | What it does |
|---|---|
chute init |
Guided one-time setup: asks for host + folder and tests the connection. |
chute push <path>... [--to name] [--dry-run] [--no-copy] |
Send files/folders up; prints & copies the remote path. |
chute pull <remote>... [--from name] [--dest dir] |
Bring files down (remote paths are relative to the target folder). |
chute watch [dir] [--to name] [--interval 2s] [--delete] |
Mirror a local folder up on change (polling, no extra deps). |
chute targets [list | add <name> <host> <folder> | use <name> | rm <name>] |
Manage send targets. |
chute config [show | path | edit] |
Show config, print its path, or open it in $EDITOR. |
chute doctor [--to name] |
Diagnose ssh/rsync/clipboard and probe the target. |
chute version |
Print the installed version. |
Chute is deliberately boring: every transfer is a plain rsync -az --progress -e ssh you could
have typed yourself. There's no daemon, no account, no telemetry.
- Config lives at
~/.config/chute/config.json(respectsXDG_CONFIG_HOME). A target is a name →host:folder. There's no target until you runchute init(orchute targets add) — Chute never ships a placeholder host. - Hosts are whatever
sshunderstands — an alias from~/.ssh/configoruser@host. Chute never touches your keys or agent; it just runsssh. - Clipboard: on success
pushcopies the remote path (viapbcopy, orwl-copy/xclip/xselon Linux) so you can paste it straight into the box.
Environment overrides
| Var | Purpose | Default |
|---|---|---|
CHUTE_SSH |
ssh command rsync uses | ssh (e.g. ssh -p 2222) |
CHUTE_RSYNC_OPTS |
base rsync flags | -az --progress |
CHUTE_CONFIG_DIR |
config directory | ~/.config/chute |
NO_COLOR |
disable colored output | unset |
CHUTE_NO_COLOR |
same, but Chute-only (leaves other tools colored) | unset |
Color also switches itself off whenever stdout or stderr isn't a terminal, so piping or redirecting Chute never leaks ANSI escapes into the output.
The same idea, hands-free: app/ is a tiny AppKit menu-bar app that lives under your notch.
Drag a file onto the pill, hover + ⌘V to paste, or ⌥⌘4 to snip a screen region — it lands on
your box and copies the path, using the same transport as the CLI. See app/SPEC.md.
cd app
./sign-setup.sh # once: a stable self-signed identity so permissions persist
./build.sh # builds + signs → build/Chute.app
open build/Chute.appIssues and PRs welcome — see CONTRIBUTING.md. The CLI is pure Go standard library,
so go build ./... and go test ./... are all you need.
MIT © Tugay Alyıldız