Skip to content

0xSMW/chatgpt-api

 
 

Repository files navigation

ChatGPT API

  1. Open chat.openai.com and get your cookie __Secure-next-auth.session-token
  2. Drop the cookie in .env file – starts with ey
  3. yarn add chatgpt
  4. npx tsx src/terminal.ts

Credit

About

Node.js client for the unofficial ChatGPT API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.8%
  • Shell 4.8%
  • JavaScript 3.4%