Warning
There have been breaking changes since the install script was written, it may not function as intended
A basic Discord bot that searches Steam and GOG (with more stores planned) for games that are 100% off.
This was originally written in Bash, but has been rewritten in Go.
Due to the fact that some stores, like Epic (which is planned), have measures in place to block bots, it might take a while to rewrite my original Bash scripts for scraping them in Go, as I need to research libraries I can use (and those stores aren't my highest priority at the moment).
For Itch, there is no filtering or sorting built-in to their search, so, originally, I used a headless browser with a userscript that injects filtering and sorting into the webpage, but I want to do this properly for my rewrite. So, any stores beyond what I have now (GOG and Steam) might take a while for me to get around to writting new scrapers.
I still have the original Bash scripts, but I am not open-sourcing them because they are super messy and very janky (there's also a LOT of dependencies, which I neglected to track, you'd have to find and install them manually).
Note
You'll need 3 Discord webhooks per store (currently just Steam and GOG, so 6) pepared to input into the setup script
-
The install script has the following dependencies:
jqtarbzip2bash
-
run the install script: curl:
curl https://raw.githubusercontent.com/Supraboy981322/free-games-checker/main/setup.sh | bashor, with wget
wget -qO - https://raw.githubusercontent.com/Supraboy981322/free-games-checker/main/setup.sh | bash -
Follow the instructions given by the script
-
Create a cronjob which runs
free-games-checkerat your desired timeFor example, if your install is located in
/home/user/foo/free-games-checkerand you want to run it daily at noon:00 12 * * * /home/user/foo/./free-games-checker
