Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/glitchboyl/chatgpt-demo

A ChatGPT demo built on React + Material UI.
https://github.com/glitchboyl/chatgpt-demo

Last synced: 10 days ago
JSON representation

A ChatGPT demo built on React + Material UI.

Awesome Lists containing this project

README

        

# ChatGPT demo

[Try the demo online](https://chatgpt-demo-glitchboyl.vercel.app/)

## Start

Run the following commands in your command line. (without the $ sign)

First, install the dependencies.

```shell
# npm
$ npm install

# yarn
$ yarn add

# pnpm
$ pnpm install
```

Then, start the dev server:

```shell
# npm
$ npm run dev

# yarn
$ yarn dev

# pnpm
$ pnpm dev
```

You should see the application running at [http://localhost:5173](http://localhost:5173) by default.

## Usage

When you start the application, you should see there is a arrow in the top bar.

when you have click it, it will open a popper that contains an API key input box.

Input your own API key, and then enjoy using it!

## Tips

The first message may respond very slowly, because it's loading the language bundles that are used to highlight the code.

After that, it will resume to normal response speed. (I supposed)