Skip to content

A basic Discord bot that checks for games that are 100% off on GOG and Steam, then sends a notification to Discord

Notifications You must be signed in to change notification settings

Supraboy981322/free-games-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

free-games-checker

Warning

There have been breaking changes since the install script was written, it may not function as intended

A Basic Discord bot for games that are 100% off on GOG and Steam

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).


Installation:

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:

    • jq
    • tar
    • bzip2
    • bash
  • run the install script: curl:

    curl https://raw.githubusercontent.com/Supraboy981322/free-games-checker/main/setup.sh | bash

    or, 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-checker at your desired time

    For example, if your install is located in /home/user/foo/free-games-checker and you want to run it daily at noon:

    00 12 * * * /home/user/foo/./free-games-checker

About

A basic Discord bot that checks for games that are 100% off on GOG and Steam, then sends a notification to Discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published