Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
Sign inSign up free
catalog / Coding / screenshot-to-code
◆SkillCodingFree

screenshot-to-code

Drop a screenshot or Figma design and get clean HTML/Tailwind/React/Vue code generated by GPT-4o or Claude.

@ai-supply
Installs536k
⟳ upstream main@6094fd7 · updated 3d ago
↗ Source repository
← More CodingCoding leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals19capabilities surfaced1known CVE9of 20 OWASP controls clear
Suspicious network referencesEgress to a private/loopback hostExternal endpoints declaredSuspicious network references
scanned 1d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

screenshot-to-code

screenshot-to-code converts screenshots, mockups, and Figma designs into production-ready frontend code using vision-capable LLMs. Support for HTML+Tailwind, React, Vue, Bootstrap, and Ionic means you can target your exact stack in one shot.

Key Features

  • Multi-framework output: HTML/Tailwind, React+Tailwind, Vue+Tailwind, Bootstrap, Ionic, and SVG
  • Video-to-app: record a screen interaction and generate a multi-step React app from the video
  • Multi-model: GPT-4o, Claude 3.5 Sonnet, Gemini — swap via a dropdown; DALL-E 3 fills placeholder images
  • Import from URL: paste any live URL and the tool scrapes + recreates the UI
  • Eval framework: built-in evaluation suite to compare model outputs on a fixed benchmark set
  • Docker-first: self-host the full stack (FastAPI backend + React frontend) with a single compose command

Quick Start

git clone https://github.com/abi/screenshot-to-code
cd screenshot-to-code
echo "OPENAI_API_KEY=your_key" > .env
docker-compose up --build
# Open http://localhost:5173 and drop a screenshot

Or run the backend directly:

pip install -r requirements.txt
poetry run uvicorn main:app --reload --port 7001
npx ai-supply add screenshot-to-code-generator

Curated mirror of the open-source screenshot-to-code (MIT). Get it from the source.

