Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lakphy/your-gpt
This is a custom client for the ChatGPT API.
https://github.com/lakphy/your-gpt
chatgpt chatgpt-api gpt
Last synced: 21 days ago
JSON representation
This is a custom client for the ChatGPT API.
- Host: GitHub
- URL: https://github.com/lakphy/your-gpt
- Owner: Lakphy
- Created: 2023-12-22T03:42:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-25T14:12:42.000Z (about 1 year ago)
- Last Synced: 2024-11-29T11:09:50.766Z (29 days ago)
- Topics: chatgpt, chatgpt-api, gpt
- Language: Vue
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom ChatGPT Client
This is a custom client for the [ChatGPT](https://chat.openai.com/) API.
> [!CAUTION]
> This is just a client for local testing, do not put your API key in a public environment!## Begin Your-GPT
Insert your ChatGPT API key and the GPT Host you are using into your terminal
### Using Bash
```bash
echo '# ChatGPT' >> ~/.bashrc
echo 'export GPT_TOKEN="YOUR_API_KEY"' >> ~/.bashrc
echo 'export GPT_HOST="YOUR_HOST"' >> ~/.bashrc
```source ~/.bashrc
```bash
source ~/.bashrc
```### Using ZSH
```bash
echo '# ChatGPT' >> ~/.zshrc
echo 'export GPT_TOKEN="YOUR_API_KEY"' >> ~/.zshrc
echo 'export GPT_HOST="YOUR_HOST"' >> ~/.zshrc
```source ~/.zshrc
```bash
source ~/.zshrc
```## Usage
```bash
pnpm install
```### Dev Server
```bash
pnpm dev
```### Build
```bash
pnpm build
```