Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ekamid/cgpt-web-builder

A basic Ai-powered web builder!
https://github.com/ekamid/cgpt-web-builder

ai api-implementation automation chatgpt chatgpt-api chatgpt-app nextjs reactjs web-builder

Last synced: 9 days ago
JSON representation

A basic Ai-powered web builder!

Awesome Lists containing this project

README

        


cgpt-web-builder


A basic Ai-powered web builder!




View Demo
·
Report Bug


## About The Project

This app allows users to type instructions for web components and instantly receive corresponding HTML, CSS, and JavaScript code generated by OPENAI CHAT API. Users can preview their code and even make changes directly in the editor, making it easier than ever to fine-tune the appearance and functionality of their website. There is a history function that allows users to revisit previous instructions and code snippets.

Built with `Nextjs` and `Styled Components`

## Cloning and Running the Application in local

Clone the project into local

```bash
git clone https://github.com/ekamid/cgpt-web-builder.git
cd cgpt-web-builder
```

Install all the npm packages. Go into the project folder and type the following command to install all npm packages

```bash
npm install
```

Rename the .env.example to .env and add your OpenAI API Key

```bash
NEXT_PUBLIC_OPENAI_API_KEY=your-openai-api-key
```

In order to run the application in dev mode type the following command

```bash
npm run dev
```

The Application Runs on **localhost:3000**