From 897be129ae515e0f6a8affde9fb993cc6c0d4799 Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Mon, 9 Jun 2025 14:53:51 -0500 Subject: [PATCH] Add Quips --- Quips.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Quips.md diff --git a/Quips.md b/Quips.md new file mode 100644 index 0000000..1c57263 --- /dev/null +++ b/Quips.md @@ -0,0 +1,16 @@ +# The Quips Bot + +This piece of code simply reads a text file with a list of sayings (one on each line), chooses a random line, and posts to an AcitivityPub account. +It will also post output to a pushover account if configured. + +The variables this code expects are: +``` +- QUIP_FILE # URL to your text file; it expects an https endpoint +- QUIP_TOKEN # Access token to your ActivityPub account +- QUIP_TAGS # Additional tags you want posted; the code posts with a "#Bot" tag regardless of this value +- BOTS_ENDPOINT # The URL of your ActivityPub instances (e.g. mastodon.social) +- PUSHOVER_USER_TOKEN # Optional +- PUSHOVER_APP_TOKEN # Optional +``` + +Currently, I use this code to post to the [White Nonsense Bot](https://bots.fyrfli.social/@dayswithoutwhitenonsense) account \ No newline at end of file