rcitton / gifcast

๐ŸŽž๏ธ Converts an asciinema cast to an animated GIF.

Home Page:https://dstein64.github.io/gifcast/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gifcast

gifcast is a web page that converts asciinema casts to animated GIFs.

The code runs fully in the browser. That is, there are no server-side calls to process the cast and/or convert to animated GIF. The implementation is in JavaScript.

How To Use

gifcast expects the asciinema cast to have a .cast extension. See below for instructions on recording an asciinema cast.

To convert an asciinema cast to an animated GIF, navigate to index.html, load the cast, configure options, and click Render.

gifcast is available at https://dstein64.github.io/gifcast/.

Recording a Cast

Recording requires the asciinema program, which runs independently of gifcast.

To record an asciinema cast, launch a new recording for your session, and terminate the session with Ctrl-D.

$ asciinema rec PATH/FILENAME.cast

Example

The animated GIF below was generated with gifcast.

License

The source code has an MIT License.

See LICENSE.

Acknowledgments

gifcast depends on code from:

  1. xterm.js
  2. omggif

About

๐ŸŽž๏ธ Converts an asciinema cast to an animated GIF.

https://dstein64.github.io/gifcast/

License:MIT License


Languages

Language:JavaScript 84.4%Language:CSS 8.8%Language:HTML 6.8%