Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Node Draftlog | 1,133 | 569 | 136 | 2 years ago | 11 | March 26, 2021 | 5 | mit | JavaScript | |
📜 Create mutable log lines into the terminal, and give life to your logs! | ||||||||||
Streamhut | 869 | 1 | 3 | 10 months ago | 5 | April 19, 2019 | 9 | apache-2.0 | Go | |
Stream your terminal to web without installing anything 🌐 | ||||||||||
Zulip Terminal | 515 | 5 days ago | 9 | May 21, 2022 | 394 | apache-2.0 | Python | |||
Official Zulip terminal client. | ||||||||||
Botflix | 405 | 8 days ago | 4 | mit | Python | |||||
🎥 Stream your favorite movie from the terminal! | ||||||||||
Gauge | 318 | 391,237 | 327 | 15 days ago | 38 | October 14, 2022 | 8 | other | JavaScript | |
A terminal based horizontal guage aka, a progress bar | ||||||||||
Travis Watch | 294 | 2 | 2 | 2 years ago | 53 | August 22, 2019 | 7 | mit | JavaScript | |
Stream live travis test results of the current commit to your terminal! | ||||||||||
Hegemon | 269 | 4 years ago | 1 | September 22, 2018 | 13 | gpl-3.0 | Rust | |||
A modular system monitor written in Rust | ||||||||||
Tlog | 264 | 6 months ago | 103 | gpl-2.0 | C | |||||
Terminal I/O logger | ||||||||||
Tentacle | 196 | 3 months ago | mit | Rust | ||||||
A multiplexed p2p network framework that supports custom protocols | ||||||||||
Go Streams | 191 | 4 months ago | 1 | July 20, 2021 | 3 | Go | ||||
Stream Collections for Go. Inspired in Java 8 Streams and .NET Linq |
Stream and send data, terminal to web and vice versa.
Streamhut allows you to stream (pipe) realtime data from your terminal stdout/stderr to a web xterm UI or even to another terminal. It also allow you to quickly share data and files between devices.
As long as you have netcat
which comes pre-installed in most *nix systems than you can use streamhut! If you can't install netcat, you may also use the streamhut CLI client.
One liner to stream your terminal:
$ exec &> >(nc stream.ht 1337)
The above command pipes stdout and stderr of new bash shell to streamhut.
Stream to a custom channel name:
$ exec &> >(nc stream.ht 1337);echo \#mychannel
Example of streaming tail of file:
# terminal 1
$ cat > data.txt
# terminal 2
$ tail -F data.txt | nc stream.ht 1337
Stream the current date every second:
$ while true; do date; sleep 1; done | nc stream.ht 1337
Stream output of a program (delay is required to see share url):
$ (sleep 5; htop) | nc stream.ht 1337
# waits 5 seconds, and then send contents of program.
Example of piping a program to both stdout and streamhut:
$ (echo -n; sleep 5; htop) | tee >(nc stream.ht 1337)
Don't have netcat available? Pipe to a file descriptor with an open TCP connection:
$ exec 3<>/dev/tcp/stream.ht/1337 && head -1 <&3 && exec &> >(tee >(cat >&3))
$ go get github.com/streamhut/streamhut
Example of using streamhut CLI:
Piping commands:
$ htop | streamhut
Add delay to see share url:
$ htop | streamhut -d 5
Open url in browser:
$ htop | streamhut -o
Stream to different server:
$ htop | streamhut -h example.com -p 1337
Stream to custom channel:
$ htop | streamhut -c mychannel
For more options, run streamhut --help
$ streamhut server
Starting server...
HTTP/WebSocket port: 8080
TCP port: 1337
Run server with SSL/TLS:
$ mkcert localhost
$ sudo streamhut server --tls --tls-cert=localhost.pem --tls-key=localhost-key.pem -p 443
For more options, run streamhut server --help
# terminal 1
$ streamhut connect -c mychannel
For more options, run streamhut connect --help
You can run streamhut as a Docker container:
$ docker pull streamhut/streamhut
$ docker run -e PORT=8080 -e TCP_PORT=1337 -p 8080:8080 -p 1337:1337 --restart unless-stopped streamhut/streamhut:latest
One-liner to self-host using Docker:
docker run -p 8080:8080 -p 1337:1337 streamhut/streamhut
make test
Start server:
make start
Run migrations:
make migrate
The web app source code is found on streamhut/web.
Q: How is the stream log data stored?
--no-storage
flag, e.g. streamhut server --no-storage
.Q: What happened to the streamhut NPM module?
Q: Can the same channel be used more than once?
A: Yes! send #{channel}
(ie #mychannel
) as the first stream text to use that channel.
Example:
exec &> >(nc stream.ht 1337);echo \#mychannel
Q: What's the difference between stream.ht and streamhut.io?
Q: What is the difference between exec > >(nc stream.ht 1337) 2>&1
and exec &> >(nc stream.ht 1337)
Released under the Apache 2.0 license.