{"id":19190160,"url":"https://github.com/xrplf/xrpld-debug-stream","last_synced_at":"2026-06-16T12:31:42.168Z","repository":{"id":66231295,"uuid":"416131536","full_name":"XRPLF/xrpld-debug-stream","owner":"XRPLF","description":"xrpld (rippled) Debug Stream WebSocket to subscribe to logs containing a specific account address","archived":false,"fork":false,"pushed_at":"2026-01-31T23:02:20.000Z","size":95,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-02-01T10:47:24.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/XRPLF.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":"2021-10-12T00:46:17.000Z","updated_at":"2026-01-31T23:02:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"add6082c-eb43-4828-a59e-50c9ae1a78c7","html_url":"https://github.com/XRPLF/xrpld-debug-stream","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/XRPLF/xrpld-debug-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XRPLF%2Fxrpld-debug-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XRPLF%2Fxrpld-debug-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XRPLF%2Fxrpld-debug-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XRPLF%2Fxrpld-debug-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XRPLF","download_url":"https://codeload.github.com/XRPLF/xrpld-debug-stream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XRPLF%2Fxrpld-debug-stream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34406820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-09T11:33:06.797Z","updated_at":"2026-06-16T12:31:42.149Z","avatar_url":"https://github.com/XRPLF.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `XRPLD` Debug Stream (WebSocket)\n\n## Built for the Hooks Testnet Debug Stream\n\nThis service relies on the output of an existing WebSocket, e.g. \n`websocketd` running on the stdout of `xrpld`.\n\nThis service then connects to the upstream `websocketd` service and\nallows clients to connect to this Debug Stream repo. using a WebSocket\nconnection.\n\nThe appended value (URL) is the value to be matched in the output\nto forward to the specific client and must be an XRPL account address (r...)\n\nSimple status (counters): available on `/status`\n\nOnce everything is running, a client can connect to:\n```\n  ws://{machine-where-this-is-running}:{port}/{xrpl-account-addr}\n  # e.g.\n  ws://localhost:8080/rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ\n```\n\nThis will filter debug logs for a mention of the address:\n  `rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ`\n\n## Config\n\nEnvironment variables:\n- `CORS_ORIGINS` for public visitors, default: `*`\n- `ENDPOINT` to find a WebSocket server broadcasting logs, defualt: `ws://localhost:1400`\n- `PORT` to run on, default: `8080`\n\n## Sampe `websocketd` service\n\n1. Run Hooks Testnet (or other XRPL node)\n```\n  docker run -d --name xrpld-hooks \\\n    --network=host --restart=always \\\n    xrpllabsofficial/xrpld-hooks-testnet\n```\n\n2. Run websocketd to forward te container logs to a websocket\n\n```\n  websocketd --port=1400 \\\n    sh -c \"docker exec xrpld-hooks tail -f /opt/xrpld-hooks/log\"\n```\n\n3. Run this repository:\n```\n  npm run pm2\n  # Now Monitor:\n  pm2 monit XRPLD_DEBUG_STREAM\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxrplf%2Fxrpld-debug-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxrplf%2Fxrpld-debug-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxrplf%2Fxrpld-debug-stream/lists"}