summaryrefslogtreecommitdiffstats
path: root/update-linklog-json.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update-linklog-json.sh')
-rwxr-xr-xupdate-linklog-json.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/update-linklog-json.sh b/update-linklog-json.sh
new file mode 100755
index 0000000..b4261cb
--- /dev/null
+++ b/update-linklog-json.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+curl -v -H Accept:'application/json' -H "Authorization: Bearer $LNHT_TOKEN" https://api.ln.ht/v1/posts/recent -o linklog.json