BYECO UI Cloner is a modern Manifest V3 Chrome extension for developers and designers. Select any element on a live webpage, inspect its visual structure, and turn it into clean React JSX, Tailwind CSS, and production-ready component code with AI assistance.
BYECO UI Cloner helps you move from interface inspiration to usable code. Inspect any web component directly in your browser, understand its layout and visual styles, generate a responsive React/Tailwind implementation, and copy the result into your project in seconds. It is designed for fast prototyping, design exploration, and front-end development while keeping your data and API settings under your control.
- Live Element Inspection: Hover over any DOM element with real-time dimensions and tag badge (
<button> 120 × 40px). PressESCat any time to cancel inspection. - Computed Style to Tailwind CSS: Automatically converts background colors, text colors, font sizes, weights, flexbox/grid alignments, padding, radius, and borders into clean Tailwind utility classes.
- React JSX Generation: Instant JSX boilerplate ready to copy into your project.
- AI-Powered UI Review (Groq):
- Architecture and visual summary
- Structured visual notes
- Accessibility (WCAG / ARIA) recommendations
- Production-ready React code
- Actionable next steps
- Privacy & Security First:
- BYECO AI Server (Recommended): Run the included Node.js proxy (
npm run serveror double-clickBASLAT-SUNUCU.bat) with the shared key in your local.envfile. Extension users need no API key of their own. - Direct Mode: Alternatively, enter your own free Groq API key in Settings. It stays in your browser's private
chrome.storage.localsandbox.
- BYECO AI Server (Recommended): Run the included Node.js proxy (
npm install
npm run buildTo create an upload-ready ZIP, run:
npm run packageUpload byeco-ui-cloner.zip from the project root. The ZIP contains the contents of dist/ at its root, including manifest.json; do not upload the project folder or a ZIP that contains a top-level UICLONER/ directory.
The packaging command rebuilds dist/, removes any previous ZIP, and verifies that manifest.json is at the archive root before completing.
Users install only the extension — no terminal, no .bat, zero setup.
Your Groq key stays on the server as an environment variable.
- Deploy
server/to any Node host (Render / Railway / Fly.io / VPS with Docker):- Docker: build this repo's
Dockerfile(.envand.groqkey.encare excluded by.dockerignore). - Or plain Node: copy
server/,package.json,package-lock.json; runnpm ci --omit=dev, thennode server/index.mjs.
- Docker: build this repo's
- Set these environment variables on the host:
GROQ_API_KEY= your shared key (secret env var — never in code)HOST=0.0.0.0,PORT=8787(or the host's port),PUBLIC_MODE=true
- Point the extension at it: set
PROXY_API_URLinsrc/sidepanel/main.jsxto your public URL (e.g.https://byeco-ai.onrender.com), then rebuild + repackage.
Local development alternative (key stays on your machine only):
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/set-key.ps1
npm run server- Open Chrome and navigate to
chrome://extensions. - Enable Developer mode in the top right.
- Click Load unpacked and select the
dist/directory. - Pin BYECO UI Cloner and open the Side Panel!
Two ways to power the AI features:
- Put the shared key in
.envasGROQ_API_KEY. - Start the server (
npm run serverorBASLAT-SUNUCU.bat). - In the side panel Settings, choose BYECO AI Server. Done!
- Open Settings (⚙) in the side panel.
- Choose Direct Groq API.
- Paste your free API key from Groq Console.
- Click Save Settings. Done!
.envand.env.*files are strictly ignored by.gitignore. Never commit your API keys.- The repository is configured with a GitHub Actions CI pipeline (
.github/workflows/ci.yml) that validates build integrity on every pull request. - No third-party tracking or telemetry is collected.
UICLONER/
├── config/
│ └── extension-manifest.json # Source manifest emitted into dist/
├── public/
│ └── ICON/
├── src/
│ ├── background.js # Service worker configuring side panel behavior
│ ├── content/
│ │ └── inspector.js # In-page element inspector with badge & ESC support
│ ├── popup/
│ │ └── main.jsx # Quick popup trigger
│ ├── sidepanel/
│ │ └── main.jsx # Main sidebar interface with settings & AI review
│ ├── styleMapper.js # Intelligent computed style -> Tailwind CSS mapper
│ └── styles.css # Extension theme styling
├── vite.config.js # Vite build configuration
└── package.json
Distributed under the MIT License. See LICENSE for more information.