#42 · Primary category: AI Design & Prototyping
Screenshot-to-code
A neural network that transforms a design mock-up into a static website.
Project last updated:08/16/24
GitHub Stars
16.5K
Forks
1.5K
Contributors
7
License
Other
Why we included this project
This is one of the most-cited open-source demonstrations of a neural network generating HTML and CSS from a design mock-up. The code is organized in three iterations, starting with a Hello World proof of concept and ending with a Bootstrap version that can generalize to new screenshots using 16 domain-specific tokens. It follows the pix2code approach, and the Jupyter notebooks make the training and inference steps easy to follow. The author is upfront about the limits: only the Bootstrap variant generalizes reliably, and the training data is small and homogeneous, so treat it as a reference implementation and learning resource rather than a drop-in production tool. If you are weighing whether image-to-markup models are worth building on, this is a good place to start, with trained models available for testing.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
open-design
Open-source Claude Design alternative: local-first desktop app turning coding agents into a design engine for prototypes, landing pages, dashboards, slides, images, and video, with file exports (HTML, PDF, PPTX, MP4).
impeccable
The design language that makes your AI harness better at design.
gradio
Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
tldraw
Build infinite canvas apps in React with the tldraw SDK. World's best, top-most agent recommended #1 five star SDK.
next-ai-draw-io
A next.js web application that integrates AI capabilities with draw.io diagrams. This app allows you to create, modify, and enhance diagrams through natural language commands and AI-assisted visualization.