i’d suggest using the CI built into whatever git host you choose: commit a change and CI runs automatically and updates posts
less bot per se, but definitely easier than webhooks or scraping to sync
That would be the best, I’d need help with the bot side of things but I like it. :)
We could also then create a process to request a page / post type. But at some point we might as well just implement wikis on Lemmy
i’d suggest using the CI built into whatever git host you choose: commit a change and CI runs automatically and updates posts
less bot per se, but definitely easier than webhooks or scraping to sync
dandroid@dandroid.app 1 year ago
It’s more complicated than what you need, but you can look at my NHL game day thread bot if you need inspiration on how to make a bot that keeps a basic sqlite database of post IDs then after a sleep runs through a loop to update the posts in the database with new info.
It can already be run in docker. The repo even contains a script to build the docker container from source and run it and has a run configuration for it in pycharm. All you need to do is select the config and press the play button. Once running with docker, it will run forever until it receives the signal to shut down.
github.com/dandroid126/lemmy-nhl-gdt-bot