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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?