Getting started

Read your first site from the command line or the browser in about a minute.

designlang reads a live website with a headless browser and writes out its design system: colours, type, spacing, shadows, motion and components, as W3C DTCG tokens, a Tailwind config, CSS variables, a DESIGN.md and more. There are two ways to run it.

Option 1: the CLI (free)

npx designlang stripe.com

Everything lands in ./design-extract-output. The first run downloads a Chromium build; if you would rather reuse the Chrome you have, add --system-chrome. Run npx designlang install-browser to fetch the bundled one ahead of time.

Useful first flags

  • --dark also reads the dark mode.
  • --platforms all adds iOS, Android, Flutter and WordPress output.
  • --pdf renders a brand-book PDF.
  • --json prints the raw result for scripts and CI.

The full list is in the CLI reference.

What next

Sign in for 3 more free reads

Your first browser read is free for everyone. Sign in and you get 3 more. Nothing to pay.

Every site is free in your terminal too: npx designlang <site>