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 ![nimcoon screenshot with search term 'baby yoda'](screenshot.png)
13 - [x] Search for videos using keywords
16 - [x] Play direct links from YouTube and PeerTube
17 - [x] Stream video from magnet links
20 - [ ] Configuration options
24 Nim Coon depends on the following:
26 - mpv (recommended) or vlc
27 - peerflix (for magnet links)
29 Download the latest build from GitlabCI (amd64 GNU/Linux only).
32 wget https://gitlab.com/njoseph/nimcoon/-/jobs/artifacts/master/download?job=compile -O artifacts.zip
37 For other platforms, create a release artifact using the following command:
40 nim c -d:ssl -d:release nimcoon.nim
43 Copy the binary to a directory on your PATH such as `/usr/local/bin`
50 # If your search query has multiple words, use quotes
53 # Advanced: Play audio of the first search result
54 nimcoon -m -l "counting stars"
57 ### Commandline arguments
59 | **Arguments** | **Explanation** |
60 |-------------------|--------------------------------------------|
61 | -m, --music | Play Music only, no video |
62 | -l, --lucky | Try your luck with the first search result |
63 | -f, --full-screen | Play video in full screen |
64 | -d, --download | Download video or music |
68 One-liner for compiling and running
71 nim c -d:ssl -r nimcoon.nim 'nim lang'