scripts for my gemini capsule
add more links to more services
Zach DeCook 2021-10-22
parent a8308bd · commit c612ee3
-rwxr-xr-xindex.gmi1
-rw-r--r--makeplan.sh6
2 files changed, 6 insertions, 1 deletions
diff --git a/index.gmi b/index.gmi
index 3680b91..47da477 100755
--- a/index.gmi
+++ b/index.gmi
@@ -12,6 +12,7 @@ printf '20 text/gemini \r\n
## misc
=> /cgi-bin/ccel.sh ccel.org frontend
=> /cgi-bin/gcc.sh gccsatx.com/hymns frontend (with mp3s!)
+=> /cgi-bin/oebindex.sh Index for Open English Bible current completed books
# source code for all this
=> https://git.sr.ht/~earboxer/cgi-bin
diff --git a/makeplan.sh b/makeplan.sh
index fe57b3e..37a06be 100644
--- a/makeplan.sh
+++ b/makeplan.sh
@@ -7,6 +7,10 @@ nt="$(grep "^$day" "$1" | cut -f3)"
ps="$(grep "^$day" "$1" | cut -f4)"
pr="$(grep "^$day" "$1" | cut -f5)"
+if [ -e /srv/gemini.zachdecook.com/oyb/$day.mp3 ]; then
+ echo "=> /oyb/$day.mp3 Listen to today's reading!"
+fi
+
echo "# Old Testament Reading"
gmni "gemini://gemini.zachdecook.com/cgi-bin/webp.py?$ot"
@@ -17,5 +21,5 @@ echo "# Psalm"
gmni "gemini://gemini.zachdecook.com/cgi-bin/oeb.py?$ps"
echo "# Proverb"
-gmni "gemini://gemini.zachdecook.com/cgi-bin/net.sh?$pr"
+gmni "gemini://gemini.zachdecook.com/cgi-bin/lsv.py?$pr"