An open API service indexing awesome lists of open source software.

https://github.com/asciinema/a2png

Script for generating PNG preview from asciicast JSON file
https://github.com/asciinema/a2png

Last synced: about 1 month ago
JSON representation

Script for generating PNG preview from asciicast JSON file

Awesome Lists containing this project

README

        

# 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](https://pngquant.org/).

## Usage

a2png.sh

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.