# fathyb/html2svg

Convert HTML and `<canvas>` to SVG, PDF, or images using Chromium

Repository: https://github.com/fathyb/html2svg
Canonical: https://ross.abutalabs.com/products/html2svg
Language: TypeScript
License Family: other
Last push: 2023-11-24T22:14:19+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 99
- inputs: {"age_days": 1391, "days_push": 1013, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1300, forks 31 (observed 2026-08-28T04:04:17.595639+00:00)

## What it is
A tool that renders web pages with a custom Chromium build and converts HTML and canvas content to SVG, PDF, or bitmap images (PNG, JPEG, WebP). It ships as a Docker-based CLI and an HTTP server mode.

## Use cases
- convert a webpage to an svg vector image
- export html to pdf from the command line
- take a full-page screenshot of a url as png
- render canvas graphics to svg
- run a service that converts urls to images via http

## When to choose
- you need vector (SVG/PDF) captures of live web pages rather than plain screenshots
- you want a simple docker-run CLI or HTTP API for page rendering
- you need bitmap exports like PNG, JPEG, or WebP of full pages

## When to avoid
- you need a lightweight solution without a Chromium/Docker dependency
- you only need static HTML-to-image conversion without a real browser
- you require ARM64 support or an actively maintained project with a license

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: image-processing, pdf, cli, http-server
- domain: web-development, developer-tools, files
- platform: cli
- tags: html-to-svg, chromium, screenshot, vector-graphics, page-capture, docker, linux, web-server

## Member repositories
- fathyb/html2svg (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:17.595639+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:52:18.736737+00:00, confidence not recorded.
  - readme: https://github.com/fathyb/html2svg (fetched 2026-08-28T04:04:17.595639+00:00, sha 58c23d1f9be2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
