azhuge233 / IndiegalaFreebieNotifier

Indiegala Freebie Notifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IndiegalaFreebieNotifier

A CLI tool fetchs data from https://freebies.indiegala.com/ then sends notifications through Telegram, Bark, Email, QQ, PushPlus, DingTalk and Discord.

Indiegala has frequency check too, if you send too much requests in a short period of time, Indiegala will return a challenge(captcha) page.

Demo Telegram Channel @azhuge233_FreeGames

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.

My Free Games Collection

About

Indiegala Freebie Notifier


Languages

Language:C# 100.0%