{"id":19076484,"url":"https://github.com/torfsen/roux-stream","last_synced_at":"2025-04-30T03:39:43.531Z","repository":{"id":45144652,"uuid":"393100262","full_name":"torfsen/roux-stream","owner":"torfsen","description":"Streaming API for the Rust Reddit Client roux","archived":false,"fork":false,"pushed_at":"2023-05-18T08:17:31.000Z","size":57,"stargazers_count":8,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T03:39:35.959Z","etag":null,"topics":["async","reddit","rust","stream"],"latest_commit_sha":null,"homepage":"","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/torfsen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-05T15:56:09.000Z","updated_at":"2023-11-14T15:58:33.000Z","dependencies_parsed_at":"2023-01-30T05:15:53.457Z","dependency_job_id":null,"html_url":"https://github.com/torfsen/roux-stream","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Froux-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Froux-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Froux-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfsen%2Froux-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torfsen","download_url":"https://codeload.github.com/torfsen/roux-stream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251638699,"owners_count":21619659,"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":["async","reddit","rust","stream"],"created_at":"2024-11-09T01:59:29.752Z","updated_at":"2025-04-30T03:39:43.504Z","avatar_url":"https://github.com/torfsen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/torfsen/roux-stream/actions/workflows/build.yml/badge.svg)](https://github.com/torfsen/roux-stream/actions/workflows/build.yml) [![Crates.io](https://img.shields.io/crates/v/roux-stream)](https://crates.io/crates/roux-stream) [![docs.rs](https://img.shields.io/docsrs/roux-stream)](https://docs.rs/roux-stream) [![Crates.io](https://img.shields.io/crates/l/roux-stream)](https://github.com/torfsen/roux-stream/blob/main/LICENSE)\n\n# `roux-stream`\n\nA streaming API for the Rust Reddit client\n[`roux`](https://github.com/halcyonnouveau/roux).\n\nReddit's API does not provide \"firehose\"-style streaming of new posts and\ncomments. Instead, the endpoints for retrieving the latest posts and comments\nhave to be polled regularly. This crate automates that task and provides streams\nfor a subreddit's posts (submissions) and comments.\n\n\n## Documentation\n\nThe documentation is available [on `docs.rs`](https://docs.rs/roux-stream) and\ncontains examples for [streaming submissions](https://docs.rs/roux-stream/latest/roux_stream/fn.stream_submissions.html#example)\nand [streaming comments](https://docs.rs/roux-stream/latest/roux_stream/fn.stream_comments.html#example).\n\nAn example for streaming both submissions and comments at the same time can be\nfound in the file [`examples/submissions-and-comments.rs`](https://github.com/torfsen/roux-stream/blob/main/examples/submissions-and-comments.rs).\n\n\n## License\n\nDistributed under the MIT license. See the file [`LICENSE`](LICENSE) for\ndetails.\n\n\n## Changelog\n\nSee the file [`CHANGELOG.md`](CHANGELOG.md).\n\n\n## Contributors\n\n* [@torfsen](https://github.com/torfsen)\n* [@fourbytes](https://github.com/fourbytes)\n* [@dark0dave](https://github.com/dark0dave)\n* [@asad-awadia](https://github.com/asad-awadia)\n\n\n## Development\n\nClone the repository:\n\n```bash\ngit clone https://github.com/torfsen/roux-stream.git\ncd roux-stream\n```\n\nRun the tests:\n\n```bash\ncargo test\n```\n\nRun the example in `examples/submissions-and-comments.rs`:\n\n```bash\ncargo run --example submissions-and-comments\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorfsen%2Froux-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorfsen%2Froux-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorfsen%2Froux-stream/lists"}