A CLIent for PeerTube instances
Find a file
2025-02-09 18:40:52 +01:00
.ptclirc Add option and flag to pass flags to the video player 2021-11-17 16:59:45 +01:00
LICENSE Update LICENSE 2025-02-09 18:40:52 +01:00
peertube-cli Added (sort of) tab completion (could be better), if someone knows how to use perl's readline, i'll be glad to recieve patches. 2021-11-22 19:19:12 +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.