Interaction with the service provider's endpoints has been discontinued due to additional security measures that restrict interaction not originating from their domain.
A Node.js backend that interacts with OpenGPTs server endpoints as a proxy.
Install Node.js and npm (Node.js version 18.18.0 and npm version 10.3.0 or higher are recommended).
Clone the repository:
git clone https://github.com/maxonlinux/opengpts-express.git
Navigate to the cloned repository directory:
cd <repository_directory>
Install all the dependencies:
npm install
To run the application in development mode, execute:
npm run dev
If you want to run the application in production mode, first build the project:
npm run build
Then start the production server:
npm run start
Optionally, you can use pm2
to set up autostart and other features. See the pm2 documentation here.
Feel free to reach out if you have any questions or need further assistance!