diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-01-02 14:35:37 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-01-02 16:21:05 +0200 |
| commit | 25cf78720efb544c0c2516d1a4137035878b6a2e (patch) | |
| tree | b81d32d9a14e95d6b1b35e0ac61d16c9b996aae7 /update-linklog-json.sh | |
| parent | 9ee2b0f19c4f50c10c18a0cc416d4981ed786af1 (diff) | |
Add linklog
Diffstat (limited to 'update-linklog-json.sh')
| -rwxr-xr-x | update-linklog-json.sh | 3 |
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 |
