Code Monkey home page Code Monkey logo

side-gpt's Introduction

SideGPT

SideGPT provide a application that allows users to interact with OpenAI's models through a simple and user-friendly interface. This app is for demo purpose to test OpenAI API and may contain issues/bugs.

Features

  • UI matching ChatGPT
  • Configure Proxy, Reverse Proxy

Getting Started

To get started with this project, you'll need to clone the repository and have Nodejs installed on your system.

Cloning the Repository

Run the following command to clone the repository:

git clone https://github.com/luckyJeffy/side-gpt.git

Install Dependencies

Navigate to the project directory:

cd side-gpt

Install the dependencies:

npm i --verbose

Launch the application

To launch the application, first modify backend/.env as needed.

Then run the following command:

npm run dev

Access the application in your browser using the URL:

http://127.0.0.1:5173

or

http://localhost:5173

Additional Note

backend/.env

Field Description Required
CHAT_GPT_API_BASE_URL chatGPT model API address, fill in the value according to different service providers true
CHAT_GPT_API_DEBUG Enable debug mode, which will print details on the console when enabled false
API_PROXY Proxy for requesting model API, only HTTP/HTTPS proxies are supported false

Contributions

Contributions, suggestions, bug reports and fixes are welcome!

For new features, components, or extensions, please open an issue and discuss before sending a PR.

License

MIT

side-gpt's People

Contributors

luckyjeffy avatar

Stargazers

 avatar  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.