LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

airpaste

Pipe data between two machines on the local network using mDNS discovery

TLDR

Wait for a peer to connect (prints received data to stdout)
$ airpaste
copy
Send text to the waiting peer
$ echo "Hello" | airpaste
copy
Send a file
$ airpaste < [file.txt]
copy
Receive and save to file
$ airpaste > [received.txt]
copy
Use a named channel so only peers with the same name connect
$ airpaste [channel_name]
copy

SYNOPSIS

airpaste [name]

DESCRIPTION

airpaste is a 1-to-1 network pipe that auto-discovers another peer on the same local network using mDNS (multicast DNS), so you do not need to know the other machine's IP address. Data is transferred over TCP.Run airpaste on two machines: whatever you pipe into one is streamed to the other. Pass an optional channel name so that only peers using the same name connect to each other. It works across different operating systems and requires no server setup.

PARAMETERS

name

Optional channel name; only peers using the same name connect to each other

CAVEATS

Only works on local networks where mDNS multicast is reachable. Data moves over the network without encryption and could be captured, so it is intended for use on trusted networks only. It connects two peers at a time, not a broadcast to many.

HISTORY

airpaste was created by Mathias Buus (mafintosh) as a simple way to pipe data and files between machines during development, leveraging mDNS for zero-configuration networking. It is written in JavaScript and distributed via npm.

SEE ALSO

nc(1), wormhole(1), croc(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid