Giter VIP home page Giter VIP logo

digitl-alchemyst / gypsy-v1.1 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 829 KB

This is my first JavaScript project. Originally made with CRA & JavaScript, Converted to Vite + React + TS just before my 1 year mark. ChatGPT clone using OPEN AI API to recreate the Chat GPT site experience with enhanced features. => Project is abandoned for a new version using Next.JS

HTML 2.09% CSS 63.35% JavaScript 2.49% TypeScript 32.06%
chatgpt openai openai-api ai api chat-application chatbot chatgpt-api javascript react reactjs typescript vite

gypsy-v1.1's Introduction

    **GPT-client**

About

This is my first JavaScript project. Originally made with CRA & JavaScript, Converted to Vite + React + TS just before my 1 year mark. ChatGPT clone using OPEN AI API to recreate the Chat GPT site experience with enhanced features. Project is abandoned for a new version using Next.JS

    Development Enviroment

Frontend
=> Vite
=> React.js
=> Typescript
Plugins
=> OpenAI
=> Express
=> Cors
=> Body-Parser
=> Morgan

    How to use

Project Dependencies

Node.js 20.8.0
npm/npx 10.1.0
Vite 5.1.5
Typescript 5.3.3

Install Node Modules

npm install

Run Application

npm run dev

OpenAI API Key

You will need an API key from OpenAI to use the GypsyGPT chat bot. You can enter your API Key in the menu in the appilication. This key is stored in State and is overwritten when a new key is entered. It is not recommened to host this application publically and then enter your API key. This will allow anyone who accesses the app use of your API key that is stored in state. If you want to host this on the public internet it is recommened that enter dummy text after use to clear the API key from state or to shut down the application. Or to modify the code to read the API in a way that is secure for the public web, such as using a.env file.

Chat Message History

The chat history is stored in a local state storage variable. If you want to clear the history you can do so by clicking the new chat button in the menu. This will both start a new chat and erase the history of the previous chat. Chat messages are not stored in any other way, thus there is no message history aside from the records of your API request with OpenAI

gypsy-v1.1's People

Contributors

digitl-alchemyst avatar

Stargazers

Vince Fulco--Bighire.tools avatar

Watchers

 avatar

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.