hayasaka 0.2.0

Creator: rpa-with-ash

Last updated:

Add to Cart

Description:

hayasaka 0.2.0

hayasaka
Hayasaka saves the rendered HTML as an image.
Use cases

Save the slides (an HTML file) using reveal.js as an image

⚠️To Run hayasaka, you currently need to have the Firefox browser installed (Google Chrome will be supported in the future).
Installation
$ pip install hayasaka

Usage
📸Generate an image from URL
$ hayasaka-cli https://ftnext.github.io/2022_slides/pyconjp/python_and_star.html python_and_star.png

📸Generate an image from a local HTML file path
$ hayasaka-cli ../2022_slides/build/revealjs/pyconjp/python_and_star.html python_and_star.png

Development environment
$ git clone git@github.com:ftnext/hayasaka.git
$ cd hayasaka

$ python3.11 -m venv venv --upgrade-deps
$ source venv/bin/activate

(venv) $ pip install -e '.[dev]'
(venv) $ task test

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.