summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/update.sh b/update.sh
new file mode 100755
index 0000000..553428d
--- /dev/null
+++ b/update.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo Generating index
+printf "# l-3.space: all\n\nAll content\n" > index-all.gmi
+for f in log*gmi; do
+ printf '=> %s %s\n' $f "$(grep '^# ' $f | head -n1 | cut -d\ -f2-)";
+done | sort -r >> index-all.gmi
+
+gemfeed.py -b gemini://l-3.space -e 'hello@l-3.space' -t l-3.space -a tslil