Discord Free Games Notifier
[Hobby]A Discord bot that notifies servers when free games are offered on Epic Games and Steam.
Status:
Technologies:
Stats from GitHub:
67
Stars
18
Forks
3
Watchers
4
Open Issues
Stats from DockerHub:
0
Stars
256
Pulls
Around 2021, HumbleBundle was giving out free games once in a while to redeem them on Steam. I redeemed some of them but missed most of them too. At that time, every day I found a free game on the HumbleBundle I would manually send a message to my friends on Discord about it so we could all get it. But it quickly became a pain to do so.
So what better project than to make my own bot for notifying about free games? It even fits the topic of Discord which is primarily targeted to gamers. So I did.
Only problem, HumbleBundle had stopped offering free games, bummer...
Luckily, Epic Games entered the field with their generous free game offers, and Steam which sometimes has some of these offers too.
This was the first time I ever got into scraping. At first, I used puppeteer which seems to be the classic mistake of every scraping noob out there. There's nothing inherently wrong with this tool, it's mostly related to the fact that it runs a headless version of Chrome, which means RIP memory.
I later learned that you could scrape sites just as easily but more efficiently by requesting the HTML document directly with an HTTP client, parse it, and consume it as normal, all without a headless browser process.
For the latest update to this bot, I actually decided to separate the logic of scraping to another service which would do all the scraping and publish it to a Redis PubSub topic.
It works very well now, and I'm able to offload the scraping logic to another server if ever necessary.
Christian (moonstar-x)
Hi there, my name is Christian, also known as moonstar-x online. I enjoy working on a variety of diverse projects, from implementing artistic ideas, contributing in some way to scientific research, or creating simple applications that people can use. I hope you enjoy reading about these projects as much as I enjoy building them!
Quito, Ecuador