Rating rank
#1
of 27 in Coding
Install rank
#3
of 27 in Coding
Security score
75/100 · B
review
Security rank
#19
of 27 in Coding
Installs
536k
cat avg 157k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Coding leaderboard →
! Security: Review · 7575/100 · grade Bscanned 1d ago
✓ no compromise signals20 risk-surface · 5/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ network⚑ secretsinstall: script:abi-screenshot-to-code-6094fd7/scripts/cursor-cloud-install.sh
egress → screenshottocode.com, xxx.xxxxx.xxx, 124.10.20.1, twitter.com, platform.openai.com, pre-commit.com, docs.anthropic.com, unpkg.com +26
skill: Bug report30 scripts

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 65 npm dependencies declared · abi-screenshot-to-code-6094fd7/frontend/package.jsonrisk surface
•Vulnerable dependencies — 184 known vulnerabilities in: aiohttp@3.11.11, click@8.1.7, filelock@3.16.1, h11@0.14.0, idna@3.10, pillow@10.4.0, pillow-heif@0.18.0, protobuf@5.29.5 (CWE-1395)known CVE · -25 pts
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•Egress to a private/loopback host — 127.0.0.1 · abi-screenshot-to-code-6094fd7/AGENTS.md (CWE-918)risk surface
•External endpoints declared — 2 distinct host(s) · abi-screenshot-to-code-6094fd7/AGENTS.mdrisk surface
•External endpoints declared — 6 distinct host(s) · abi-screenshot-to-code-6094fd7/README.mdrisk surface
•External endpoints declared — 1 distinct host(s) · abi-screenshot-to-code-6094fd7/TESTING.mdrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · abi-screenshot-to-code-6094fd7/backend/fs_logging/agent_runs.py (CWE-272)risk surface
•External endpoints declared — 3 distinct host(s) · abi-screenshot-to-code-6094fd7/backend/tests/test_agent_runs.pyrisk surface
•Egress to a private/loopback host — 192.168.1.1 · abi-screenshot-to-code-6094fd7/backend/tests/test_screenshot.py (CWE-918)risk surface
•External endpoints declared — 5 distinct host(s) · abi-screenshot-to-code-6094fd7/backend/tests/test_screenshot.pyrisk surface
•External endpoints declared — 4 distinct host(s) · abi-screenshot-to-code-6094fd7/backend/tests/test_tool_image_outputs.pyrisk surface
⚠LLM07System Prompt Leakagemedium
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · abi-screenshot-to-code-6094fd7/backend/tests/test_screenshot.py (CWE-200)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · abi-screenshot-to-code-6094fd7/backend/evals/runner.py (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM05Improper Output HandlingPassed
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 65 npm dependencies declared · abi-screenshot-to-code-6094fd7/frontend/package.jsonrisk surface
•Vulnerable dependencies — 184 known vulnerabilities in: aiohttp@3.11.11, click@8.1.7, filelock@3.16.1, h11@0.14.0, idna@3.10, pillow@10.4.0, pillow-heif@0.18.0, protobuf@5.29.5 (CWE-1395)known CVE · -25 pts
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
◷ML09Output IntegrityRuntime-enforced
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (14) · hygiene / uncategorized
•Unrecognized file type — '.gitattributes' is not on the allowlist · abi-screenshot-to-code-6094fd7/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · abi-screenshot-to-code-6094fd7/.gitignorerisk surface
•Suspicious network references — raw IP URL (3 URLs) · abi-screenshot-to-code-6094fd7/AGENTS.mdrisk surface
•Unrecognized file type — '.?' is not on the allowlist · abi-screenshot-to-code-6094fd7/LICENSErisk surface
•Suspicious network references — raw IP URL (16 URLs) · abi-screenshot-to-code-6094fd7/README.mdrisk surface
•Suspicious network references — raw IP URL (1 URLs) · abi-screenshot-to-code-6094fd7/backend/config.pyrisk surface
•Unrecognized file type — '.ini' is not on the allowlist · abi-screenshot-to-code-6094fd7/backend/pytest.inirisk surface
•Suspicious network references — raw IP URL (8 URLs) · abi-screenshot-to-code-6094fd7/backend/tests/test_agent_tool_runtime.pyrisk surface
•Suspicious network references — raw IP URL (4 URLs) · abi-screenshot-to-code-6094fd7/backend/tests/test_batching.pyrisk surface
•Suspicious network references — raw IP URL (27 URLs) · abi-screenshot-to-code-6094fd7/backend/tests/test_screenshot.pyrisk surface
•Suspicious network references — raw IP URL (14 URLs) · abi-screenshot-to-code-6094fd7/backend/tests/test_tool_image_outputs.pyrisk surface
•Suspicious network references — raw IP URL (9 URLs) · abi-screenshot-to-code-6094fd7/backend/tests/test_uploaded_assets.pyrisk surface
•Unrecognized file type — '.cjs' is not on the allowlist · abi-screenshot-to-code-6094fd7/frontend/.eslintrc.cjsrisk surface
•Unrecognized file type — '.example' is not on the allowlist · abi-screenshot-to-code-6094fd7/frontend/src/.env.jest.examplerisk surface
✔ verified source · pinned abi-screenshot-to-code-6094fd7 · changed since last scan · +egress images.example.com
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/screenshot-to-code-generator/check). Click a policy:

Consume screenshot-to-code programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/screenshot-to-code-generator

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/screenshot-to-code-generator/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add screenshot-to-code-generator

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/screenshot-to-code-generator/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "screenshot-to-code-generator" })
OpenAPI spec →
vlatest
! Security: Review · 751mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Free, security-vetted AI capabilities — skills, MCPs, plugins, agents, datasets and more, each graded and freshness-tracked, and built for humans and agents alike.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalog
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
  • Security
  • Scan a repo
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
Account
  • Create account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy