airpaste

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

  • 所有者: mafintosh/airpaste
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者mafintosh/airpaste
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2015-03-21 16:09:00
推送於2021-08-18 11:18:53
最后一次提交2021-08-18 07:18:53
發布數10
最新版本名稱v1.0.9 (發布於 2015-04-08 00:39:26)
第一版名稱v1.0.0 (發布於 2015-03-21 17:10:09)
用户参与
星數825
關注者數24
派生數26
提交數28
已啟用問題?
問題數5
打開的問題數4
拉請求數1
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?