# Brooooooklyn/canvas

High performance Skia canvas implementation. Zero system dependencies.

Repository: https://github.com/Brooooooklyn/canvas
Canonical: https://ross.abutalabs.com/products/brooooooklyn-canvas
Homepage: https://vercel.skia.rs
Language: Rust
License: MIT
License Family: permissive
Topics: skia, canvas, node-canvas, rust, napi, n-api, node-api, napi-rs
Last push: 2026-08-26T17:56:53+00:00

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

## Adoption (not part of the score)
Stars 2306, forks 97 (observed 2026-08-28T04:06:35.757142+00:00)

## What it is
A high-performance Node.js canvas implementation backed by Google's Skia graphics library, built with Rust and Node-API (napi-rs). It provides the HTML5 Canvas 2D API with zero system dependencies, supporting PNG, JPEG, AVIF, and WebP encoding.

## Use cases
- generate images server-side in node.js
- render charts and graphics to png in aws lambda
- replace node-canvas without native system dependencies
- draw text with custom fonts and emoji to images
- composite and manipulate images in node.js
- generate social media preview images dynamically

## When to choose
- you need canvas rendering in node.js without installing cairo or other system libraries
- you deploy to serverless environments like aws lambda where native deps are painful
- you need high-performance, non-blocking image encoding
- you want broad prebuilt binaries across platforms and architectures

## When to avoid
- you need browser-side rendering (this is node.js only)
- you need WebGL or 3D graphics rather than 2D canvas
- you rely on node-canvas-specific APIs not implemented here

## Facets
- artifact type: library
- maturity: active
- function: image-processing, graphics, sdk
- domain: image-processing, graphics, web-development, developer-tools
- platform: windows, cross-platform, serverless
- tags: skia, canvas, napi-rs, node-canvas, 2d-graphics, zero-dependencies, serverless, nodejs, linux, macos

## Member repositories
- Brooooooklyn/canvas (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.757142+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-30T02:39:40.526009+00:00, confidence not recorded.
  - readme: https://github.com/Brooooooklyn/canvas (fetched 2026-08-28T04:06:35.757142+00:00, sha 50a7401ba196)
  - homepage: https://vercel.skia.rs (fetched 2026-08-29T10:19:56.145316+00:00, sha 9652754f096d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
