Giter Site home page Giter Site logo

airpipe's Introduction

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

share files

on one side:

$ airpipe < file.tar.gz

and on the other:

$ airpipe > file.tar.gz

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

and then on the remote side just type

airpipe

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

License

ISC

airpipe's People

Contributors

hackergrrl avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.