explaingit

shouzi23333-rgb/aiclip

Analysis updated 2026-05-18

44TypeScriptAudience · vibe coderComplexity · 3/5Setup · moderate

TLDR

A web app that turns a UI design screenshot into a set of transparent PNG assets ready for a coding agent to rebuild the page.

Mindmap

mindmap
  root((AiClip))
    What it does
      Annotates UI screenshots
      Extracts assets as PNGs
      Generates rebuild prompt
    Tech stack
      TypeScript
      Next.js
      Python
    Use cases
      Extract icons from mockup
      Rebuild UI from design
      Package assets for coding agent
    Audience
      Frontend developers
      Vibe coders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Upload a UI screenshot and automatically extract its icons and illustrations as transparent PNGs.

USE CASE 2

Choose between chroma redraw or direct crop processing for each detected visual asset.

USE CASE 3

Download a ready made prompt and asset package to hand to a coding agent for UI reconstruction.

What is it built with?

TypeScriptNext.jsPython

How does it compare?

shouzi23333-rgb/aiclipfuergaosi233/claude-codexhaoaaa-111/taoketong
Stars444444
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardmoderate
Complexity3/55/53/5
Audiencevibe coderdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node, Python with Pillow, and API keys for a screenshot analysis model and an image generation model.

No license information is provided in the README.

In plain English

AiClip is a web application that takes a screenshot of a user interface design and automatically extracts the individual visual assets, such as icons, illustrations, logos, and decorative elements, as separate transparent PNG image files ready for use in development. The workflow starts when you upload a UI screenshot. The app analyzes it using AI and draws labeled bounding boxes around each detected visual asset. You can review these detections, adjust the box positions, rename assets, and choose how each one should be processed before generating the final output. There are two processing modes: one that redraws the asset on a green screen background and then removes that background to produce a clean transparent PNG, useful for icons and illustrations that blend into the original design, and one that simply crops the original pixels directly, better for photographs, product images, and logos that should stay pixel perfect. After generating, you download a zip package that contains the original screenshot, all the extracted transparent PNG assets, a metadata file, and a ready made prompt you can hand to a coding AI assistant. That prompt instructs the assistant to reconstruct the UI using the provided assets, so the coding agent knows to use the actual extracted files rather than substituting generic icon libraries. You would use this when you receive a UI design screenshot, from a client, a design tool export, or somewhere online, and want to quickly extract its visual components for use in a coding project. The application is built with TypeScript and uses Python for the image processing step.

Copy-paste prompts

Prompt 1
Use source.png as the original UI reference image and reconstruct the UI with this AiClip asset package.
Prompt 2
Explain the difference between the ai-chroma and crop processing modes in AiClip.
Prompt 3
Help me set the required environment variables in .env.local to run AiClip locally.
Prompt 4
Show me how to install the Python dependencies needed for AiClip's chroma background removal script.

Frequently asked questions

What is aiclip?

A web app that turns a UI design screenshot into a set of transparent PNG assets ready for a coding agent to rebuild the page.

What language is aiclip written in?

Mainly TypeScript. The stack also includes TypeScript, Next.js, Python.

What license does aiclip use?

No license information is provided in the README.

How hard is aiclip to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is aiclip for?

Mainly vibe coder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.