This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
scriptbroadcast with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
scriptboradcast broadcasts typescripts recorded with
script command to any
numbers of recipients.
nc wei23.net 5000
First make sure you are using a normal sized 80*24 terminal, then run the above netcat command, enjoy.
You can install scriptbroadcast using npm.
npm install scriptbroadcast
Please make sure that npm's bin directory is exported in path.
scriptbroadcast [port [timing [typescript [divisor]]]]
5000 is the default port, timing is the default timing file, typescript is the default typescript file and the default divisor is 1.
You can record your timing and typescript file in this way:
script -qtf 2> timing
Then run the following command to fire up the broadcasting server with default parameters:
Run the following netcat command elsewhere will play your typescript:
nc yourip 5000
scriptbroadcast is inspired by my CommandLineFu command and the comments.
scriptbroadcast is licensed under "MIT/X11" license, see LICENSE file.