SawyerHood/draw-a-ui
SawyerHood/draw-a-ui has 13,567 GitHub stars and 1,610 forks. GitHot measured -4 stars in 24 hours, -7 in 7 days, and -10 in 15 days. Last checked 2026-11-12 08:53 UTC. Last push 2025-07-26.
Dibuja una maqueta y genera su HTML
Crecimiento de estrellas medido
- in 24h
- -4
- in 7 days
- -7
- in 15 days
- -10
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originaldraw-a-ui
This is an app that uses tldraw and the gpt-4-vision api to generate html based on a wireframe you draw.
The spiritual successor to this project is Terragon Labs.

This works by just taking the current canvas SVG, converting it to a PNG, and sending that png to gpt-4-vision with instructions to return a single html file with tailwind.
Disclaimer: This is a demo and is not intended for production use. It doesn't have any auth so you will go broke if you deploy it.
Getting Started
This is a Next.js app. To get started run the following commands in the root directory of the project. You will need an OpenAI API key with access to the GPT-4 Vision API.
Note this uses Next.js 14 and requires a version of
nodegreater than 18.17. Read more here.
echo "OPENAI_API_KEY=sk-your-key" > .env.local
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
Explorar proyectos relacionados
freeCodeCamp/freeCodeCamp
Base de código abierto y plan de estudios de freeCodeCamp.org. Aprende matemáticas, programación y ciencias de la computación gratis.
459,043 estrellasdonnemartin/system-design-primer
Aprende a diseñar sistemas a gran escala y prepárate para la entrevista de diseño de sistemas. Incluye fichas de Anki.
377,695 estrellasreact/react
La biblioteca para interfaces de usuario web y nativas.
252,541 estrellasvuejs/vue
Este es el repositorio de Vue 2. Para Vue 3, visita https://github.com/vuejs/core
212,527 estrellas