<p align="center" <a href="https://ai2ui.co" </a </p <h1 align="center"Welcome to AI Component Generator with ChatGPT</h1 <p align="center"…
<p align="center" <a href="https://ai2ui.co" </a </p <h1 align="center"Welcome to AI Component Generator with ChatGPT</h1 <p align="center"…
This project generates almost any UI components with OpenAI's ChatGPT and allows you to copy the html code
This project uses the ChatGPT API and Vercel Edge functions. It constructs a prompt based on the form and user input, sends it to the chatGPT API via a Vercel Edge function, then streams the response back to the application. You can ask for any UI component, free style. Most likely it will generate the right thing for you. This can also be used as a great bootstrap for projects, I tried to make the style Material-UI styled, but you can change this behavior.
You can now choose between HTML export of your UI components and your preferred combination of Tailwind CSS, Next.js, React.js, Material UI
This project is built with Next.js and TailwindCSS, so you can deploy it directly to Vercel.
After cloning the repo, go to OpenAI to make an account and put your API key in a file called .env(OPENAI_API_KEY)
Then, run the application in the command line and it will be available at http://localhost:3000.
npm install
yarn devIn order to change ChatGPT response you only need to give it an example of what you wish to get back (use the assistant role to generate an example of a good response)". In the example below I show it how to generate TailwindCSS and Next.js component, and later ask just to return the corresponding HTML code.
…My name is Yuval - an entrepreneur at heart , I ❤️ building end-to-end systems that not only look amazing and feel state-of-the-art, but also have real meaning and impact.
Contributions, issues and feature requests are welcome!
This project is MIT License licensed.
We accept contribution with great love! Show your interest! Contribute!
No open issues yet, or sync has not completed.