acheong08 / ChatGPTProxy

Simple Cloudflare bypass for ChatGPT
The Unlicense
1.32k stars 326 forks source link

Documentation!!! #63

Closed p4w4n closed 1 year ago

p4w4n commented 1 year ago

Hey!!! Thanks for this awesome project. Can you please provide some more documentation and its features? Is this project only a proxy server? Or can it also get the access tokens using the email:password? I think not, but can I use your chatgpt-to-api project to achieve that functionality combined with this project?

acheong08 commented 1 year ago

https://github.com/acheong08/ChatGPT-to-API can work alone without a proxy (given clean IP)

acheong08 commented 1 year ago

Or can it also get the access tokens using the email:password?

https://github.com/acheong08/OpenAIAuth

There is a repo for everything

p4w4n commented 1 year ago

chatgpttoapi | Location: begin chatgpttoapi | Status code: 0 chatgpttoapi | Details: chatgpttoapi | Embedded error: Get "https://chat.openai.com/api/auth/csrf": x509: certificate signed by unknown authority

getting this while running from docker. tried installing certificates through dockerfile but didn't work.

RUN apk update && \ apk add --no-cache openssl ca-certificates && \ wget -O /usr/local/share/ca-certificates/RootCA.crt https://letsencrypt.org/certs/isrgrootx1.pem.txt && \ echo -n | openssl s_client -servername chat.openai.com -connect chat.openai.com:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /usr/local/share/ca-certificates/OpenAI.crt && \ update-ca-certificates

acheong08 commented 1 year ago

idk how to fix in docker. Just run it outside of container