Manavarya09 /design-extract
Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.
★ 5,100⑂ 425👁 15⑃ 167● 43▤ 36
+12
Daily
5,100
stars
425
forks
15
watchers
167
prs
43
issues
36
releases
README
Built by Manav Arya Singh (@Manavarya09)
Sponsors
Atlas Cloud — powers OpenAI-compatible --smart classification. For AI coding workflows, try the Atlas Cloud coding plan.
Bloome — deploys your AI clone to handle every audience conversation, running in the cloud, 24/7.
Try designlang on Bloome.
---
designlang points a headless browser at any URL and reads the design system off the live DOM. One command emits 17+ files — DTCG tokens, Tailwind config, shadcn theme, Figma variables, motion tokens, typed component anatomy, brand voice, page-intent labels, and a paste-ready prompt pack for v0 / Lovable / Cursor / Claude Artifacts.
It also goes where extractors don't: layout patterns, responsive behavior across 4 breakpoints, hover / focus / active states, WCAG contrast scoring, multi-page consistency, drift checks against a live source-of-truth, visual-diffs, and a shareable graded report card.
Quick start
bash
npx designlang https://stripe.com extract everything: tokens, Tailwind, shadcn, Figma, DESIGN.md
npx designlang slop https://yoursite.com how generic does it look? a score out of 100, with every tell
npx designlang verify-ui localhost:3000 --brand DESIGN.md check your UI against your brand at 390, 768 and 1280px
npx designlang mcp give Claude Code, Cursor and Windsurf your design system
npx designlang dna stripe.com place it in the measured design space: neighbours + percentiles
npx designlang site stripe.com whole-site: one canonical system + consistency grade
npx designlang fidelity stripe.com --clone localhost:3000 score a clone against the original (visual + motion)
npx designlang studio live token editor: edit, preview, export, share
npx designlang brand stripe.com full brand-guidelines book (13 chapters)
npx designlang pair stripe.com linear.app fuse two designs (visuals from A, voice from B)
npx designlang theme-swap stripe.com --primary "ff4800" recolour around your brand
npx designlang pack stripe.com one polished design-system directory
npx designlang remix stripe.com --as cyberpunk restyle in another vocabulary (--all for all six)
npx designlang grade https://stripe.com --badge report card + SVG badge
npx designlang battle stripe.com vercel.com head-to-head graded fight
npx designlang clone https://stripe.com working Next.js starter
npx designlang --full https://stripe.com screenshots + responsive + interactions
Needs Node.js 20 or later. No account, no API key.
Drop a live design-score badge in any README:
markdown
!Design Score
Is it generic? (slop) and is it on brand? (verify-ui)
designlang slop opens the page in a real browser and scores how generic iTop issues
#182MCP spec conformance: 10 requirement(s) violated (via @hasmcp/mcp-spec-test) — spec 2026-07-281 comments · 2026-08-24#215WCAG scoring skips any element without its own opaque background, so most text is never scored0 comments · 2026-11-10#214DTCG 2025.10 value shapes differ in dimension/duration/cubicBezier exports0 comments · 2026-11-05#130Proposal: vanilla `scroll-reveals` emitter (IntersectionObserver + CSS) to complement the motion emitters0 comments · 2026-06-01#70feat: token versioning + freeze — pin extracted tokens with semver0 comments · 2026-05-04#69feat: Slack/Discord bot — `/extract <url>` returns tokens in-thread0 comments · 2026-05-04#67feat: `designlang timeline <url>` — track design evolution0 comments · 2026-05-04#68feat: VS Code inline token swatch annotations0 comments · 2026-05-04
Discussions
Latest release
v13.3.2 — the live demo reads sites again v13.3.2 2026-09-23The live demo reads sites again. - Fixed: every live read on designlang.app hung on "walking the DOM" until the function was killed. In the single-process Chromium that runs on serverless, a screencast still running when CSS coverage was read deadlocked stopCSSCoverage. The screencast now stops once the page has settled, before coverage is read. Only callers that pass onScreencastFrame are affected; the CLI never ran a screencast. - Website: results are cached again, so repeat reads and the suggestion chips are served without launching a browser.