/chatgpt-slim

minimal app to call chatgpt apis

Primary LanguageVue

chatgpt-slim

This tool will let you create ChatGPT client on your Mac/PC.

Quick start

acquire your API-key first: https://platform.openai.com/account/api-keys

Then run foloowing commands:

cd ~/Documents

git clone https://github.com/chrisptang/chatgpt-slim.git

cd chatgpt-slim

chmod +x ./quick_start.sh && ./quick_start.sh

now navigate to http://localhost:9001

Developer setup

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build