**DEPRECATED** Use https://github.com/trizen/pipe-viewer instead.
A lightweight application (fork of youtube-viewer) for searching and playing videos from YouTube, using the API of invidio.us.
The project is in its early stages of development and some features are not implemented yet.
Arch Linux (AUR): https://aur.archlinux.org/packages/straw-viewer-git/
openSUSE: https://build.opensuse.org/package/show/home:Aptrug/straw-viewer
Slackware: https://slackbuilds.org/repository/14.2/multimedia/straw-viewer/
For trying the latest commit of straw-viewer
, without installing it, execute the following commands:
cd /tmp
wget https://github.com/trizen/straw-viewer/archive/master.zip -O straw-viewer-master.zip
unzip -n straw-viewer-master.zip
cd straw-viewer-master/bin
./straw-viewer
To install straw-viewer
, run:
perl Build.PL
sudo ./Build installdeps
sudo ./Build install
To install gtk-straw-viewer
along with straw-viewer
, run:
perl Build.PL --gtk
sudo ./Build installdeps
sudo ./Build install
To package this application, run the following commands:
perl Build.PL --destdir "/my/package/path" --installdirs vendor [--gtk]
./Build test
./Build install --install_path script=/usr/bin
Sometimes, the default instance, 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:
straw-viewer --api=invidious.tube
To make the change permanent, set in the configuration file:
api_host => "invidious.tube",
Alternatively, the following will automatically pick a random invidious instance everytime the program is started:
api_host => "auto",
The available instances are listed at: https://api.invidious.io/
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.
After installing, you can find documentation with the following commands:
man straw-viewer
perldoc WWW::StrawViewer
Copyright (C) 2012-2021 Trizen
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.