pipe bytes,
paw to paw
Pipe stdin/stdout between two machines. minipaw gets through NATs, needs no accounts, and encrypts every byte end to end.
you@a ~
› install it, on both machines
curl -fsSL https://paw.minip2p.com/install.sh | shLinux and macOS, x64 or arm64; it installs to ~/.local/bin and says so if that isn't on your PATH. Elsewhere, cargo install minipaw-cli. Installation docs
you@a ~ › minipaw # 🐾 listening; connect with: minipaw mpAQDEiiVb-s5zPPFvR0SjX0lVJgAkCAESINgMwzfDtX-D_vKZ0slyfVb4K-lw-ijkyHNLfPt1UkM2 # connection from 12D3KooW…tLdf (via relay) # upgraded to a direct connection peer› hello
you@a ~
›
say hi to the paw
A paw bot runs minipaw serve on a server. Type below and your browser dials its ticket over WebTransport through the relay, the same way minipaw would from a terminal. To chat with your own terminal instead, paste its ticket here.
- Click into the box below to connect: that downloads minip2p (about 0.5 MB of WebAssembly) and dials it through the relay.
the path
Every session starts on a relay, then moves to a direct path when the hole punch lands. Bytes keep flowing through the switch. Read how it works
one listens, one pastes
Install minipaw on both machines. One prints a ticket, the other pastes it. Once you're in them, keys 1 to 4 switch recipes.
a on the machine to reach
minipaw serve --ssh --no-authNo auth. Anyone with the ticket gets a shell as you, and it keeps working across restarts until serve --new replaces it. Stop serve with Ctrl-C when you're done.
Or let in only the keys in ~/.ssh/authorized_keys
minipaw serve --sshA built-in SSH server, so no sshd needed (Linux and macOS). Built-in SSH server docs
b from anywhere
minipaw ssh <ticket>Or copy files, as with scp
minipaw cp notes.txt <ticket>:Runs your own ssh and scp. You log in as whoever started serve.
a on machine A
minipawPrints a ticket and waits.
a on the receiving machine
minipaw > cat.jpgSaves what arrives as cat.jpg.
b on the sending machine
minipaw <ticket> < cat.jpgSends this machine's cat.jpg.
a on the sending machine
tar cz pics | minipawPacks up the pics folder and sends it.
b on the receiving machine
minipaw <ticket> | tar xzUnpacks it in the current directory.
The ticket works like a password: whoever has it can connect. What you paste here stays on this page.
small, sturdy pipe
What the pipe does, and how.
- NAT traversal
- relay, then hole punch
- Starts through a relay, then hole-punches a direct QUIC path when the networks allow, and moves the session over mid-transfer without losing a byte.
- Encryption
- TLS 1.3 direct, Noise relayed
- The relay only ever sees ciphertext, and both sides are authenticated by peer ID.
- Accounts
- none
- The ticket is the whole address: the listener's public key, a random token, and its relay if that isn't the default. Whoever holds it can connect, so share it like a password.
- Drops
- resumes for 60 s
- A relay cutting a circuit, a path upgrade, a network blip: both sides pick up from the last byte the other received, as long as both keep running.
- Slow readers
- acked at stdout
- The receiver acknowledges bytes only once they reach its stdout, so a slow reader slows the sender instead of filling memory.
- Tickets
- stable with serve
- minipaw serve keeps its key, so its ticket survives restarts, and minipaw ticket prints it without listening. --identity does the same for a plain listener.