{"id":51795004,"url":"https://github.com/dfinity/ic-bn-logs","last_synced_at":"2026-07-21T02:06:27.652Z","repository":{"id":336415397,"uuid":"1019750916","full_name":"dfinity/ic-bn-logs","owner":"dfinity","description":"A sample WebSocket client that demonstrates how to subscribe to API boundary node access logs of the Internet Computer.","archived":false,"fork":false,"pushed_at":"2026-04-23T08:38:33.000Z","size":210,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-23T10:29:46.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfinity.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-14T20:13:42.000Z","updated_at":"2026-04-23T08:38:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dfinity/ic-bn-logs","commit_stats":null,"previous_names":["dfinity/ic-bn-logs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfinity/ic-bn-logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fic-bn-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fic-bn-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fic-bn-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fic-bn-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfinity","download_url":"https://codeload.github.com/dfinity/ic-bn-logs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fic-bn-logs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35705783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-21T02:00:06.728Z","response_time":109,"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":"2026-07-21T02:06:24.606Z","updated_at":"2026-07-21T02:06:27.644Z","avatar_url":"https://github.com/dfinity.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IC API Boundary Node Access Logs Client\n\nA sample WebSocket client that demonstrates how to subscribe to API boundary node access logs of the Internet Computer.\n\n## Overview\n\nThis tool connects to all API boundary nodes of the Internet Computer simultaneously and streams real-time logs for the specified canister.\n\n## Usage\n\n```bash\n# Run with a canister ID\ncargo run -- --canister-id \u003cCANISTER_ID\u003e\n\n# Example\ncargo run -- --canister-id qoctq-giaaa-aaaaa-aaaea-cai\n```\n\n### Command Line Options\n\n- `-c, --canister-id \u003cCANISTER_ID\u003e`: The canister ID to monitor logs for (required)\n- `-h, --help`: Show help information\n\n## Important Notes\n\nThis demo illustrates how to connect to the API boundary nodes and stream access logs. It fetches the list of API boundary nodes once at startup, but this list can change over time (typically every few weeks or months).\n\nA production-grade system should:\n\n- Periodically refresh the API boundary node list\n- Automatically connect to newly added nodes\n- Handle removal of obsolete nodes\n\nUse this code as a starting point for building a more resilient log streaming solution.\n\n## License\n\nThis project is licensed under the [Apache License 2.0](LICENSE).\n\n## Contributing\n\nThis repository does not accept external contributions at this time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Fic-bn-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfinity%2Fic-bn-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Fic-bn-logs/lists"}