Skip to content

azhuge233/UbisoftGiveawayNotifier

Repository files navigation

UbisoftGiveawayNotifier

A CLI tool fetches free games info from Ubisoft giveaway page, sends notifications to Telegram, Email, Bark, QQ, PushPlus, DingTalk, PushDeer and Discord.

Demo Telegram Channel @azhuge233_FreeGames

Currently I'm only using the Don't miss section on this official page to get Ubisoft's giveaway (or free promotion) information, and it's not always showing games that can be counted as giveaway (the FREE TO PLAY and DEMOS & TRIALS section is definitely not giveaway btw).

Frankly I'm not quite sure Ubisoft will host a giveaway any more.

And if you have a better info source, tell me by creating issues.

Build

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

Publish

dotnet publish -c Release -p:PublishDir=/your/path/here -r [win10-x64/osx-x64/linux-x64] --sc

Usage

Set your Telegram Bot token and chat ID in config.json

{
	"TelegramToken": "xxxxxx:xxxxxx",
	"TelegramChatID": "xxxxxxxx",
}

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.

Tested on Windows Server 2019/2022.

My Free Games Collection