aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-31 13:06:31 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-31 13:27:34 +0100
commit320cd3e524bb0f0a99b3b938b707f037ac76fef5 (patch)
treed221d9bae90984fb905179cead2520be79197986
parentb545944e71dc7914a2f5b48c1134342fee394493 (diff)
chore(docs): Add initial README
-rw-r--r--README31
1 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..6b12848
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+# -*- mode: org; org-html-head-include-default-style: nil; org-html-postamble: nil; -*-
+#+OPTIONS: toc:nil
+* Tau
+A front-end alternative for various streaming sites. It leverages the excellent [[https://github.com/TeamNewPipe/NewPipeExtractor][NewPipe Extractor]] library that powers the popular [[https://github.com/TeamNewPipe/NewPipe][NewPipe]] Android app. Tau exposes the extracted data over a REST API that is consumed by a local re-frame SPA.
+
+To run the application, first compile the downloader ahead-of-time.
+
+#+begin_src sh
+clojure -M -e "(compile 'tau.downloader-impl)"
+#+end_src
+
+Fetch the front-end dependencies and build the front-end assets.
+
+#+begin_src sh
+npm i
+npm run build
+#+end_src
+
+Then, compile the front-end.
+
+#+begin_src sh
+clojure -M:frontend compile tau
+#+end_src
+
+You can now start a local server that listens on port 3000 by running the following:
+
+#+begin_src sh
+clojure -M:run
+#+end_src
+
+Access the front-end in your browser at =https://localhost:3000=.