Commit Graph

41 Commits (0130d63551e42ffd88c8bedb2f474454ec85fd1e)
 

Author SHA1 Message Date
lub 0130d63551 use hardcoded cache size instead of len(blog)
It seems the blog posts are not rotated strictly chronologically,
so sometimes previously already posted things got posted again.
taire 00b6811a20 typo in comment
lub 11e4c753ce clarify admin room sharing in readme
lub 5b7f095470 add diablo bot to readme
lub f88f17bb65 use unbuffered output
this prints stdout directly instead of buffering it. otherwise docker logs is useless because its not realtime
lub 7990d787fc refactor category and image into own functions
lub fed4b15d08 fix scraping
lub cd194b344d fix example env vars in Dockerfile
lub 7b99ba0d2b update readme
lub 309e4b5dbf update public instances in readme
lub 9daf4c851f fix event_type parameter
lub 54a0261cae add some debug output
lub 6e9823df5e add sync timeout
this prevents us spamming the server with sync requests
lub 63e878ae7d randomize scraping interval
lub 586dcf15de refactor main() into single category bot
lub 09b86f2951 add some buffer to our cache
lub 5b37157a49 reverse order in which scraped posts are returned
lub 35edcac481 use markup for matrix room link
lub 03928a2e0f add public instances to readme
lub dcf5c99b73 add readme
lub 0511d44436 simplify requirements.txt
lub 524211fe5a run docker container as nobody:nogroup
lub 2766de71eb optimize Dockerfile caching
lub 8dbaab9473 reduce sync timeout
lub d21cc6cc40 switch from :alpine to :latest
with :alpine some of our dependencies didn't build
lub 317ce719b5 add initial Dockerfile
lub 3e824fa92a add missing requirements
lub 39dedbdc8e filter out double colon
because of call of duty: modern warfare
                       ^
lub 13f48f9d8c dont spam the admin room with all updates
lub 90458f255e cleanup some vars
lub 0bcddaa5dc longer timeouts
lub 57e62ea871 add url cache
lub fd27695db1 add format to fallback message
lub 13efe0e0ac fix <h5> <a> ordering
lub 8d144e83a3 remove url from get_formatted_body
lub 83787bd31b start spamming messages
lub c84d401e07 auto accept invites
lub 7f031eef09 make description in body optional
lub 9c53eab12f add intial config
lub bd8af62765 add initial scraping and message concat
lub 180a5d2d12 add gitignore