/chatgpt-web-client

This is a web client for my node-chatgpt-api project's API server, built using Nuxt 3. Also usable with other compatible API server implementations.

Primary LanguageVueMIT LicenseMIT

Web client demo

ChatGPT Web Client

This is a web client for waylaidwanderer/node-chatgpt-api's API server, built using Nuxt 3, a Vue 3 framework.

You may also use this with other API server implementations as long as the endpoints are compatible.

Nuxt 3 Setup

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.

Setup

  1. Follow the Nuxt 3 setup instructions above.
  2. Run the API server from waylaidwanderer/node-chatgpt-api.
  3. Copy .env.example to .env and fill in the API_BASE_URL variable with the URL of the API server.
  4. Run npm run dev to start the development server, or npm run build to build the application for production.

Contributing

If you'd like to contribute to this project, please create a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License.