Skip to content
 
 

Latest commit

 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages