Skip to content
/ cgpt Public

selfhosted chatgpt like service using openai apis (with APIs + Frontend and Session Storage)

License

Notifications You must be signed in to change notification settings

arunk140/cgpt

Repository files navigation

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 -

docker compose up -d

Open http://localhost:3000 with your browser to see the result.

Screenshots -

image

image

A super Simple Login System - to separate Conversation History by Username

image