https://github.com/jeffque/teecp
The power of TCP over tee
https://github.com/jeffque/teecp
Last synced: 3 months ago
JSON representation
The power of TCP over tee
- Host: GitHub
- URL: https://github.com/jeffque/teecp
- Owner: jeffque
- License: mit
- Created: 2024-11-04T19:19:21.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T22:15:31.000Z (8 months ago)
- Last Synced: 2025-03-29T01:34:26.933Z (4 months ago)
- Language: Go
- Size: 27.3 KB
- Stars: 15
- Watchers: 1
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```sh
$ 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):
```sh
$ teecp --client | grep "bomb" | teecp --port 6668
``````sh
$ teecp --client --port 6668 | wc -l
``````sh
$ teecp --client | grep "[Ll]ink"
```## Current status
- [ ] Create executable `teecp` to allow better utility experience
- [ ] Add `asdf` plugin for easiness of use
- [ ] SSL [#4](https://github.com/jeffque/teecp/issues/4)
- [ ] Auth [#5](https://github.com/jeffque/teecp/issues/5)