{"id":14128458,"url":"https://github.com/trizen/straw-viewer","last_synced_at":"2025-10-22T06:31:40.009Z","repository":{"id":54572902,"uuid":"240603634","full_name":"trizen/straw-viewer","owner":"trizen","description":"**DEPRECATED** Use https://github.com/trizen/pipe-viewer instead.","archived":true,"fork":false,"pushed_at":"2021-06-21T09:10:31.000Z","size":673,"stargazers_count":108,"open_issues_count":5,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-09-30T15:13:09.688Z","etag":null,"topics":["invidious","perl"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trizen.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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":"2020-02-14T21:43:53.000Z","updated_at":"2024-07-03T00:16:34.000Z","dependencies_parsed_at":"2022-08-13T20:10:25.722Z","dependency_job_id":null,"html_url":"https://github.com/trizen/straw-viewer","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Fstraw-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Fstraw-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Fstraw-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Fstraw-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trizen","download_url":"https://codeload.github.com/trizen/straw-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235569498,"owners_count":19011184,"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":["invidious","perl"],"created_at":"2024-08-15T16:01:44.707Z","updated_at":"2025-10-07T01:30:31.839Z","avatar_url":"https://github.com/trizen.png","language":"Perl","funding_links":[],"categories":["Perl"],"sub_categories":[],"readme":"## ** Deprecated in favor of: [pipe-viewer](https://github.com/trizen/pipe-viewer). ([info](https://github.com/trizen/pipe-viewer/commit/17fb2136f3f3d8ee6dacac05beabcc15082f699d))\n\n## straw-viewer\n\nA lightweight application (fork of [youtube-viewer](https://github.com/trizen/youtube-viewer)) for searching and playing videos from YouTube, using the [API](https://github.com/iv-org/documentation/blob/master/API.md) of [invidio.us](https://invidio.us/).\n\n### straw-viewer\n\n* command-line interface to YouTube.\n\n![straw-viewer](https://user-images.githubusercontent.com/614513/97738550-6d0faf00-1ad6-11eb-84ec-d37f28073d9d.png)\n\n### gtk-straw-viewer\n\n* GTK+ interface to YouTube.\n\n![gtk-straw-viewer](https://user-images.githubusercontent.com/614513/84770876-11d69780-afe1-11ea-96f7-5d426dc865e5.png)\n\n\n### STATUS\n\nThe project is in its early stages of development and some features are not implemented yet.\n\n\n### AVAILABILITY\n\n* Arch Linux (AUR): https://aur.archlinux.org/packages/straw-viewer-git/\n\n* openSUSE: https://build.opensuse.org/package/show/home:Aptrug/straw-viewer\n\n* Slackware: https://slackbuilds.org/repository/14.2/multimedia/straw-viewer/\n\n\n### VIDEO REVIEWS\n\n* [EN] Pipe-Viewer and Straw-Viewer -- Search Youtube via Terminal - Linux CLI\n    * https://www.youtube.com/watch?v=I4tfHUmklWo\n\n### TRY\n\nFor trying the latest commit of `straw-viewer`, without installing it, execute the following commands:\n\n```console\n    cd /tmp\n    wget https://github.com/trizen/straw-viewer/archive/master.zip -O straw-viewer-master.zip\n    unzip -n straw-viewer-master.zip\n    cd straw-viewer-master/bin\n    ./straw-viewer\n```\n\n### INSTALLATION\n\nTo install `straw-viewer`, run:\n\n```console\n    perl Build.PL\n    sudo ./Build installdeps\n    sudo ./Build install\n```\n\nTo install `gtk-straw-viewer` along with `straw-viewer`, run:\n\n```console\n    perl Build.PL --gtk\n    sudo ./Build installdeps\n    sudo ./Build install\n```\n\n### DEPENDENCIES\n\n#### For straw-viewer:\n\n* [libwww-perl](https://metacpan.org/release/libwww-perl)\n* [LWP::Protocol::https](https://metacpan.org/release/LWP-Protocol-https)\n* [Data::Dump](https://metacpan.org/release/Data-Dump)\n* [JSON](https://metacpan.org/release/JSON)\n\n#### For gtk-straw-viewer:\n\n* [Gtk3](https://metacpan.org/release/Gtk3)\n* [File::ShareDir](https://metacpan.org/release/File-ShareDir)\n* \\+ the dependencies required by straw-viewer.\n\n#### Build dependencies:\n\n* [Module::Build](https://metacpan.org/pod/Module::Build)\n\n#### Optional dependencies:\n\n* Local cache support: [LWP::UserAgent::Cached](https://metacpan.org/release/LWP-UserAgent-Cached)\n* Better STDIN support (+ history): [Term::ReadLine::Gnu](https://metacpan.org/release/Term-ReadLine-Gnu)\n* Faster JSON deserialization: [JSON::XS](https://metacpan.org/release/JSON-XS)\n* Fixed-width formatting (--fixed-width, -W): [Unicode::LineBreak](https://metacpan.org/release/Unicode-LineBreak) or [Text::CharWidth](https://metacpan.org/release/Text-CharWidth)\n\n\n### PACKAGING\n\nTo package this application, run the following commands:\n\n```console\n    perl Build.PL --destdir \"/my/package/path\" --installdirs vendor [--gtk]\n    ./Build test\n    ./Build install --install_path script=/usr/bin\n```\n\n### INVIDIOUS INSTANCES\n\nSometimes, the default instance, [invidious.snopyta.org](https://invidious.snopyta.org/), may fail to work properly. When this happens, we can change the API host to some other instance of invidious, such as [invidious.tube](https://invidious.tube/):\n\n```console\n    straw-viewer --api=invidious.tube\n```\n\nTo make the change permanent, set in the configuration file:\n\n```perl\n    api_host =\u003e \"invidious.tube\",\n```\n\nAlternatively, the following will automatically pick a random invidious instance everytime the program is started:\n\n```perl\n    api_host =\u003e \"auto\",\n```\n\nThe available instances are listed at: https://api.invidious.io/\n\n### PIPE-VIEWER\n\n[pipe-viewer](https://github.com/trizen/pipe-viewer) is an experimental fork of `straw-viewer` with the goal of parsing the YouTube website directly, and thus it may be a faster and more reliable alternative.\n\n### SUPPORT AND DOCUMENTATION\n\nAfter installing, you can find documentation with the following commands:\n\n    man straw-viewer\n    perldoc WWW::StrawViewer\n\n### LICENSE AND COPYRIGHT\n\nCopyright (C) 2012-2021 Trizen\n\nThis program is free software; you can redistribute it and/or modify it\nunder the terms of either: the GNU General Public License as published\nby the Free Software Foundation; or the Artistic License.\n\nSee http://dev.perl.org/licenses/ for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrizen%2Fstraw-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrizen%2Fstraw-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrizen%2Fstraw-viewer/lists"}