MyGPT is a free, alternative UI for OpenAI chat models. It uses the same backend model as ChatGPT. This project is not affiliated with OpenAI.
Use of this project requires a paid OpenAI developer plan and a valid API token.
This project aims to enable savvy users to use a ChatGPT-like product on a pay-per-use pricing model instead of a monthly subscription. The code is provided without any warranties, and it is not intended to be run as a public SaaS offering.
- Basic conversation via OpenAI API
- Streaming message generation
- Code syntax highlighting
- Persist conversation in local browser storage
- Stop generating
- Regenerate last response
- Edit messages
- Token/cost estimator
- Configurable system prompt
- "Click to copy" code
- Review past sessions
- Screenreader/accessibility hints
- Snazzy logo
-
If you don’t have Node.js installed, install it from here (Node.js version >= 14.6.0 required)
-
Clone this repository
-
Navigate into the project directory
$ cd mygpt
-
Install the requirements
$ npm install
-
Make a copy of the example environment variables file
On Linux systems:
$ cp .env.example .env
On Windows:
$ copy .env.example .env
-
Add your API key to the newly created
.env
file -
Run the app
$ npm run dev
You should now be able to access the app at http://localhost:3000!