Giter Site home page Giter Site logo

azhuge233 / steamdb-freegames-dotnet Goto Github PK

View Code? Open in Web Editor NEW
24.0 1.0 2.0 10.36 MB

Notify and auto claim free steam games. (Not maintained)

C# 100.00%
dotnet steamdb-freegames steam scraper games playwright telegram freegames notifier steam-games qqbot dingtalk-robot pushplus bark autoclaim discord

steamdb-freegames-dotnet's Introduction

SteamDB-FreeGames-dotnet

Update:

I've already found a simple, no browser extensions reqired solution to solve the captcha, it's been runnning for months with no critical error, but I'm still not planning to update this repo.

No longer maintained, head to wiki for more information.

A CLI tool that

  • Fetches free games info from SteamDB
  • Sends notifications through Telegram, Email, Bark, QQ, PushPlus, DingTalk, PushDeer and Discord
  • Auto claim fetched free games with ASF IPC

Demo Telegram Channel @azhuge233_FreeGames

Seems that SteamDB really don't want people scraping their site, check Things should be aware of before using.

Build

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

Publish

dotnet publish -c Release -o /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 notification method descriptions.

ASF Auto Claim

To use auto claim, you have to set up ASF IPC server first, you can find the instructions here.

Set EnableASF to true to turn on auto claim, then fill your IPC address in ASFIPCUrl

{
	"EnableASF":  true,
  	"ASFIPCUrl": "https://my.domain.com or with IP address and port number(didn't test)",
}

Auto claim uses "addlicense asf SubID/AppID" as the default addlicense command, if you have any customized prefix or ASF just simply returns "wrong command" kind of message, you may need to manually change the command string in Models/String/ASFStrings.cs.

Check wiki for more ASF related config variables descriptions.

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, macOS Catalina 10.15.6.

My Free Games Collection

steamdb-freegames-dotnet's People

Contributors

azhuge233 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.