summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-12-22 00:13:29 +0000
committerMatthew Fennell <matthew@fennell.dev>2025-12-23 15:41:50 +0000
commit225af43fd23c9b85cbbc8c83fce2e248ea13a7c2 (patch)
tree7d0011696bc12b445a2fdfb31531dd0e019dee04 /Makefile
Initial commit
Add LordGnome, a bot which syndicates new issues of Private Eye as well as new releases of Page 94 to a specified Lemmy community. The bot is designed to be run in a cronjob. It takes a config file, in which you can provide login/community/instance details. It then checks the Private Eye website, as well as the Page 94 RSS feed, for the latest releases. It compares these to whatever was last posted. If the latest release is newer than the latest post, it will create a new post linking to that release. In order to prevent the bot from posting the latest (and potentially outdated) magazine issue and podcast straight away on the first run, you can also provide a last posted issue. This gets used as a fallback if the bot cannot find any previous posts.
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100755
index 0000000..211930f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,3 @@
+install: syndicate.sh prod.conf
+ cp syndicate.sh prod.conf /opt/lord-gnome
+ touch install