Anonymous ChatGPT Client
- Access basic ChatGPT model without authentication
OpenAI recently made the ChatGPT model accessible anonymously. You can access it without authentication. Read more about it in the official docs
Installation
- Install the package/cli
pip install anonymous-chatgpt
Usage
CLI
chatgpt --prompt "hello world"
OR
chatgpt --chat
CLI Demonstration
Package
from anonymous_chatgpt import chat_prompt, ChatGPT
message = chat_promt(prompt="hello world")
print(message)
# For chat
chatgpt = ChatGPT()
resp1 = chatgpt.chat(prompt="hello, my name is John")
resp2 = chatgpt.chat(prompt="what is my name?")
Process of creating a authentication-less client
- Send the first request to the ChatGPT API i.e.
chat.openai.com - The response of that request has cookies for authentication(not user just user-agent and csrf tokens)
- Those cookies are carried in all the upcoming requests
- Send the second request to the Sential API i.e.
/backend-anon/sentinel/chat-requirements - This request gives us the
sentinel-tokenwhich is the token used for authentication and authorization of the requests (not users). - We use this token in all the subsequent requests
- The third request is the actual request to the Anonymous Conversation endpoint i.e.
/backend-anon/conversation - This is a streamed request which returns the response in the form of chunks
Metadata
Release files for anonymous-chatgpt 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| anonymous-chatgpt-0.0.4.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anonymous_chatgpt-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / anonymous-chatgpt-0.0.4.tar.gz
| Download URL | anonymous-chatgpt-0.0.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b86ecb6ca8eff54f6fa1e4458ce8166220cebd2c67a1899b212444521fc1dc51
|
|
BLAKE2b-256 checksum How to use checksums |
a8d6514ad0313ac004998445a239c157d8fea3ea1ce1cbb6312628f0abad6edd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / anonymous_chatgpt-0.0.4-py3-none-any.whl
| Download URL | anonymous_chatgpt-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5979b9c5abe0ad7f709261c0fa4007206ec1ffbbb863cbfa62604812004f4391
|
|
BLAKE2b-256 checksum How to use checksums |
a84a496e2f37542fb016f5585b758ddefbd2d16b7b11e820acde77299219fe2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for anonymous-chatgpt 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.