Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 617 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 617 Bytes

tst - terminal streamer

This is (experimental) terminal live streaming utility for asciinema.

NOTE: this was a proof of concept, and was integrated into main asciinema CLI as asciinema stream -r command.

Stream via embedded HTTP server

mkfifo live.pipe

# in shell 1
tst --listen-addr 0.0.0.0:8765 -i live.pipe 

# in shell 2
asciinema rec live.pipe

Stream via remote asciinema-server

mkfifo live.pipe

# in shell 1
tst --forward-url wss://asciinema.org/ws/S/<stream-producer-token> -i live.pipe 

# in shell 2
asciinema rec live.pipe