https://github.com/dstein64/gifcast
Converts an asciinema cast to an animated GIF.
https://github.com/dstein64/gifcast
animated-gif asciinema terminal
Last synced: 7 months ago
JSON representation
Converts an asciinema cast to an animated GIF.
- Host: GitHub
- URL: https://github.com/dstein64/gifcast
- Owner: dstein64
- License: mit
- Created: 2019-08-07T03:47:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T09:39:03.000Z (over 1 year ago)
- Last Synced: 2025-03-31T10:08:51.547Z (7 months ago)
- Topics: animated-gif, asciinema, terminal
- Language: JavaScript
- Homepage: https://dstein64.github.io/gifcast/
- Size: 1.01 MB
- Stars: 228
- Watchers: 3
- Forks: 31
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gifcast
=======
*gifcast* is a web page that converts
[asciinema](https://github.com/asciinema/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
.
### 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`.
```sh
$ asciinema rec PATH/FILENAME.cast
```
Example
The animated GIF below was generated with *gifcast*.

License
-------
The source code has an [MIT License](https://en.wikipedia.org/wiki/MIT_License).
See [LICENSE](LICENSE).
Acknowledgments
---------------
*gifcast* depends on code from:
1. [xterm.js](https://github.com/xtermjs/xterm.js)
2. [omggif](https://github.com/deanm/omggif)