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
- Host: GitHub
- URL: https://github.com/asciinema/a2png
- Owner: asciinema
- License: mit
- Archived: true
- Created: 2017-01-10T19:30:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-13T13:03:27.000Z (about 3 years ago)
- Last Synced: 2024-08-31T01:06:10.591Z (10 months ago)
- Language: CSS
- Homepage:
- Size: 52.7 KB
- Stars: 14
- Watchers: 5
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.