Commit a6f98fcade

a6f98fcadec735d3fbba85668683f10ed6006a33

parent: ad8882375e

Unregistered key

Vilian Gerdzhikov <vgfractal@gmail.com> · 2022-09-09 08:03 UTC
committer: <noreply@github.com>

Even more grammar corrections

Layout: unified · split

README.md +22 −34
@@ -4,15 +4,13 @@
4[![](https://img.shields.io/crates/v/youtube-tui?label=crates.io%20version)](https://crates.io/crates/youtube-tui) 4[![](https://img.shields.io/crates/v/youtube-tui?label=crates.io%20version)](https://crates.io/crates/youtube-tui)
5![](https://shields.io/github/stars/siriusmart/youtube-tui?style=social) 5![](https://shields.io/github/stars/siriusmart/youtube-tui?style=social)
6 6
7# YouTube TUI 7# YouTube# TUI
8 8
9An aesthetically pleasing pleasing YouTube TUI written in Rust. 9An aesthetically pleasing YouTube TUI written in Rust.
10 10
11## Overview 11## Overview
12YouTube TUI is a text user interface that provides a clean TUI for browsing YouTube. It can perform YouTube query searches, view and inspect channels, and play the desired content as a regular video or audio-only stream for saving bandwidth.
12 13
13YouTube TUI is a text user interface that provides a clean UI for browsing YouTube content. It can perform searches and view channels in the terminal, play videos and playlists with external programs like MPV. Rust is used in writing this program for its better performance and ease of maintaining.
14
15This program is being actively developed and there will be new features coming up every commit.
16 14
17![Screenshot](https://cdn.discordapp.com/attachments/906941311142219816/990684947830419526/Screenshot_20220626_192433.png) 15![Screenshot](https://cdn.discordapp.com/attachments/906941311142219816/990684947830419526/Screenshot_20220626_192433.png)
18 16
@@ -44,7 +42,7 @@ So I fixed that one single typo and continued with stuff
44 42
45## Installation 43## Installation
46 44
47### Install from the AUR 45###Install from the AUR
48 46
49```bash 47```bash
50yay -S youtube-tui-git # Or any other AUR helper 48yay -S youtube-tui-git # Or any other AUR helper
@@ -55,37 +53,27 @@ yay -S youtube-tui-git # Or any other AUR helper
55```bash 53```bash
56cargo install youtube-tui 54cargo install youtube-tui
57``` 55```
58### Clone from GitHub and build
59 56
57### Clone from GitHub and build
60```bash 58```bash
61git clone https://github.com/sirusmart/youtube-tui && cd youtube-tui && cargo build --release 59git clone https://github.com/sirusmart/youtube-tui && cd youtube-tui && cargo build --release
62``` 60```
61Once build, the compiled binary will be located at `./target/release/youtube-tui`. The program is not in your path yet, so you'll have to manually move to to a place from which you would be able to execute it. A common way to do so is to copy the binary executable to `/usr/local/bin/youtube-tui`.
63 62
64The binary is located at `./target/release/youtube-tui`, go move it to other locations so that you can launch the program with `youtube-tui` command. 63### Dependencies
65 64This program does not require any dependencies, but it is strongly recommended that there are at least three things present in your system's path as executable commands:
66> ### Dependencies
67>
68> This program does not requires any dependencies, but it is suggested these three things on your system that can be launched via command:
69>
70> 1. A video player (Defaults to `mpv`)
71> 2. A terminal emulator (Defaults to `konsole`)
72> 3. A YouTube downloader (Defaults to `yt-dlp`, strongly suggest NOT to use `youtube-dl` because it is now very slow)
73>
74> None of these dependencies are required as you can change them in config (in `commands.yml`)
75
76## Usage
77 65
78### To launch 66* A video player (Defaults to `MPV`)
67* A terminal emulator (Defaults to `konsole`)
68* A YouTube downloader (Defaults to `yt-dlp`, it is recommended that you do not use `yt-dl`, as the download speeds are ludicrously slow)
79 69
80```bash 70> None of these dependencies is required, and you can change the defaults in the config file `commands.yml`
81youtube-tui # or path to the binary
82```
83 71
84### Movement 72### Movement
85 73
86|Key|What does it do| 74|Key|What does it do|
87|---|---| 75|---|---|
88|Arrow/Vim keys|Move in corresponding direction| 76|Arrow/Vim keys|Move in the corresponding direction|
89|Enter|Select/Launch| 77|Enter|Select/Launch|
90|Q|Quit the program| 78|Q|Quit the program|
91 79
@@ -97,22 +85,22 @@ Check the user manual [here](https://siriusmart.github.io/youtube-tui)
97 85
98### Config 86### Config
99 87
100All config files are loacted at `~/.config/youtube-tui/`, will write documentations for that later 88All config files are located at `~/.config/youtube-tui/`, will write documentation for that later
101 89
102## Known issues 90## Known issues
103 91
104### Missing hash key: "selected" 92### Missing hash key: "selected"
105 93
106When viewing the playlists page in a channel, it gives you `Missing hash key: "selected"`. This is because Invidious was not able to fetch the requested playlists. 94When viewing the playlists page in a channel, it gives you a `Missing hash key: "selected"`. This is because Invidious was not able to fetch the requested playlists.
107 95
108You should also see an error when visiting [this URL](https://vid.puffyan.us/api/v1/channels/UCAkuTH35kk3W1EL9vq6dj6A/playlists) 96You should also see an error when visiting [this URL](https://vid.puffyan.us/api/v1/channels/UCAkuTH35kk3W1EL9vq6dj6A/playlists)
109 97
110Here's the [opened issue](https://github.com/iv-org/invidious/issues/3154) 98Here's the [opened issue](https://github.com/iv-org/invidious/issues/3154)
111 99
112## Todo (First piority on top) 100## Todo (Priority on top)
113 101
114* Go directly to a page by URL 102* Go directly to a page by URL
115* Vim-like commands in status bar 103* Vim-like commands in the status bar
116* Save as local playlist/video 104* Save as local playlist/video
117* Command line launch options 105* Command line launch options
118* Channel search and channel video sort 106* Channel search and channel video sort
@@ -120,15 +108,15 @@ Here's the [opened issue](https://github.com/iv-org/invidious/issues/3154)
120 108
121## Help needed 109## Help needed
122 110
123Guys please I need help I'm kinda bad at coding tbh, these are stuff that I need help with 111Guys please I need help I'm kinda bad at coding tbh, so these are stuff that I need help with
124 112
125* Publishing to the AUR 113* Publishing to the AUR
126* Printing full resolution images to the terminal with Sixels 114* Printing full resolution images to the terminal with Sixel
127 115
128## Credits 116## Credits
129 117
130* [ytfzf](https://github.com/pystardust/ytfzf) by [pystardust](https://github.com/pystardust) - The TUI I used to watch YouTube, gave me an idea how this program is going to work 118* [ytfzf](https://github.com/pystardust/ytfzf) by [pystardust](https://github.com/pystardust) - The TUI I used to watch on YouTube, gave me an idea of how this program is going to work
131* [Terminal Typeracer](https://gitlab.com/ttyperacer/terminal-typeracer) by [Darrien Glasser](https://gitlab.com/DarrienG) - A very clean looking TUI for typing speed test, gave me idea on how this program should look like 119* [Terminal Typeracer](https://gitlab.com/ttyperacer/terminal-typeracer) by [Darrien Glasser](https://gitlab.com/DarrienG) - A very clean-looking TUI for typing speed test, gave me an idea of how this program should look like
132* [Invidious](https://invidious.io) - For having a nice API for doing YouTube searches and stuff. (I made a wrapper for the API you can check it [here](https://crates.io/crates/invidious) out if you want to) 120* [Invidious](https://invidious.io) - For having a nice API for doing YouTube searches and stuff. (I made a wrapper for the API you can check it [here](https://crates.io/crates/invidious) out if you want to)
133 121
134 122
@@ -136,4 +124,4 @@ Guys please I need help I'm kinda bad at coding tbh, these are stuff that I need
136 124
137## Anything Missing? 125## Anything Missing?
138 126
139If there is a bug or you got a nice idea on what can be added to this program, feel free to open a GitHub issue. Thx :D 127If there is a bug or you got a nice idea of what can be added to this program, feel free to open a GitHub issue. Thx :D