{"id":21638108,"url":"https://github.com/purecloudlabs/realtime-debug","last_synced_at":"2026-05-07T18:16:34.133Z","repository":{"id":149016297,"uuid":"67632100","full_name":"purecloudlabs/realtime-debug","owner":"purecloudlabs","description":":zap: :bug: An easy way to debug purecloud's realtime APIs","archived":false,"fork":false,"pushed_at":"2024-02-13T23:04:41.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-06-14T09:05:15.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/purecloudlabs.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}},"created_at":"2016-09-07T18:15:48.000Z","updated_at":"2022-04-15T19:02:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"756a540c-2cc5-444a-b7f5-0e7852569017","html_url":"https://github.com/purecloudlabs/realtime-debug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/purecloudlabs/realtime-debug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Frealtime-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Frealtime-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Frealtime-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Frealtime-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purecloudlabs","download_url":"https://codeload.github.com/purecloudlabs/realtime-debug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Frealtime-debug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32749901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-25T04:08:13.806Z","updated_at":"2026-05-07T18:16:34.119Z","avatar_url":"https://github.com/purecloudlabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an extension which helps debug PureCloud's realtime APIs. Intended for use in\ndevelopment of PureCloud or PureCloud integrations.\n\nContributing, developing:\n  - `npm install`\n  - `npm test` - runs linter and builds extension\n\nInstall:\n - https://chrome.google.com/webstore/detail/cgcbglankfpindfcechphhmcnoljajkl\n\nInstall for localhost:\n - Clone repo and ensure localhost is listed in manifest, then install from\n chrome://extensions\n\n Use:\n```javascript\ndebugRealtime(/jabber:client/, 'log', { absoluteTime: true, filterRealtime: /transport-info/ });\n```\n\nHandy Method for triggering ice failures:\n```javascript\ndebugRealtime(/jabber:client/, 'log', { thawIce: true });\n// now ice candidates sent over realtime will get mangled causing ice failures\n\n// use refreeze to cause ice mangling to stop after a short period of time (i.e., simulate failure/retry)\ndebugRealtime(/jabber:client/, 'log', { thawIce: true, refreeze: 4000 });\n\n\n/// use slow ice to simulate slow or delayed ice, instead of a failure\ndebugRealtime(/jabber:client/, 'log', { slowIce: 1000 });\n```\n\n```javascript\n/// log jabber:client stanzas, filtering none, mangling ice transports\ndebugRealtime(/jabber:client/, 'log',\n    {\n      absoluteTime: true,\n      filterRealtime: null,\n      mangleStanzas: [{\n        regexp: /ip=\".*?\"/,\n        mangle: (s) =\u003e {\n          return s.toString().replace(/ip=\".*?\"/g, 'ip=\"123.123.123.123\"').replace(/rel-addr=\".*?\"/g, 'rel-addr=\"123.123.123.123\"');\n        }\n      }, {\n        regexp: /ufrag=\".*?\"/,\n        mangle: (s) =\u003e {\n          return s.toString().replace(/ufrag=\".*?\"/g, 'ufrag=\"123a\"').replace(/pwd=\"/g, 'pwd=\"asd').replace(/:..\u003c\\/finger/g, ':00\u003c/finger');\n        }\n      }]\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurecloudlabs%2Frealtime-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurecloudlabs%2Frealtime-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurecloudlabs%2Frealtime-debug/lists"}