asciinema / discussions

Public open-ended discussions about asciinema
https://github.com/orgs/asciinema/discussions
1 stars 2 forks source link

Is there a mechanism for generating a static png file to use in an image link to the player? #2

Closed hartzell closed 1 year ago

hartzell commented 4 years ago

Is there a programmatic way to generate a png image for an asciicast, like asciinema.org generates?

I'd like to be able to do something like this (from here):

[![asciicast](https://asciinema.org/a/170142.png)](https://asciinema.org/a/170142)

and have an image that shows e.g. 20 seconds into the playback.

ku1ik commented 1 year ago

I guess you were looking for something like https://github.com/asciinema/agg but instead of producing gif you'd like png, right?