A CLIent for PeerTube instances
Find a file
2021-11-07 15:44:30 +01:00
doc Tring to bugfix 2021-11-03 16:26:45 +01:00
.ptclirc Tring to bugfix 2021-11-03 16:26:45 +01:00
LICENSE License the software under the GPL 2021-11-02 16:07:33 +01:00
peertube-cli.pl Remove warnings 2021-11-07 15:44:30 +01:00
README.md new todo 2021-11-02 14:16:33 +01:00

peertube-cli

A CLI client for peertube

Why?

JavaScript sucks and i'm not willing to enable it.

How?

./peertube-cli <search query>

If search query is not given, peertube-cli will prompt an interactive search.

TODO

  • Config file [X]
  • let user select video player (through config file) [X]
  • getopt for instance, and maybe video player :^) [X]
  • Directly pass an URL to play the video (Get UUID from url and call get_video_data()

Options

  • --instance instance to use. $config{instance} in .ptclirc.
  • --resolution resolution to use. 0 should be the highest while n is the lowlest $config{resolution} in .ptclirc.
  • --player player to use (e.g. mpv, vlc...). $config{player} in .ptclirc.

Tricks

Download a video: set "wget" as as player.

Bugs

Sure.