scripts for my gemini capsule
add more links to more services
| -rwxr-xr-x | index.gmi | 1 | ||||
| -rw-r--r-- | makeplan.sh | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -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" |