Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arunk140/cgpt
selfhosted chatgpt like service using openai apis (with APIs + Frontend and Session Storage)
https://github.com/arunk140/cgpt
api chatbot chatgpt chatgpt-api docker language-model llm nextjs openai openai-api
Last synced: 3 days ago
JSON representation
selfhosted chatgpt like service using openai apis (with APIs + Frontend and Session Storage)
- Host: GitHub
- URL: https://github.com/arunk140/cgpt
- Owner: arunk140
- License: gpl-2.0
- Created: 2023-02-05T02:59:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T11:28:53.000Z (over 1 year ago)
- Last Synced: 2024-07-30T17:33:25.089Z (4 months ago)
- Topics: api, chatbot, chatgpt, chatgpt-api, docker, language-model, llm, nextjs, openai, openai-api
- Language: TypeScript
- Homepage:
- Size: 395 KB
- Stars: 13
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cgpt
## selfhosted chatgpt like service using openai apis (with APIs + Frontend and Session Storage)
### this project uses the official "gpt-3.5-turbo" model API from OpenAI.
#### tech stack
- Next.js (APIs and Frontend)
- OpenAI JS Lib (API calls to OpenAI)
- Mongo DB (Storing Chat History)## Getting Started
Update docker-compose.yml/.env file with OPEN AI API Key.
Run the Frontend + API server and run Mongo DB Docker containers -
```bash
docker compose up -d
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Screenshots -
![image](https://user-images.githubusercontent.com/8670239/216851178-c3c56d2a-a565-4899-af41-ae7caac2739a.png)
![image](https://user-images.githubusercontent.com/8670239/216851163-013271b0-2aae-4d17-89ec-f4b678f9d867.png)
## A super Simple Login System - to separate Conversation History by Username
![image](https://user-images.githubusercontent.com/8670239/217333449-2b25702d-2491-482f-aa1e-9bedd42a2bba.png)