airpaste

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

  • Owner: mafintosh/airpaste
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownermafintosh/airpaste
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-03-21 16:09:00
Pushed At2021-08-18 11:18:53
Last Commit At2021-08-18 07:18:53
Release Count10
Last Release Namev1.0.9 (Posted on 2015-04-08 00:39:26)
First Release Namev1.0.0 (Posted on 2015-03-21 17:10:09)
用户参与
Stargazers Count825
Watchers Count24
Fork Count26
Commits Count28
Has Issues Enabled
Issues Count5
Issue Open Count4
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private