A lightweight application (fork of straw-viewer) for searching and playing videos from YouTube.
This fork parses the YouTube website directly and relies on the invidious instances only as a fallback method.
- command-line interface to YouTube.
- GTK+ interface to YouTube.
The project is in its early stages of development and some features are not implemented yet.
- Arch Linux (AUR): https://aur.archlinux.org/packages/pipe-viewer-git/
- Void Linux:
sudo xbps-install pipe-viewer
- [EN] Pipe-Viewer and Straw-Viewer -- Search Youtube via Terminal - Linux CLI
For trying the latest commit of pipe-viewer, without installing it, execute the following commands:
cd /tmp
wget https://github.com/trizen/pipe-viewer/archive/main.zip -O pipe-viewer-main.zip
unzip -n pipe-viewer-main.zip
cd pipe-viewer-main/bin
./pipe-viewerTo install pipe-viewer, run:
perl Build.PL
sudo ./Build installdeps
sudo ./Build installTo install gtk-pipe-viewer along with pipe-viewer, run:
perl Build.PL --gtk
sudo ./Build installdeps
sudo ./Build install- Gtk3
- File::ShareDir
- + the dependencies required by pipe-viewer.
- Local cache support: LWP::UserAgent::Cached
- Better STDIN support (+history): Term::ReadLine::Gnu
- Faster JSON deserialization: JSON::XS
- Fixed-width formatting: Unicode::LineBreak or Text::CharWidth
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/binTo use a specific invidious instance, like invidious.snopyta.org, we have (see also the --invidious option):
pipe-viewer --api=invidious.snopyta.orgTo make the change permanent, set in the configuration file:
api_host => "invidious.snopyta.org",By default, pipe-viewer picks a random invidious instance from api.invidious.io on-demand.
After installing, you can find documentation with the following commands:
man pipe-viewer
perldoc WWW::PipeViewer
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.

