cburgmer/rasterizeHTML.js
Renders HTML into the browser's canvas observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 65
- Release rhythm 24
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5206
- days_rel: 298
- days_push: 211
- n_releases_24m: 1
Adoption not part of the score
2562 stars · 219 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library that renders HTML into the browser's canvas element by embedding it in an SVG foreignObject and drawing it via drawImage. It inlines external images, fonts, and stylesheets as data URIs to work around SVG resource restrictions.
Use cases
- render html to canvas in the browser
- generate a screenshot of html content client-side
- convert dom content to an image without a server
- export html snippets as canvas graphics
- draw a webpage into a canvas element
When to choose
- you need client-side HTML-to-image rendering with no backend
- your content is same-origin or CORS-enabled
- you target modern Firefox, Chrome, or Safari
When to avoid
- you need Internet Explorer support
- you must render cross-origin resources without CORS
- you need pixel-perfect full-page screenshots of arbitrary websites
Facets
library · maturity maintenance
image-processing graphics web-development frontend browser html-to-canvas svg-foreignobject screenshot client-side-rendering canvas javascript
2 sources
- readme: https://github.com/cburgmer/rasterizeHTML.js · fetched 2026-08-28 · c1800f152553
- homepage: http://cburgmer.github.io/rasterizeHTML.js · fetched 2026-08-29 · aa5fd23c400c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cburgmer/rasterizeHTML.js | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="cburgmer/rasterizeHTML.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem