connected-web / html-asset-generator

A utility that converts HTML and CSS templates into rendered Image assets, and can also produce Text and JSON assets.
2 stars 0 forks source link

HTML Asset Generator (HAG)

The generator processes instructions to render assets based on templates combined with data.

Supports rendering of HTML to Images using webshot, and creation of text based assets such as JSON, CSS, and HTML using Handlebar templates.

Dependency Status

Key terms

Project structure

Installation

npm install node-hag -g

Getting started

  1. Run hag --help to view up-to-date Help and Instructions
  2. Run hag init to create an example project in the current working directory
  3. Run hag generate to compiled the instructions and generate assets

If that all worked as expected, take a closer look at the instructions folder, and the resulting build folder to see the generated assets.

Guides

Development

Changelog

See: CHANGELOG.md