Giter Club home page Giter Club logo

aipowereduicomponentsgenerator's Introduction

AI-Powered UI Components Generator

The AI-powered UI components generator web app enables developers to generate Next.js Tailwind CSS UI components with an implementation tutorial.

The generator has an embedded code editor where users can modify the generated code and directly see the results.

The web app leverages the power of Langchain and Tavily AI agents to do web searches in order to generate accurate and up-to-date code snippets and implementation tutorials.

Here are screenshots showing the web app in action.

Generating Contact Form UI Component

demo

Generating Contact Form UI Component Implementation Tutorial

demo2

Getting Started

First, install the packages and dependencies.

npm install

Second, create a file named .env.local on your root directory. Then add your OpenAI and Tavily API keys to the file.

OPENAI_API_KEY="Your OpenAI API key"
TAVILY_API_KEY="Your Tavily API key"

To get the ChatGPT API key, navigate to https://platform.openai.com/api-keys.

3

To get the Tavily Search API key, navigate to https://app.tavily.com/home

4

Finally, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Check out this tutorial on DevTo on how to build the UI Components Generator.

aipowereduicomponentsgenerator's People

Contributors

thegreatbonnie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.