]> njoseph.me Git - nimcoon.git/blobdiff - README.md
Implement video search
[nimcoon.git] / README.md
index de431e355c077d732c3959250a14731b077a684a..1d1ed04a2da155a3dde8283332d46fce65d169c3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,36 @@
 # CLI Tube
-Play videos from YouTube from the command line.
 
-This application is currently implemented in Nim language.
+Play videos from YouTube (and maybe other sources in the future) from the
+command line using your preferred desktop media player.
+
+This application is implemented in [Nim language](https://nim-lang.org).
+
+## Features
+
+- [x] Search for videos using keywords
+- [ ] Download or watch videos
+- [ ] Configuration options
+
+## Usage
+
+### As a script
+
+You must have nim installed locally for this to work.
+
+```sh
+nim c -d:ssl -r cli_tube.nim emacs
+
+# If your search query has multiple words, use quotes
+nim c -d:ssl -r cli_tube.nim 'nim lang'
+```
+
+### Using the binary
+
+Please use the binary in the repository for now.
+Will setup GitLab CI to publish proper binaries later.
+
+```sh
+./cli_tube emacs
+
+./cli_tube 'nim lang'
+```