finds.dev

Brooooooklyn/canvas

High performance Skia canvas implementation. Zero system dependencies.

View on GitHubHomepage ↗

★ 2,284RustMITupdated Jul 2026

// the take

A Node.js native addon that wraps Google's Skia rendering engine via napi-rs, giving you a drop-in Canvas 2D API with no system dependencies. It ships prebuilt binaries for every major platform, so you install it and it works — no libcairo, no ImageMagick, no Pango. The target audience is Node.js backends that need server-side image generation: social card generators, chart renderers, PDF thumbnails.

The zero-system-dependency claim actually holds — prebuilt binaries bundle everything, which is a real win in Docker and Lambda where you don't control the system image. Performance is measurably better than node-canvas on the benchmarks shown (~15ms vs ~17ms for the same gradient workload). The Path2D extensions (boolean ops, fill-type conversion, path simplification) go well beyond the browser spec and are genuinely useful for SVG tooling. Lottie animation rendering via Skottie is a feature you won't find in any competing canvas library.

Lambda support requires a third-party layer (Canvas-Lambda-Layer) maintained by someone else — if that repo goes stale, you're on your own. The glibc 2.18 minimum will quietly bite you on older Linux distributions or certain Alpine-based images, and the error won't be obvious. Building from source requires pulling Skia as a submodule and the build process is genuinely painful — the README tells you to sudo install clang as a one-liner, which is not how you want to document a production dependency. Test coverage is solid for rendering correctness but there are no documented compatibility guarantees against which browser Canvas spec version, so edge-case behavior differences can surface unexpectedly.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
2,284
Forks
96
Language
Rust
License
MIT
Last commit
27 Jul 2026

// nearby

If canvas isn't quite it.

All repos →