chrisptang / chatgpt-slim

minimal app to call chatgpt apis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

minimal app to call chatgpt apis


Languages

Language:Vue 44.5%Language:JavaScript 39.8%Language:CSS 7.9%Language:Shell 5.2%Language:HTML 1.5%Language:Dockerfile 1.1%