Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

ianonavy/mygpt

Repository files navigation

MyGPT

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.

Screenshot of MyGPT. Conversation reads as follows. You: who are you?  MyGPT: I am MyGPT, a helpful AI assistant designed to assist and answer questions. You: who created you? MyGPT: I was created by OpenAI. You: what can you do? MyGPT: I can assist with natural language processing tasks such as language translation, text summarization, question-answering, and more.

Features

  • 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

Setup

  1. If you don’t have Node.js installed, install it from here (Node.js version >= 14.6.0 required)

  2. Clone this repository

  3. Navigate into the project directory

    $ cd mygpt
  4. Install the requirements

    $ npm install
  5. Make a copy of the example environment variables file

    On Linux systems:

    $ cp .env.example .env

    On Windows:

    $ copy .env.example .env
  6. Add your API key to the newly created .env file

  7. Run the app

    $ npm run dev

You should now be able to access the app at http://localhost:3000!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published