aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2021-05-19 21:39:09 +0200
committernea <romangraef@gmail.com>2021-05-19 21:39:09 +0200
commitc6bc10e37de9abf8559068e81c45a60bf7010a55 (patch)
tree90613d093da943592fcbdd0a69299b555ccb94ea
parent41cb26bcdb2a2764a09274bd358f0694c91fc9de (diff)
downloadcurr-c6bc10e37de9abf8559068e81c45a60bf7010a55.tar.gz
curr-c6bc10e37de9abf8559068e81c45a60bf7010a55.tar.bz2
curr-c6bc10e37de9abf8559068e81c45a60bf7010a55.zip
readme
-rw-r--r--.gitattributes3
-rw-r--r--README.md28
2 files changed, 31 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..d70cb22
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+
+*.kts linguist-language=Kotlin
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..86eb6ce
--- /dev/null
+++ b/README.md
@@ -0,0 +1,28 @@
+## Curr
+
+Currency converting CLI written in Kotlin.
+
+### Installation
+
+Install [kscript](https://github.com/holgerbrandl/kscript#installation) and run this
+
+```bash
+# Also run this again to update:
+sudo curl -L https://raw.githubusercontent.com/romangraef/curr/master/curr --output /usr/bin/curr && sudo chmod +x /usr/bin/curr
+```
+
+Get an account at [Currency API](https://currencyapi.net/) and place your API KEY into the `CURRENCY_API_KEY`, for example in `~/.profile`
+
+```bash
+export CURRENCY_API_KEY="xxxxxxxxxxxxxxxx"
+```
+
+#### Uninstall
+
+```bash
+sudo rm /usr/bin/curr
+```
+
+
+
+