Back to Search
Sanyam-G

Sanyam-G/Airpipe

Send files to/from the cli easily! no scp

28stars
0forks
28watchers
MIT License
Updated 1/20/2026

README.md

AirPipe

Transfer files between terminal and phone with a QR code. No apps. No accounts. End-to-end encrypted.

$ airpipe send config.yaml

demo

Scan → file downloads. Done.

Install

# Auto-Detection
curl -sL https://raw.githubusercontent.com/Sanyam-G/Airpipe/main/install.sh |sh

# From source
go install github.com/Sanyam-G/Airpipe/cmd/airpipe@latest

Usage

Send file (server → phone):

airpipe send ./error.log

Receive file (phone → server):

airpipe receive ./downloads

How it works

  1. CLI generates encryption key locally
  2. Key embedded in URL fragment (#...) — never sent to server
  3. File encrypted locally, streamed through relay
  4. Phone decrypts in browser
  5. Relay only sees encrypted bytes — zero knowledge

Self-host relay

docker run -p 8080:8080 ghcr.io/sanyam-g/airpipe-relay
airpipe --relay wss://your-server:8080 send file.txt

Security

  • Encryption: NaCl secretbox (XSalsa20-Poly1305)
  • Key exchange: None — key in URL fragment, never touches server
  • Tokens: Random, single-use, 10-minute expiry

License

MIT