Socket
Book a DemoInstallSign in
Socket

airpipe

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airpipe

create a stdin/stdout pipe easily over wifi or internet

latest
npmnpm
Version
1.0.4
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

airpipe

Create a stdin/stdout pipe easily over wifi or internet.

The magic part is that the program will find the other person over the local network or even the internet automatically, without needing to exchange IP addresses. Just a direct pipe to another peer.

Usage

In one terminal:

$ airpipe testshare

In another terminal:

$ echo "hello from another terminal" | airpipe testshare

Fun Things You Can Do

stream music that others can listen to

$ airpipe free-music < song.mp3

share your live terminal

In the terminal to share:

$ script -f /tmp/log

and in another terminal:

$ tail -F /tmp/log | airpipe my-terminal

live text chat

This is actually what airpipe does by default!

$ airpipe hello-ken
hey, how goes?
good thanks making some vegan pizza
ooo rad

live audio chat

$ arecord -f cd | airpipe chat | aplay -f cd

you could also use lower quality audio for slower connections:

$ arecord -r 8000 -f U8 | airpipe chat | aplay -r 8000 -f U8

stream live video of your screen

(This example is Linux-only!)

In one terminal:

$ ffmpeg -f alsa -ac 2 -f x11grab -r 25 -i :0.0 -vcodec mpeg2video -ar 44100 -s wvga -y /tmp/video.mpg

In another:

$ airpipe screen < /tmp/video.mpg

Credits

  • this code forked from @cblgh's paperslip!
  • networking code provided by hyperswarm

License

ISC

Keywords

p2p

FAQs

Package last updated on 24 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts