basst85 / tgtgBot

TooGoodToGo IFTTT bot written in C# on .NET Core platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tgtgBot

TooGoodToGo IFTTT bot written in C# on .NET Core platform.
Receive a notification via IFTTT when there are Magic Boxes available nearby.

Travis-ci Build Status CircleCI Build Status

Work in progress. It now only returns nearby items as a list in console.


Installation and usage

  • Set your TooGoodToGo username and password in src\appsettings.json.
  • Set your location (latitude and longitude) in src\appsettings.json.
  • Set the search radius (in KM) in src\appsettings.json.

Build the application with dotnet:

dotnet restore .\src\tgtgBot.csproj
dotnet publish .\src\tgtgBot.csproj -c release -o .\release --self-contained false --no-restore

Run the application:

dotnet .\release\tgtgBot.dll

You can also use the Dockerfile to build and run it via Docker:

docker build --pull -t tgtgbot .
docker run --rm tgtgbot 

About

TooGoodToGo IFTTT bot written in C# on .NET Core platform

License:MIT License


Languages

Language:C# 91.8%Language:Dockerfile 6.3%Language:PowerShell 2.0%