{"id":22161105,"url":"https://github.com/mr-destructive/anonymous-chatgpt","last_synced_at":"2025-07-26T09:32:01.518Z","repository":{"id":231869437,"uuid":"782903752","full_name":"Mr-Destructive/anonymous-chatgpt","owner":"Mr-Destructive","description":"Use ChatGPT without authenticating (with limitations)","archived":false,"fork":false,"pushed_at":"2024-04-12T16:48:01.000Z","size":32,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T03:49:42.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mr-Destructive.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-06T11:24:14.000Z","updated_at":"2024-10-17T23:02:11.000Z","dependencies_parsed_at":"2024-04-11T18:08:37.375Z","dependency_job_id":null,"html_url":"https://github.com/Mr-Destructive/anonymous-chatgpt","commit_stats":null,"previous_names":["mr-destructive/anonymous-chatgpt"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Destructive%2Fanonymous-chatgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Destructive%2Fanonymous-chatgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Destructive%2Fanonymous-chatgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Destructive%2Fanonymous-chatgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mr-Destructive","download_url":"https://codeload.github.com/Mr-Destructive/anonymous-chatgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227668700,"owners_count":17801514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T04:13:11.924Z","updated_at":"2025-07-26T09:32:01.506Z","avatar_url":"https://github.com/Mr-Destructive.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anonymous ChatGPT Client \n\n\u003e THIS PACKAGE/REPOSITORY IS NO LONGER MAINTAINED AS ITS CORE FUNCTIONALITY IS BLOCKED FROM OPENAI API (CAN'T BYPASS THE SECURITY CHECKS AND AUTHENTICATION WITHOUT CAPTCHA)\n\n- Access basic ChatGPT model without authentication\n\nOpenAI recently made the ChatGPT model accessible anonymously. You can access it without authentication.\nRead more about it in the [official docs](https://openai.com/blog/start-using-chatgpt-instantly)\n\n## Installation\n\n- Install the package/cli\n\n```bash\npip install anonymous-chatgpt\n```\n\n## Usage\n\n### CLI\n\n```bash\nchatgpt --prompt \"hello world\"\n\nOR \n\nchatgpt --chat\n```\n\n\n#### CLI Demonstration\n\n![Anonymous ChatGPT Demo](https://meetgor-cdn.pages.dev/anonymous-chatgpt-demo.gif)\n\n### Package\n\n```python\nfrom anonymous_chatgpt import chat_prompt, ChatGPT\n\n\nmessage = chat_promt(prompt=\"hello world\")\nprint(message)\n\n# For chat\n\nchatgpt = ChatGPT()\n\nresp1 = chatgpt.chat(prompt=\"hello, my name is John\")\nresp2 = chatgpt.chat(prompt=\"what is my name?\")\n```\n\n\n## Process of creating a authentication-less client\n\n1. Send the first request to the ChatGPT API i.e. `chat.openai.com`\n2. The response of that request has cookies for authentication(not user just user-agent and csrf tokens)\n3. Those cookies are carried in all the upcoming requests\n4. Send the second request to the [Sential API](https://techcommunity.microsoft.com/t5/manufacturing/introduction-to-openai-and-microsoft-sentinel/ba-p/3761907) i.e. `/backend-anon/sentinel/chat-requirements`\n5. This request gives us the `sentinel-token` which is the token used for authentication and authorization of the requests (not users).\n6. We use this token in all the subsequent requests\n7. The third request is the actual request to the **Anonymous Conversation** endpoint i.e. `/backend-anon/conversation`\n8. This is a streamed request which returns the response in the form of chunks\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-destructive%2Fanonymous-chatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-destructive%2Fanonymous-chatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-destructive%2Fanonymous-chatgpt/lists"}