Hayasaka saves the rendered HTML as an image.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hayasaka-0.2.0.tar.gz
(4.3 kB
view hashes)