Warning:

Changes made in this commit

Installation

Requirements: Git, Cargo and the Rust Compiler

Executable size: ~12.5MB

```bash

Install from crates.io (might not be as up-to-date as the one on GitHub)

cargo install youtube-tui ```

```bash

Install from GitHub with cargo install (The binary will be placed in ~/.cargo/bin, and can be called with youtube-tui)

git clone https://github.com/siriusmart/youtube-tui && cd youtube-tui && cargo install --path . && cd .. && rm -rf youtube-tui ```

Features

Movement

Layout

Storage

Config files

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

Bugs