{"id":19388439,"url":"https://github.com/spacingbat3/discord-ipc-proxy","last_synced_at":"2025-04-23T23:31:39.059Z","repository":{"id":189598492,"uuid":"609676301","full_name":"SpacingBat3/discord-ipc-proxy","owner":"SpacingBat3","description":"A tool to analyze the Discord's IPC/WebSocket communication between server and client.","archived":false,"fork":false,"pushed_at":"2024-02-06T15:32:46.000Z","size":35,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T22:23:25.709Z","etag":null,"topics":["arrpc","betterdiscord","discord","discord-ipc","discord-websocket"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpacingBat3.png","metadata":{"files":{"readme":"Readme.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["SpacingBat3"]}},"created_at":"2023-03-04T22:25:10.000Z","updated_at":"2025-03-19T04:13:39.000Z","dependencies_parsed_at":"2024-11-10T10:12:44.125Z","dependency_job_id":"0a2c2d3e-b53a-4b0e-9da8-7d332a1958e8","html_url":"https://github.com/SpacingBat3/discord-ipc-proxy","commit_stats":null,"previous_names":["spacingbat3/discord-ipc-proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpacingBat3%2Fdiscord-ipc-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpacingBat3%2Fdiscord-ipc-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpacingBat3%2Fdiscord-ipc-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpacingBat3%2Fdiscord-ipc-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpacingBat3","download_url":"https://codeload.github.com/SpacingBat3/discord-ipc-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532058,"owners_count":21446107,"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":["arrpc","betterdiscord","discord","discord-ipc","discord-websocket"],"created_at":"2024-11-10T10:12:41.138Z","updated_at":"2025-04-23T23:31:38.783Z","avatar_url":"https://github.com/SpacingBat3.png","language":"TypeScript","funding_links":["https://github.com/sponsors/SpacingBat3"],"categories":[],"sub_categories":[],"readme":"# discord-ipc-proxy\n\nA tool to analyze the Discord's IPC/WebSocket communication between server and\nclient. Acts as a middleware between an application (browser, game) and Discord.\n\n## Usage\n\n1. Clone this repo.\n2. `npm i` to fetch all needed dependencies.\n3. `npm start` to launch proxy.\n4. Launch Discord. It shouldn't be launched **before** launching proxy.\n\nThe proxy will periodically output to its STDOUT a JSON-formatted messages about\nthe communication between Discord IPC/WS servers and applications connecting to\nthem. This can be used by 3rd-party software to visualize it in more\nhuman-readable way (GUI, colorized CLI).\n\n## About\n\nThis package was designed to help with the development of Discord WebSocket/IPC\nprotocol reimplementations, trying to create a universal bridge that passes\nentire communication to the another client or server. A diagram showing how it\nshould initialize looks as below:\n\n```mermaid\nsequenceDiagram\n  participant OS as Operating system\n  actor C as Browser/Application\n  actor B as IPC Bridge\n  actor S as Discord\n  activate OS;\n  activate B;\n  critical setup server\n    B-\u003e\u003eOS: Initialize server, reserve port/path.\n  option all in use or taken\n    B--XB: Throw error, clean-up\n    B--XOS: End process life\n  end\n  activate S;\n  S-\u003e\u003eOS: Initialize server, reserve port/path.\n  C-\u003e\u003eB: (Open connection)\n  activate C;\n  critical setup client\n    B-\u003eS: (Open connection, reuse params/origin)\n  option server unavailable\n    B-\u003eB: \"Null proxying\" (receives messages but doesn't proxy them)\n    B--XOS: End process life\n  option closure by Discord\n    S-\u003e\u003eB: Close with \"n\" code\n    B-\u003e\u003eC: Close with \"n\" code\n  option closure by client\n    C-\u003e\u003eB: Close with \"n\" code\n    B-\u003e\u003eS: Close with \"n\" code\n  end\n  deactivate C;\n  deactivate S;\n  deactivate B;\n  deactivate OS;\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacingbat3%2Fdiscord-ipc-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacingbat3%2Fdiscord-ipc-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacingbat3%2Fdiscord-ipc-proxy/lists"}