Skip to content

craigmulligan/supertube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supertube 🕳️

A networked unix pipe utility.

Supertube uses patchbay.pub to make it easy to pipe your stdout to remote machines.

Usage

Usage: ./supertube [FLAGS] [pipeName]
  -h	Print Usage.
  -r	Reader mode, the  default is Writer mode.

Note: It's a good idea to make you pipeName relatively unique, if you don't provide a pipeName we'll generate one for you. For more info read patchbay's note on security.

Install

go get github.com/hobochild/supertube

Or have a look at the releases

Example

Say you want to send your best friend a meme but hate using slack.

First we'll open a named "bestFriendPipe" pipe and stream the file. This command will block until your friend has drained the pipe on the other side.

> cat meme.jpeg | supertube bestFriendPipe

Next your friend opens the same named pipe on his machine in reader mode and streams it to their filesystem.

> supertube -r bestFriendPipe > meme.jpeg

Thats it! I think you should be able to do everything you can do with a regular pipe with supertube if not let me know.