💾 Archived View for tilde.club › ~filip › tech › script › gemini_guestbook › gemini_guestbook.gmi captured on 2022-07-16 at 14:03:26. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
A bash script to run a simple Gemini guestbook.
Set the SCRIPT's variables (GUESTBOOK_PATH, GUESTBOOK_URL, GUESTBOOK_MESSAGES_START_LINE, and MAX_MESSAGES), add a link to it in the GUESTBOOK, and enable GUESTBOOK writing permission.
The script (`guestbook`) and the guestbook (`guestbook.gmi`) are placed in the same directory.
Script variables:
GUESTBOOK_PATH="guestbook.gmi" GUESTBOOK_URL="gemini://tilde.club/~filip/tech/script/gemini_guestbook/guestbook.gmi" GUESTBOOK_MESSAGES_START_LINE=7 MAX_MESSAGES=100
Guestbook heading:
# Guestbook =>guestbook Leave a message # Messages