# kane50613/takumi

Render OG images and paged PDFs from JSX, HTML, and CSS. No headless browser. Runs on Node.js, Cloudflare Workers, browsers, and Rust.

Repository: https://github.com/kane50613/takumi
Canonical: https://ross.abutalabs.com/products/takumi
Homepage: https://takumi.kane.tw
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: satori, jsx, og-image, cloudflare-workers, gif, html-to-image, image-generation, opengraph, rust, wasm, pdf, pdf-generation, html-to-pdf, invoice, svg, opengraph-images, pdf-generator, puppeteer-alternative, social-cards
Last push: 2026-08-26T19:33:04+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 32
- inputs: {"age_days": 458, "days_push": 7, "days_rel": 10, "gap_med": 0, "n_releases_24m": 1302}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2886, forks 66 (observed 2026-08-28T04:07:28.144959+00:00)

## What it is
Takumi is a Rust-based rendering engine that converts JSX, HTML, and CSS into images (PNG, JPEG, WebP, SVG, animated GIF/WebP) and paged PDFs without a headless browser. It ships as native Rust bindings for Node.js and WebAssembly for edge runtimes like Cloudflare Workers, Vercel Edge, Deno, and browsers.

## Use cases
- generate Open Graph images for blog posts and social media cards
- render social preview images in Next.js as a drop-in replacement for next/og
- generate invoices and paged PDF documents from JSX templates
- render animated WebP or GIF banners from CSS keyframes
- generate OG images on Cloudflare Workers or edge runtimes without Chromium
- convert HTML and CSS layouts to images without a headless browser
- produce SVG and raster outputs from a single component tree

## When to choose
- you need OG images or social cards on serverless/edge platforms where headless Chromium is too heavy or unavailable
- you want fast, low-memory image or PDF generation from JSX/HTML/CSS without launching a browser
- you need animated image outputs (GIF, WebP, APNG) rendered from CSS animations
- you want a satori or puppeteer alternative with a compatible ImageResponse-style API

## When to avoid
- you need pixel-perfect rendering of complex real-world web pages with full browser fidelity
- you rely on browser-specific features like JavaScript execution inside the rendered page or full iframe support
- you need to screenshot existing live websites rather than render your own markup

## Facets
- artifact type: library
- maturity: active
- function: image-processing, pdf, templating, wasm, graphics
- domain: web-development, frontend, pdf, media
- platform: cloud, browser, rust, wasm, serverless, cross-platform
- tags: og-image, social-cards, jsx, html-to-image, html-to-pdf, satori-alternative, puppeteer-alternative, headless-browser-free, cloudflare-workers, svg, gif, animation, nodejs

## Member repositories
- kane50613/takumi (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.144959+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-29T18:48:18.381891+00:00, confidence not recorded.
  - readme: https://github.com/kane50613/takumi (fetched 2026-08-28T04:07:28.144959+00:00, sha fed193f78262)
  - homepage: https://takumi.kane.tw (fetched 2026-08-29T09:50:40.794894+00:00, sha 4030c852777f)
  - site_page: https://takumi.kane.tw/docs (fetched 2026-08-29T09:50:40.803948+00:00, sha 92070d06c56d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
