From a44b5ee3dc703d31b43d75a2a4f83bafd47633dc Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Sun, 11 Feb 2024 20:43:23 +0100 Subject: auto populate all-index --- update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 update.sh (limited to 'update.sh') 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 -- cgit v1.3.1