{"id":17334035,"url":"https://github.com/teaishealthy/discord_remote_auth","last_synced_at":"2025-03-27T06:45:26.944Z","repository":{"id":49686255,"uuid":"517831478","full_name":"teaishealthy/discord_remote_auth","owner":"teaishealthy","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-21T18:13:29.000Z","size":37,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T12:08:26.369Z","etag":null,"topics":["discord","discord-gateway","encryption","gateway","python","remote-auth","websockets"],"latest_commit_sha":null,"homepage":"https://dra.teaishealthy.me","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teaishealthy.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-25T21:53:40.000Z","updated_at":"2024-07-16T02:36:23.000Z","dependencies_parsed_at":"2023-01-20T07:31:25.976Z","dependency_job_id":null,"html_url":"https://github.com/teaishealthy/discord_remote_auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teaishealthy%2Fdiscord_remote_auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teaishealthy%2Fdiscord_remote_auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teaishealthy%2Fdiscord_remote_auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teaishealthy%2Fdiscord_remote_auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teaishealthy","download_url":"https://codeload.github.com/teaishealthy/discord_remote_auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245798537,"owners_count":20673902,"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":["discord","discord-gateway","encryption","gateway","python","remote-auth","websockets"],"created_at":"2024-10-15T15:04:33.398Z","updated_at":"2025-03-27T06:45:26.925Z","avatar_url":"https://github.com/teaishealthy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"discord_remote_auth\n===================\n\nInstallation\n~~~~~~~~~~~~\n\n``discord_remote_auth`` is currently not available on pip, to install it run\n\n.. code-block:: bash\n\n   $ pip install git+https://github.com/teaishealthy/discord_remote_auth\n\n\n\nExample\n~~~~~~~\n.. code-block:: py\n\n   import asyncio\n   import webbrowser\n\n   from discord_remote_auth import RemoteAuth, PendingRemoteInit\n\n   auth = RemoteAuth()\n\n\n   @auth.pending_remote_init\n   async def pending_remote_init(fingerprint: PendingRemoteInit):\n      # Scan this with your phone\n      webbrowser.open(\n         f\"https://api.qrserver.com/v1/create-qr-code/?data=https://discord.com/ra/{fingerprint['fingerprint']}\"\n      )\n\n\n   @auth.finish\n   async def finish(token: str):\n      print(token)  # Either get the token here or\n\n   # here\n   token = asyncio.run(auth.auth())\n\nThis example will open your default webbrowser and show you a QR code to scan with your phone,\nonce you have scanned the code, the access token will be printed.\n\n\nCredits\n~~~~~~~\n\nLuna for the `unofficial-api-docs \u003chttps://luna.gitlab.io/discord-unofficial-docs\u003e`_\n\nVap0r1ze for `\u003chttps://github.com/Vap0r1ze/discord-remote-auth\u003e`_ which has helped as a reference for discord's encryption","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteaishealthy%2Fdiscord_remote_auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteaishealthy%2Fdiscord_remote_auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteaishealthy%2Fdiscord_remote_auth/lists"}