Crates.io | rs-youtube |
lib.rs | rs-youtube |
version | 0.2.2 |
source | src |
created_at | 2021-04-24 13:06:43.512077 |
updated_at | 2021-04-30 16:22:25.14182 |
description | Command line youtube/twitch client that uses the web api so no login or API key is needed. |
homepage | |
repository | https://github.com/j0lol/rs-youtube |
max_upload_size | |
id | 388973 |
size | 73,640 |
Command line YouTube/Twitch client that uses the web api so no login or API key is needed.
mpv
and youtube-dl
, or another video player capable of loading videos from YouTube/Twitch links (e.g. celluloid
, even a web browser would work)Make sure your video player is installed and is accessible by typing its name via command line (Typing mpv
should print a help screen, for example)
Install using cargo
cargo install rs-youtube
Make sure your video player is installed and is accessible by typing its name via command line (Typing mpv
should print a help screen, for example)
Clone and run the project using cargo
git clone https://github.com/j0lol/rs-youtube
cd rs-youtube
cargo install --path .
rs-youtube(.exe)
This program will create a config file the first time it reads config (checking subscriptions or checking video player) in one of these directories:
/home/USER/.config/rs-youtube/config.toml
C:\Users\USER\AppData\Roaming\j0lol\rs-youtube\config\config.toml
/Users/USER/Library/Application Support/com.j0lol.rs-youtube/config.toml
If you would like to edit the config, refer to the config.toml.default
file.
The config file defaults to loading mpv, and will have 0 subscriptions. You can subscribe to a channel by searching for its channel page, then picking the "sub" option.
rs-youtube
has been thoroughly tested on linux, and somewhat tested on Windows and macOS