Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.
/ a2png Public archive

Script for generating PNG preview from asciicast JSON file

License

Notifications You must be signed in to change notification settings

asciinema/a2png

Repository files navigation

a2png

a2png is a script for generating PNG previews from asciicast JSON files.

Installation

Clone the repository:

git clone https://github.com/asciinema/a2png.git

Install leiningen & compile scripts:

TODO: describe

Install dependencies (PhantomJS):

npm install

If you want the PNG files to be optimized install pngquant.

Usage

a2png.sh <input-json-path-or-url> <output-png-path> <time> [theme] [scale]

For example:

a2png.sh https://asciinema.org/a/42383.json output.png 78
a2png.sh demo.json output.png 10.5 solarized-dark 2

License

Copyright © 2017 Marcin Kulik.

All code is licensed under MIT license. See LICENSE file for details.

About

Script for generating PNG preview from asciicast JSON file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published