Socket
Socket
Sign inDemoInstall

airpaste

Package Overview
Dependencies
16
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    airpaste

A 1-1 network pipe that auto discovers other peers using mdns


Version published
Weekly downloads
10
decreased by-23.08%
Maintainers
1
Install size
256 kB
Created
Weekly downloads
 

Readme

Source

airpaste

A 1-1 network pipe that auto discovers other peers using mdns

npm install -g airpaste

Usage

On one machine run

echo hello world | airpaste

On another one run

airpaste

If the two machines are on the same network the second one will now print hello world. Optionally you can provide an pipe name as the second argument

echo only streams to test | airpaste test

That way the output only gets send to another user doing airpaste test

Sharing files

You can use airpaste to share files across the network by piping them to/from airpaste

On one machine do

airpaste < my.file

On another

airpaste > my.file

Since airpaste just outputs to stdout you can also do stuff like piping movies/music to mplayer (or any other program that supports streaming to stdin)

On one machine

airpaste | mplayer -

On another

airpaste < movie.mp4

API

You can also use this module from node

var airpaste = require('airpaste')
var stream = airpaste()

process.stdin.pipe(stream).pipe(process.stdout)

Optionally you can pass a namespace to airpaste()

License

MIT

FAQs

Last updated on 08 Apr 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc