Giter Site home page Giter Site logo

goscript's Introduction

Goscript

Goscript is a tool that records the terminal session (well, any command you run it with) and saves the output in a self contained html file that can be run in the browser, to playback the session.

It is based on xterm.js project, with some hacks to disable the selection manager.

The project is just a toy and is far to be complete, or without issues.

Demo

demo

A demo video of a recorded session can be found here and its corresponding typescript.html

Build

If you want to make changes to the frontend (any files under ./frontend/), install the node modules:

cd goscript/frontend/
npm install

Build:

cd goscript
make

Similar projects

Bellow I'm listing some similar projects that I know of, and how goscript relates to them.

  • script - the linux command part of util-linux package and which records the terminal session in a file. This is tool is available on most of Linux distributions and on OSX as well. The saved typescript can be played back with the same tool and only in the terminal.
  • asciinema - a nice tool that records your terminal session and it uploads it to the asciinema server, where it can be played back. The record can also be played back locally in the terminal, by the same tool. However, one needs to install the tool to play them back locally, so if you want to share the recoreded session with somebody you will have to upload it on the server, or they will have to install the tool, in order to play it back.

Resources

goscript's People

Contributors

elisescu avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.