ChatGPT Clone

ChatGPT Clone

An open source ChatGPT clone with markdown, codeblocks, conversation history, and more. Auth is done with Clerk, the conversation history is stored in MySQL via PlanetScale. Using PlanetScale's serverless driver, and Drizzle ORM, lets loading conversation history for prompt context on the edge super fast. Other stuff used is NextJS, Tailwind, and tRPC (private procedures with Clerk). Tokens are streamed in via server sent events.

ChatGPT Clone ShowcaseChatGPT Clone ShowcaseChatGPT Clone ShowcaseChatGPT Clone Showcase