Coder Social home page Coder Social logo

webservice-digital / a2png Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brainhub24/a2png

0.0 0.0 0.0 54 KB

Script for generating PNG preview from asciicast JSON file

License: MIT License

Shell 0.92% JavaScript 11.03% Clojure 8.93% CSS 73.38% Makefile 0.43% HTML 5.30%

a2png's Introduction

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.

a2png's People

Contributors

ku1ik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.