Skip to content

avalonbits/teecp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeeCP

The power of TCP over tee

Design goals

Allow to create a replacement of tee, capable of receiving new clients on the fly. Does not limit the process of stdout to be solely to be the only stream to apply further processing.

One should be able to run further processing in a long running process on the fly:

$ alias teecp='go run github.com/jeffque/teecp@latest'
$ ./some-long-process | teecp | grep "dodongo"

For each other terminal (assumes that alias teecp has been applied):

$ teecp --server=false | grep "bomb"  | teecp --port 6668
$ teecp --server=false --port 6668 | wc -l
$ teecp --server=false | grep "[Ll]ink"

Current status

  • Command line
  • User selected port (for now is 6667)
  • Alternate between client and server with something more beautiful

About

The power of TCP over tee

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%