- Open chat.openai.com and get your cookie
__Secure-next-auth.session-token
- Drop the cookie in .env file – starts with
ey
- yarn add chatgpt
- npx tsx src/terminal.ts
- MIT © Travis Fischer
- Huge thanks to @RomanHotsiy, @ElijahPepe, @wong2, and all the other contributors 💪
- The original browser version was inspired by this Go module by Daniel Gross