You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
grumbulon 1b034ce21c Added timing basics 3 years ago
.env Added basic stuff like db init and flags for other commands. 3 years ago
.gitignore Added images and built binary to gitignore 3 years ago
README.md Added to readme 3 years ago
db.go Added timing basics 3 years ago
downloader.go Wrote image downloader function 3 years ago
flags.go Added db funcs including init, and insert of 5 newest posts 3 years ago
go.mod Fixed issue 3 years ago
go.sum Fixed issue 3 years ago
main.go Added timing basics 3 years ago
timer.go Added timing basics 3 years ago

README.md

Reddit Bot

Bot that reads a subreddit defined in the .env and gets the top 5 posts. It then downloads the images and posts them to pleroma.

todo

  • Download images
  • Calculate time between last post and next check (10 mins or something)
  • Post to pleroma