Skip to content

mefengl/play-chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-chatgpt

Usage

Install dependencies

npm i

Run

OPENAI_EMAIL="<YOUR-EMAIL>" OPENAI_PASSWORD="<YOUR-PASSWORD>" node index.mjs
# a browser window will open, if it can't login automatically, you can help it by logging in manually

Usage

# then try it with
curl "http://localhost:8661/?q=hello"
# >> {answer: "xxx", sameConversationUrlComponent: "&conversationId=123&parentMessageId=456"}
# then try it with
curl "http://localhost:8661/?q=hello&conversationId=123&parentMessageId=456"

Credits

https://github.com/transitive-bullshit/chatgpt-api

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published