Add gopher man support. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit e28d72e2ba50f4957d00d0e8bed37f779c93b293
DIR parent e32346f0f09b4a119f06856a3212d73bfee52207
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 26 Mar 2025 16:50:44 +0100
Add gopher man support.
Diffstat:
A gopherman-news | 15 +++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)
---
DIR diff --git a/gopherman-news b/gopherman-news
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+channel="irc.libera.chat/#gopherproject"
+#channel="#bitreich-meme"
+
+export PATH="$PATH:/home/annna/bin"
+
+gophermannews="$(gpt 'Please write a short phrase beginning with "Gopher Man does ..." like the Florida Man cases in a funny way using technical gopher protocol and inter punch lines. Only output the phrase."')"
+
+if [ -n "${gophermannews}" ];
+then
+ annna-say -c "${channel}" "NEWS: ${gophermannews}"
+fi
+
+