| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Generate Google Stitch compatible DESIGN.md files from any website - bring your own Gemini, OpenAI, Claude, or Ollama key.
designpull is an open source Chrome extension that visits any website, extracts its full design system, and generates a DESIGN.md file using AI vision — not just CSS token dumps.
Most existing tools do rule-based CSS extraction. designpull sends a full-page screenshot + extracted tokens to your AI of choice, so the output includes real design intent: layout patterns, photography style, brand voice, platform detection, and Do's & Don'ts specific to that site.
The output format follows the Google Stitch DESIGN.md open specification (Apache 2.0), making it compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, Google Stitch, and any other AI coding agent that reads markdown.
A DESIGN.md with these sections:
| Provider | Free Tier | Model Examples |
|---|---|---|
| Gemini | ✅ Yes (15 req/min) | gemini-2.0-flash, gemini-1.5-pro |
| OpenAI | ❌ Paid | gpt-4o, gpt-4-turbo |
| Claude | ❌ Paid | claude-sonnet-4-6, claude-haiku-4-5 |
| Ollama | ✅ Free (local) | llama3, mistral, any pulled model |
Recommended for free usage: Gemini 2.5 Flash — fast, supports vision, generous free tier.
This is an open source project. Load it as an unpacked extension:
git clone https://github.com/hasi98/designpull
cd designpullThen in Chrome:
Gemini (free tier available) → https://aistudio.google.com/app/apikey
OpenAI → https://platform.openai.com/api-keys
Claude (Anthropic) → https://console.anthropic.com/settings/keys
Ollama (free, runs locally) → https://ollama.com/download After installing, run: ollama pull llama3 The extension will connect to http://localhost:11434 automatically.
designpull/
├── manifest.json # Chrome MV3 config
├── popup.html # Extension popup UI
├── popup.css # Popup styles
├── popup.js # Popup logic
├── content.js # Injected into page — extracts CSS tokens
├── background.js # Service worker — scroll capture + API calls
└── lib/
├── adapter.js # Multi-provider AI adapter layer
└── extractor.js # DOM/CSS extraction logic
1. User clicks Extract & Generate 2. Capture Mode is read from storage 3. extractor.js injected into the active tab - In Full Page mode: samples all DOM elements (up to 150) - In Current View mode: filters to elements visible in the viewport only 4. Screenshot captured: - Full Page: background.js scrolls and stitches up to 10 viewport-height strips - Current View: single captureVisibleTab() call, no scrolling 5. Full-page image resized to max 2000px longest dimension 6. Tokens + screenshot sent to selected AI provider 7. AI generates DESIGN.md using the refined prompt 8. Output streams back into the popup 9. Completed result is auto-saved to History (last 20 entries) 10. User copies, downloads, or revisits via History
Pure CSS extraction misses:
designpull combines both — exact token values from CSS, real design intent from AI vision.
This project outputs files compatible with the Google Stitch DESIGN.md open specification, released under Apache 2.0 in April 2026.
Learn more: https://stitch.withgoogle.com/docs/design-md/overview
Contributions welcome. Please open an issue first to discuss before submitting a PR.
Things that would be great contributions:
MIT — see LICENSE
| Back | FazBrowse Home | New Git URL |