Skip to content

Forked version of ChatGPT frontend, can run locally and compatible w GPT4

License

Notifications You must be signed in to change notification settings

dgurns/chat-with-gpt

 
 

Repository files navigation

Chat with GPT

Quick Start for Running Locally

  1. Clone this repo to your computer
  2. Sign up for the OpenAI API and create an API key
  3. Set an env variable for export OPENAI_API_KEY=your-api-key in your .bashrc or .bash_profile
  4. In this repo's root directory, run make
  5. The app will open in a new browser tab at https://localhost:5009 (you may need to refresh after a few seconds)

About

Chat with GPT is an open-source, unofficial ChatGPT app with extra features and more ways to customize your experience. It connects ChatGPT with ElevenLabs to give ChatGPT a realistic human voice.

Try out the hosted version at: https://chatwithgpt.netlify.app

Or self-host with Docker.

Powered by the new ChatGPT API from OpenAI, this app has been developed using TypeScript + React. We welcome pull requests from the community!

demo.mp4

Features

  • 🚀 Fast response times.
  • 🔎 Search through your past chat conversations.
  • 📄 View and customize the System Prompt - the secret prompt the system shows the AI before your messages.
  • 🌡 Adjust the creativity and randomness of responses by setting the Temperature setting. Higher temperature means more creativity.
  • 💬 Give ChatGPT AI a realistic human voice by connecting your ElevenLabs text-to-speech account.
  • 🎤 Speech recognition powered by OpenAI Whisper
  • Share your favorite chat sessions online using public share URLs.
  • 📋 Easily copy-and-paste ChatGPT messages.
  • ✏️ Edit your messages
  • 🔁 Regenerate ChatGPT messages
  • 🖼 Full markdown support including code, tables, and math.
  • 🫰 Pay for only what you use with the ChatGPT API.

Bring your own API keys

OpenAI

To get started with Chat with GPT, you will need to add your OpenAI API key on the settings screen. Click "Connect your OpenAI account to get started" on the home page to begin. Once you have added your API key, you can start chatting with ChatGPT.

Your API key is stored only on your device and is never transmitted to anyone except OpenAI. Please note that OpenAI API key usage is billed at a pay-as-you-go rate, separate from your ChatGPT subscription.

ElevenLabs

To use the realistic AI text-to-speech feature, you will need to add your ElevenLabs API key by clicking "Play" next to any message.

Your API key is stored only on your device and never transmitted to anyone except ElevenLabs.

Running on your own computer

To run on your own device, you can use Docker:

docker run -v $(pwd)/data:/app/data -p 3000:3000 ghcr.io/cogentapps/chat-with-gpt:release

Then navigate to https://localhost:3000 to view the app.

Updating

docker pull ghcr.io/cogentapps/chat-with-gpt:release

License

Chat with GPT is licensed under the MIT license. See the LICENSE file for more information.

About

Forked version of ChatGPT frontend, can run locally and compatible w GPT4

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 54.8%
  • CSS 42.9%
  • HTML 1.2%
  • SCSS 0.4%
  • JavaScript 0.3%
  • Dockerfile 0.3%
  • Makefile 0.1%