Open Source, Self-Hosted ChatGPT APP using Next.js

Open Source, Self-Hosted Chat GPT APP

Stack

  • Prisma,
  • tRPC
  • NextJS
  • TypeScript
  • Sqlite
  • Mantine (React comoponent library)

How to run

  1. Clone the repository
  2. Create a .env file containing 2 entries:

DATABASE_URL="file:./db.sqlite"
OPENAI_API_KEY=<YOUR OPENAI API KEY>
  1. Run yarn
  2. Run yarn prisma migrate deploy
  3. Run yarn build
  4. Run yarn start
  5. Visi localhost:3000

Roadmap 🚀

Contribution welcomed!

  1. Dockerize the app
  2. Add ChatGPT prompt templates to speed up reusable worflows
  3. Integrate vocal chat with the Whisper API
  4. Make it more mobile friendly
  5. Overall imporovement of the design

GitHub

View Github