/sketch2app

The ultimate sketch to code app made using GPT4 vision. Choose your desired framework (React, Next, React Native, Flutter) for your app. It will instantly generate code and preview (sandbox) from a simple hand drawn sketch on paper captured from webcam

Primary LanguageJavaScriptMIT LicenseMIT

Sketch2App | Featured on Futurepedia

Tried Sketch2App? Please give us feedback here!

Green and Blue Modern QR Code Placement Poster (1)

NOTE: This repo will no longer be maintained after May 1, 2024. This project was originally open source but the live demo link is costing more than expected to keep running. Due to traffic, we will invest in more capabilities and will be closing source of these improvements. To get started, go to Sketch2App web app 2.0 or the VS code extension!

Use GPT4 Vision to generate web app code (CRA + Tailwind)

Use React to generate a web app with Tailwind CSS or React Native for a mobile app prototype. It will generate code and a sandbox to preview the app within seconds of capturing your wireframe/sketch

Sketch2Code

Running Locally

After cloning the repo, go to OpenAI to make an account and put your API key in a file called .env.

Then, run the application in the command line and it will be available at http://localhost:3000.

pnpm run dev

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel