# antfu/drauu

Headless SVG-based drawboard in browser.

Repository: https://github.com/antfu/drauu
Canonical: https://ross.abutalabs.com/products/drauu
Homepage: https://drauu.netlify.app/
Language: TypeScript
License: MIT
License Family: permissive
Topics: drawboard
Last push: 2026-01-13T06:38:53+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 62, release rhythm 33, longevity 100
- inputs: {"age_days": 1854, "days_push": 232, "days_rel": 232, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1517, forks 78 (observed 2026-08-28T04:04:56.439473+00:00)

## What it is
Drauu is a headless, SVG-based drawing board library for the browser, built for Slidev presentations. It supports stylus/touch pressure, multiple brush modes (stylus, line, rectangle, ellipse), and undo/redo stacks, and integrates with any framework via vanilla JavaScript.

## Use cases
- add freehand drawing annotations to web pages
- draw on slides during a presentation
- embed a sketching whiteboard in a web app
- capture stylus or touch pressure input in the browser
- serialize user drawings as scalable SVG
- build a custom-styled drawing tool with undo and redo

## When to choose
- you need a lightweight, framework-agnostic drawing layer rendered as SVG
- you want headless control over styling and UI
- you need stylus pressure support or undo/redo out of the box
- you are adding live annotation to Slidev or similar presentation tools

## When to avoid
- you need a full-featured whiteboard app with collaboration or persistence
- you need canvas-based raster drawing or image export
- you need shape libraries, text, or diagramming features like Excalidraw

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, graphics, serialization
- domain: web-development, frontend, graphics
- platform: browser
- tags: svg, drawing, drawboard, headless, stylus, undo-redo, slidev, nodejs, typescript

## Member repositories
- antfu/drauu (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.439473+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:32:03.875123+00:00, confidence not recorded.
  - readme: https://github.com/antfu/drauu (fetched 2026-08-28T04:04:56.439473+00:00, sha 312660990230)
  - homepage: https://drauu.netlify.app/ (fetched 2026-08-29T11:35:37.021393+00:00, sha d0ccf850cdbb)
  - registry_npm: https://registry.npmjs.org/drauu (fetched 2026-08-29T11:35:37.023849+00:00, sha 33d1d2ee827c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
