{"id":13437470,"url":"https://github.com/streamlib/streamlib","last_synced_at":"2025-03-19T06:31:16.821Z","repository":{"id":37888304,"uuid":"210055700","full_name":"streamlib/streamlib","owner":"streamlib","description":"Play your favorite live streams from command line","archived":false,"fork":false,"pushed_at":"2023-10-14T08:11:30.000Z","size":237,"stargazers_count":29,"open_issues_count":14,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-27T21:51:44.465Z","etag":null,"topics":["audio","cli","hacktoberfest","iptv","rtsp","rust","stream","streams","video","video-player","video-streaming","work-in-progress"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlib.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":"2019-09-21T21:28:48.000Z","updated_at":"2024-06-01T12:13:59.000Z","dependencies_parsed_at":"2024-10-27T20:20:27.310Z","dependency_job_id":"160ce192-a2d7-4280-9e74-8667425f6285","html_url":"https://github.com/streamlib/streamlib","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlib%2Fstreamlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlib%2Fstreamlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlib%2Fstreamlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlib%2Fstreamlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlib","download_url":"https://codeload.github.com/streamlib/streamlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244371072,"owners_count":20442333,"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":["audio","cli","hacktoberfest","iptv","rtsp","rust","stream","streams","video","video-player","video-streaming","work-in-progress"],"created_at":"2024-07-31T03:00:57.443Z","updated_at":"2025-03-19T06:31:13.576Z","avatar_url":"https://github.com/streamlib.png","language":"Rust","funding_links":[],"categories":["Applications","应用"],"sub_categories":["Video","视频"],"readme":"# Streamlib\n\n![](https://github.com/streamlib/streamlib/workflows/Test/badge.svg)\n[![](https://img.shields.io/crates/v/streamlib.svg)](https://crates.io/crates/streamlib)\n\nStreamlib is a meta-player for media streams. The streamlib CLI works against a curated [library](https://github.com/streamlib/library) of video and audio streams, and enables querying and playback through a standard media player, defaulting to [mpv](https://mpv.io/) which is the recommended player.\n\nThe most important feature Streamlib provides is the ability to generate timestamped authentication tokens on streams that require some basic level of authentication to them. See the [Queries](https://github.com/streamlib/library#queries) section for more details.\n\n## Usage\n\nStreamlib is still moving fast and has yet to been officially packaged, but the basic functionality works!\n\nRunning it requires checking out the git repository and then calling:\n\n```bash\n$ cargo run -- groove\n```\n\nThe single argument will run a case-insensitive match against all known metadata and pick the first matching stream. Upcoming versions will include a console-based interactive interface.\n\nEntire library can be dumped with the `-L` flag:\n\n```bash\n$ cargo run -- -L\n```\n\nOr filtered to show a specific query:\n\n```bash\n$ cargo run -- -L somafm\n```\n\nAn alternate player can be set with the `-p`/`--player` flag:\n\n```bash\n$ cargo run -- -p vlc groove\n```\n\nBut note that some features critical for playing streams (such as customizing HTTP headers) are unavailable and will cause some streams to fail.\n\nUse the `-l`/`--library` flag to point streamlib to a local library directory for testing new additions:\n\n```bash\n$ cargo run -- --library /path/to/local/library groove\n```\n\n### Testing\n\n```bash\n$ cargo test\n```\n\n## Library\n\nTo add new content and test it you'll need to clone both repositories:\n\n```bash\n$ git clone https://github.com/streamlib/streamlib\n$ git clone https://github.com/streamlib/library\n# add any files you want to the library\n$ cd streamlib\n$ cargo run -- --library ../library groove\n```\n\nSee https://github.com/streamlib/library for more details.\n\n## License\n\n[GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlib%2Fstreamlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlib%2Fstreamlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlib%2Fstreamlib/lists"}