Skip to content
프로젝트

SawyerHood/draw-a-ui has 13,572 GitHub stars and 1,611 forks. GitHot measured +1 stars in 24 hours, -2 in 7 days, and -4 in 15 days. Last checked 2026-11-11 03:14 UTC. Last push 2025-07-26.

이 수치를 측정하는 방법

목업을 그리고 해당 HTML을 생성합니다

측정된 스타 증가

in 24h
+1
in 7 days
-2
in 15 days
-4
in 1 month
업데이트 지연

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

draw-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.

A demo of the app

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 node greater 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.

관련 프로젝트 살펴보기