TooGoodToGo IFTTT bot written in C# on .NET Core platform.
Receive a notification via IFTTT when there are Magic Boxes available nearby.
- 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