This is a simple API for ChatGPT from scrapping API you.com
-
Create API for ChatGPT from scrapping API you.com
-
Create a multi-task chat using uid in the URL route
-
Etc. You can contribute to this project by creating an issue or pull request
git clone https://github.com/IhsanDevs/ChatGPT-You.com-API.gitcd ChatGPT-You.com-APInpm installcp chats.json.example chats.jsonnpm startvisit http://localhost:3000/?question=hello
curl {url}?question=hello{
"markdown": string,
"html": string,
}curl {url}/historiesIf you want to create long-generated text, you can use this trick
curl {url}?question=nextThe server will return rendered HTML from chat histories in chats.json
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.