Skip to content

azhuge233/GOGGiveawayNotifier

Repository files navigation

GOGGiveawayNotifier

A CLI tool

  • Fetches GOG giveaway and free game news
  • Sends free game notifications to Telegram, Bark, Email, QQ, PushPlus, DingTalk, PushDeer and Discord.
  • Auto claim GOG giveaway by carrying given cookies and sending GET request to https://www.gog.com/giveaway/claim
    • Different than regular free games, giveways have their own special banners in GOG home page.

Demo Telegram Channel @azhuge233_FreeGames

Build

Install dotnet 9.0 SDK first, you can find installation packages/guides here.

Follow commands will publish project as a executable file.

git clone https://github.com/azhuge233/GOGGiveawayNotifier.git
cd GOGGiveawayNotifier
dotnet publish -c Release -p:PublishDir=/your/path/here -r [win-x64/osx-x64/linux-x64/...] --sc

Usage

Set your telegram bot token and chat ID in config.json first.

Check wiki for more explanations.

Repeatedly running

The program will not add while/for loop, it's a scraper. To schedule the program, use cron.d in Linux(macOS) or Task Scheduler in Windows.

My Free Games Collection