Giter Club home page Giter Club logo

mygpt's Introduction

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!

mygpt's People

Contributors

ianonavy avatar schnerd avatar logankilpatrick avatar jeevnayak avatar abshek17 avatar deadex-ng avatar dependabot[bot] avatar

Stargazers

Joar avatar Marc Green avatar  avatar Brad Bouldin avatar

Watchers

 avatar

Forkers

bbouldin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.