Requirements: Git, Cargo and the Rust Compiler
Executable size: ~12.5MB
```bash
cargo install youtube-tui ```
```bash
youtube-tui
)git clone https://github.com/siriusmart/youtube-tui && cd youtube-tui && cargo install --path . && cd .. && rm -rf youtube-tui ```
~/.cache/youtube-tui
, it is cleared when you quit the program~/.local/share/youtube-tui
~/.config/youtube-tui
The config files are located in ~/.config/youtube-tui
, run the program once to create the config files. The following are the default config files:
main.yml
```yaml
# The program's main config file
ytdl: # Donwload location for your downloaded videos videopath: ~/Downloads/%(title)s.%(ext)s audiopath: ~/Downloads/%(title)s.%(ext)s maxwatch_history: 50 # Maximum length of watch history ```
commands.yml
```yaml
# Command arguments to use when launching applications
videoplayer: command: mpv openinconsole: false args: - "--no-terminal" - "{url}" audioplayer: command: mpv openinconsole: true args: - "--no-video" - "{url}" imageviewer: command: mpv openinconsole: false args: - "{url}" - "--no-terminal" videodownloader: command: yt-dlp openinconsole: true args: - "{url}" - "-o" - "{videosavelocation}" audiodownloader: command: yt-dlp openinconsole: true args: - "{url}" - "-o" - "{audiosavelocation}" - "-x" terminal: command: konsole openinconsole: false args: - "-e" - "{command}" playlistaudioall: command: mpv openinconsole: true args: - "--no-video" - "{url}" playlistvideoall: command: mpv openinconsole: false args: - "{url}" - "--no-terminal" playlistshuffleaudioall: command: mpv openinconsole: true args: - "--no-video" - "{url}" - "--shuffle" downloadallaudio: command: yt-dlp openinconsole: true args: - "{url}" - "-o" - "{audiosavelocation}" - "-x" downloadallvideo: command: yt-dlp openinconsole: true args: - "{url}" - "-o" - "{videosavelocation}" ```
To Do