← all repositories
Niek/chatgpt-web

A self-hosted ChatGPT UI that keeps your chats in localStorage

Turns your OpenAI API key into a private, browser-based chat client with voice, streaming, and DALL-E image generation.

2k stars Svelte Chat Assistants
chatgpt-web
Not currently ranked — collecting fresh signals.
star history

What it does

ChatGPT-web is a single-page Svelte interface for the OpenAI ChatGPT API. You supply your own API key, and all conversation history is stored in the browser’s localStorage. It handles multiple models (including GPT-4), streams responses, and can generate DALL-E images from natural-language prompts.

The interesting bit

The project treats the browser as the entire application layer: chats survive tab closures, voice input and output run locally, and the whole thing can be wrapped as a desktop app via Tauri. The README also pitches it as a cheaper alternative to ChatGPT Plus, since you pay per API call rather than a monthly subscription.

Key highlights

  • Conversations persist in localStorage with no server-side database or user accounts.
  • Supports voice input and spoken responses, plus streaming text generation.
  • Ships with pre-selected prompts pulled from the awesome-chatgpt-prompts repository.
  • Exports chats as Markdown and generates images via DALL-E when prompted.
  • Can be bundled into a desktop application using Tauri.

Verdict

Worth a look if you want a lightweight, self-hosted ChatGPT client and prefer pay-per-use API pricing over another subscription. Skip it if you need team collaboration, server-side history, or advanced orchestration beyond a single-page frontend.

Frequently asked

What is Niek/chatgpt-web?
Turns your OpenAI API key into a private, browser-based chat client with voice, streaming, and DALL-E image generation.
Is chatgpt-web open source?
Yes — Niek/chatgpt-web is open source, released under the GPL-3.0 license.
What language is chatgpt-web written in?
Niek/chatgpt-web is primarily written in Svelte.
How popular is chatgpt-web?
Niek/chatgpt-web has 2k stars on GitHub.
Where can I find chatgpt-web?
Niek/chatgpt-web is on GitHub at https://github.com/Niek/chatgpt-web.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.