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.comEverything 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
--darkalso reads the dark mode.--platforms alladds iOS, Android, Flutter and WordPress output.--pdfrenders a brand-book PDF.--jsonprints the raw result for scripts and CI.
The full list is in the CLI reference.
What next
- Give your AI editor the real brand rules: MCP setup.
- Catch drift on pull requests: GitHub Action.