{"id":21721829,"url":"https://github.com/bgpkit/ris-live-rs","last_synced_at":"2025-08-08T02:43:59.773Z","repository":{"id":44307032,"uuid":"431535031","full_name":"bgpkit/ris-live-rs","owner":"bgpkit","description":"Rust SDK for working with RIS-Live real-time BGP data stream.","archived":false,"fork":false,"pushed_at":"2024-10-16T21:58:59.000Z","size":61,"stargazers_count":13,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T21:37:02.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/bgpkit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"bgpkit"}},"created_at":"2021-11-24T15:26:21.000Z","updated_at":"2025-01-21T03:08:59.000Z","dependencies_parsed_at":"2025-04-12T21:34:04.777Z","dependency_job_id":"a450afb4-2bf4-47d9-8b3a-1fb180b357bd","html_url":"https://github.com/bgpkit/ris-live-rs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bgpkit/ris-live-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgpkit%2Fris-live-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgpkit%2Fris-live-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgpkit%2Fris-live-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgpkit%2Fris-live-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgpkit","download_url":"https://codeload.github.com/bgpkit/ris-live-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgpkit%2Fris-live-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269355757,"owners_count":24403498,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"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-26T02:19:06.298Z","updated_at":"2025-08-08T02:43:59.740Z","avatar_url":"https://github.com/bgpkit.png","language":"Rust","funding_links":["https://github.com/sponsors/bgpkit"],"categories":[],"sub_categories":[],"readme":"# ris-live-rs\n\n`ris-live-reader` is a CLI tool that builds up top of [`bgpkit-parser`](https://github.com/bgpkit/bgpkit-parser)\nlibrary's RIS live message parsing functionalities to provide a commandline interface to stream BGP data from the\n[RIS-Live project](https://ris-live.ripe.net/).\n\n[![asciicast](https://asciinema.org/a/zAxCUmUko9H7T8KM9qFY77uPo.svg)](https://asciinema.org/a/zAxCUmUko9H7T8KM9qFY77uPo)\n\nFull command-line options are:\n\n```\nris-live-reader 0.3.0\nris-live-reader is a simple cli tool that can stream BGP data from RIS-Live project with websocket. Check out\nhttps://ris-live.ripe.net/ for more data source information\n\nUSAGE:\n    ris-live-reader [FLAGS] [OPTIONS]\n\nFLAGS:\n    -h, --help             Prints help information\n        --json             Output as JSON objects\n        --less-specific    Match prefixes that are less specific (contain) `prefix`\n        --more-specific    Match prefixes that are more specific (part of) `prefix`\n        --pretty           Pretty-print JSON output\n        --raw              Print out raw message without parsing\n    -V, --version          Prints version information\n\nOPTIONS:\n        --client \u003cclient\u003e              client name to identify the stream [default: ris-live-rs]\n        --host \u003chost\u003e                  Filter by RRC host: e.g. rrc01. Use \"all\" for the firehose [default: rrc21]\n        --msg-type \u003cmsg-type\u003e          Only include messages of a given BGP or RIS type: UPDATE, OPEN, NOTIFICATION,\n                                       KEEPALIVE, or RIS_PEER_STATE\n        --path \u003cpath\u003e                  ASN or pattern to match against the AS PATH attribute\n        --peer \u003cpeer\u003e                  Only include messages sent by the given BGP peer\n        --prefix \u003cprefix\u003e              Filter UPDATE messages by prefixes in announcements or withdrawals\n        --require \u003crequire\u003e            Only include messages containing a given key\n        --update-type \u003cupdate-type\u003e    Only a given BGP update type: announcement (a) or withdrawal (w)\n```\n\n### Installation\n\nInstall via cargo by:\n\n```bash\ncargo install ris-live-rs\n```\n\nOr checkout the repo and run:\n\n```bash\ncargo install --path .\n```\n\nThe program `ris-live-reader` will be installed to your `$CARGO_HOME/bin` (e.g. `~/.cargo/bin`).\n\n### Run with Docker\n\n```bash\ndocker run --rm -it bgpkit/ris-live-reader --help\n```\n\n## Built with ❤️ by BGPKIT Team\n\n\u003ca href=\"https://bgpkit.com\"\u003e\u003cimg src=\"https://bgpkit.com/Original%20Logo%20Cropped.png\" alt=\"https://bgpkit.com/favicon.ico\" width=\"200\"/\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgpkit%2Fris-live-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgpkit%2Fris-live-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgpkit%2Fris-live-rs/lists"}