README.md
102 lines · 2370 bytes
1## Warning:
2* This app is incomplete and is missing many features
3* This app is only for *\*nix* systems
4
5## Changes made in this commit
6* Added search filters
7
8## Installation
9Requirements: Git, Cargo and the Rust Compiler
10
11```bash
12cargo install youtube-tui
13```
14
15## Features
16* View the Trending and Popular tab of YouTube
17* View your Watch history
18* Download videos and audio
19* Watch videos and audio
20
21## Movement
22* Use the arrow keys to move around the screen
23* Press enter to select an item
24* When item is selected all your keys will be passed into it
25* Press escape to exit the item
26* Press q to quit the program
27
28## Layout
29* Each divided area is one item
30* Red shows the item your currently on
31* Blue shows the selected item
32* Yellow shows an item in a special state
33
34## Storage
35* Cache is stored in `~/.cache/youtube-tui`, it is cleared when you quit the program
36* Storage is stored in `~/.local/share/youtube-tui`
37* Config files are stored in `~/.config/youtube-tui`
38
39## Config files
40The config files are located in `~/.config/youtube-tui`, run the program once to create the config files.
41
42> ### `main.yml`
43> ```yaml
44> # The program's main config file
45> ---
46> yt_dl: # Donwload location for your downloaded videos
47> video_path: ~/Downloads/%(title)s.%(ext)s
48> audio_path: ~/Downloads/%(title)s.%(ext)s
49> max_watch_history: 50 # Maximum length of watch history
50> ```
51
52> ### `commands.yml`
53> ```yaml
54> # Command arguments to use when launching applications
55> ---
56> video_player:
57> command: mpv
58> open_in_console: false
59> args:
60> - "--no-terminal"
61> - "{url}"
62> audio_player:
63> command: mpv
64> open_in_console: true
65> args:
66> - "--no-video"
67> - "{url}"
68> image_viewer:
69> command: mpv
70> open_in_console: false
71> args:
72> - "{url}"
73> - "--no-terminal"
74> video_downloader:
75> command: yt-dlp
76> open_in_console: true
77> args:
78> - "{url}"
79> - "-o"
80> - "{video_save_location}"
81> audio_downloader:
82> command: yt-dlp
83> open_in_console: true
84> args:
85> - "{url}"
86> - "-o"
87> - "{audio_save_location}"
88> - "-x"
89> terminal:
90> command: konsole
91> open_in_console: false
92> args:
93> - "-e"
94> - "{command}"
95>
96
97## To Do
98* Search
99* Adaptive config files (auto update when config files when there are new options in the config)
100
101## Bugs
102* If there is a bug please open a GitHub issue thx :)