Skip to content

API server that wraps ChatGPT endpoints, powered by Express

Notifications You must be signed in to change notification settings

estar-app/chatgpt-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API server for ChatGPT

Backend server for ChatGPT With Voice. You can check out the website, or find the frontend repo on GitHub.

Installation

Clone this repo.

git clone https://github.com/thanhsonng/chatgpt-server.git

Prepare environment variables by creating .env at the project root. You need to sign up for an OpenAI account here, using email and password.

PORT=8000 # Or whichever port available
OPENAI_EMAIL="<your-openai-email>"
OPENAI_PASSWORD="<your-openai-password>"

Start the server and you are done! Remember to use Node 18 or higher, this is the requirement of this package's core dependency – chatgpt.

npm install
npm run build
npm run start

Contribution

Thank you Travis Fischer for your chatgpt package.

About

API server that wraps ChatGPT endpoints, powered by Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%