• Stars
    star
    221
  • Rank 178,963 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Converts an asciinema cast to an animated GIF.

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

More Repositories

1

vim-startuptime

A plugin for profiling Vim and Neovim startup time.
Vim Script
576
star
2

nvim-scrollview

A Neovim plugin that displays interactive vertical scrollbars and signs.
Lua
526
star
3

vim-win

A Vim plugin for managing windows.
Vim Script
66
star
4

highlight

A browser extension for automatically highlighting the important content on article pages.
JavaScript
52
star
5

kmeans1d

A Python package for optimal 1D k-means clustering.
C++
47
star
6

k-means-quantization-js

Apply color quantization to images using k-means clustering.
JavaScript
36
star
7

pastiche

A PyTorch implementation of Neural Style Transfer (Gatys et al. 2015).
Python
28
star
8

pyfms

A Theano-based Python implementation of Factorization Machines (Rendle 2010).
Python
27
star
9

vim-menu

A plugin providing a console interface to Vim's built-in menu.
Vim Script
25
star
10

vimgolf

A vimgolf client written in Python.
Python
25
star
11

neuralart

A library and command line utility for rendering generative art from a randomly initialized neural network.
Python
22
star
12

colortrans

An implementation of various color transfer algorithms.
Python
14
star
13

workflows

View the status of GitHub workflows.
JavaScript
11
star
14

aghasher

An implementation of Anchor Graph Hashing (Liu et al. 2011) in Python.
Python
9
star
15

vim-smile

A Vim plugin with a :Smile command.
Vim Script
6
star
16

revdoor

A single-file C++ library for visiting revolving door combinations.
C++
6
star
17

fenwick

An implementation of Fenwick trees (Fenwick 1994).
Python
5
star
18

euler-lisp-helpers

Functions that are useful for solving Project Euler problems with Common Lisp.
Common Lisp
5
star
19

neovim-windows-nightly

4
star
20

scct4j

A self-contained CRUD template for Java.
Java
4
star
21

LC4

An implementation of ElsieFour (Alan Kaminsky 2017).
Python
3
star
22

dotfiles

My personal dotfiles.
Vim Script
2
star
23

hn-duplicate-detector

Detects duplicate HN submissions.
JavaScript
1
star
24

dstein64

Renders a new image hourly, using dstein64/neuralart.
1
star