3 Play videos from YouTube and PeerTube from the
4 command line using your preferred desktop media player.
6 This application is implemented in [Nim language](https://nim-lang.org) using
7 only the standard library.
9 ![clitube screenshot with search term 'baby yoda'](screenshot.png)
13 - [x] Search for videos using keywords
18 - [ ] Configuration options
19 - [ ] Play magnet links
23 Download the latest build from GitlabCI (amd64 GNU/Linux only).
26 wget https://gitlab.com/njoseph/cli-tube/-/jobs/artifacts/master/download?job=compile -O artifacts.zip
31 For other platforms, create a release artifact using the following command:
34 nim c -d:ssl -d:release clitube.nim
37 Copy the binary to a directory on your PATH such as `/usr/local/bin`
44 # If your search query has multiple words, use quotes
47 # Advanced: Play audio of the first search result
48 clitube -m -l "counting stars"
51 ### Commandline arguments
53 | **Arguments** | **Explanation** |
54 |---------------|--------------------------------------------|
55 | -m, --music | Play Music only, no video |
56 | -l, --lucky | Try your luck with the first search result |
60 One-liner for compiling and running
63 nim c -d:ssl -r clitube.nim 'nim lang'