# CLI Tube
-Play videos from YouTube (and maybe other sources in the future) from the
+Play videos from YouTube and PeerTube from the
command line using your preferred desktop media player.
This application is implemented in [Nim language](https://nim-lang.org) using
- [x] Search for videos using keywords
- [x] Stream videos
- [x] Stream music
-- [ ] Download videos
+- [ ] Download video
+- [ ] Download music
- [ ] Configuration options
- - [ ] Choice of video players
- - [ ] Show video URLs or not
- - [ ] Play audio only
-- [ ] Pagination of search results
+- [ ] Play magnet links
## Installation
# If your search query has multiple words, use quotes
clitube 'nim lang'
+
+# Advanced: Play audio of the first search result
+clitube -m -l "counting stars"
```
### Commandline arguments
-|----------------|---------------------------|
-| ***Arguments** | **Explanation** |
-|----------------|---------------------------|
-| -m, --music | Play Music only, no video |
-|----------------|---------------------------|
+| **Arguments** | **Explanation** |
+|---------------|--------------------------------------------|
+| -m, --music | Play Music only, no video |
+| -l, --lucky | Try your luck with the first search result |
## Development