Skip to content

scriptreplay in the browser. Save your terminal window content and replay it on your website.

License

Notifications You must be signed in to change notification settings

ysangkok/terminal_web_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminal_web_player

scriptreplay in the browser.

Record your session using script (note that you will need to adjust the size of the web terminal in view.js if you record with $COLUMNS:$ROWS unequal 80:24 or less):

script -ttiminginfo scriptdata

Run this:

wget https://raw.github.com/chjj/tty.js/d379c6f9/static/term.js
./jsonify.py scriptdata timinginfo > yoursession

Now start a webserver in the directory (python3 -mhttp.server) and go to the URL http://localhost:8000/view.html?yoursession.

See also:

About

scriptreplay in the browser. Save your terminal window content and replay it on your website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published