Skip to main content

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


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)

Uploaded Source

Built Distribution

hayasaka-0.2.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page