A lightweight YouTube client for Linux (fork of straw-viewer)

trizen 25c176b3f3 Util::normalize_filename(): replace multiple consecutive `/` with a single `%`. 9 hours ago
.github 2998126eb0 new file: .github/FUNDING.yml 1 year ago
bin 41ce846ee3 - Disable connection cache when `get_subscriptions_in_parallel` is set to `1`. 6 days ago
lib 25c176b3f3 Util::normalize_filename(): replace multiple consecutive `/` with a single `%`. 9 hours ago
share b28a270d8e modified: share/gtk-pipe-viewer.glade 3 weeks ago
t 353ee7b23e Added files. 2 years ago
utils 6fbad0f761 Code tidy. 2 months ago
.gitignore 1fb405f687 deleted: META.json 2 years ago
Build.PL 87ff36e92b - Added the `Parallel::ForkManager` optional dependency. 2 weeks ago
Changes d1d3bc2e29 Version 0.4.4 1 week ago
LICENSE 353ee7b23e Added files. 2 years ago
MANIFEST 6fbad0f761 Code tidy. 2 months ago
MANIFEST.SKIP 353ee7b23e Added files. 2 years ago
Makefile.PL 63eaf798bc - No longer require List::Util >= 1.45 (at it is out-of-date in older distributions of Perl). 3 months ago
README.md 87ff36e92b - Added the `Parallel::ForkManager` optional dependency. 2 weeks ago

README.md

pipe-viewer

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.

pipe-viewer

  • command-line interface to YouTube.

pipe-viewer

gtk-pipe-viewer

  • GTK+ interface to YouTube.

gtk-pipe-viewer

AVAILABILITY

  • Alpine Linux: doas apk add pipe-viewer
  • Arch Linux (AUR): https://aur.archlinux.org/packages/pipe-viewer-git/
  • Void Linux: sudo xbps-install pipe-viewer
  • Parabola GNU/Linux-libre: pacman -S pipe-viewer
  • Gentoo Linux (kske overlay): eselect repository enable kske && emerge -av net-misc/pipe-viewer
  • Guix: Pipe-Viewer can be deployed on any GNU/Linux distribution using Guix. To install in the user's default profile, do guix install pipe-viewer. To test without installing, do guix environment --pure --ad-hoc pipe-viewer mpv -- pipe-viewer.

REVIEWS

VIDEO REVIEWS

TRY

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-viewer

INSTALLATION

To install pipe-viewer, run:

    perl Build.PL
    sudo ./Build installdeps
    sudo ./Build install

To install gtk-pipe-viewer along with pipe-viewer, run:

    perl Build.PL --gtk
    sudo ./Build installdeps
    sudo ./Build install

DEPENDENCIES

For pipe-viewer:

For gtk-pipe-viewer:

Build dependencies:

Optional dependencies:

PACKAGING

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

INVIDIOUS INSTANCES

To use invidious instances, pass the --invidious option:

    pipe-viewer --invidious

or set in the configuration file (~/.config/pipe-viewer/pipe-viewer.conf):

    prefer_invidious => 1,

To use a specific invidious instance, like invidious.snopyta.org, pass the --api=HOST option:

    pipe-viewer --invidious --api=invidious.snopyta.org

To make the change permanent, set in the configuration file:

    api_host => "invidious.snopyta.org",

When api_host is set to "auto", pipe-viewer picks a random invidious instance from api.invidious.io.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation with the following commands:

man pipe-viewer
perldoc WWW::PipeViewer

LICENSE AND COPYRIGHT

Copyright (C) 2012-2022 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 https://dev.perl.org/licenses/ for more information.