Codestre.am: streaming your code to the masses
codestre.am
codestre.am
script -qf | tee >(nc -l -p 5000) >(nc -l -p 5001) >(nc -l -p 5002)
The client can then run `nc your_ip port` to watch your terminal live.Also, I once wrote a node.js script that broadcasts recorded terminal sessions. To see a demo:
nc wei23.net 5000
Code is on Github: https://github.com/clvv/scriptbroadcastThe only thing missing seems to be 256-color support.
- Be sure to have latest node version (0.6.14).
- Don't use -g, just 'node install codestream' instead (-g requires root and should not be used)
- The binary will then be in ~/.npm/codestream/0.1.0/package/bin/codestream - just symlink that to somewhere convenient[1]
- If you get an error try: npm install pty.js (pty.js was a missing dependency for me)
[1] The npm-dev is sadly not very unix-savvy, hence these extra-hoops
Please add 'monospace' to the font-family declaration. The site looks terrible in Ubuntu.
I see that I have to install node and your package, but I don't want to. I would prefer just to upload a script(1) file, since it may have been captured on a remote system at another time, or I may want to edit it to remove sensitive information. I don't know what your node script is going to send, so I'm not going to run it while I'm connected to a live system.
Edit: I didn't downvote your comment.