Add image generation (#2)

* Add image generation

* Optimise for minimal memory

* Added a new ui

* Add support for esp
This commit was merged in pull request #2.
This commit is contained in:
2025-07-19 19:11:31 +02:00
committed by GitHub
parent e9d145455e
commit e21601234a
25 changed files with 1188 additions and 31 deletions

View File

@@ -1,4 +1,11 @@
{
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:5000"
}
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
@@ -6,16 +13,28 @@
}
},
"ApiConfiguration": {
"EspConfiguration": {
"InformationBoardImageUrl": "http://192.168.101.178:5000/home/default.jpg",
"UpdateIntervalMinutes": 2,
"BlackTextThreshold": 190,
"EnableDithering": true,
"DitheringStrength": 8,
"EnhanceContrast": true,
"ContrastStrength": 10,
"IsHighContrastMode": true
},
"Keys": {
"Weather": "KEY",
"SL": ""
"Weather": "NOT COMMITED",
"ResRobot": "NOT COMMITED"
},
"BaseUrls": {
"Nominatim": "https://nominatim.openstreetmap.org",
"Aurora": "http://api.auroras.live",
"Weather": "https://api.weatherapi.com/v1"
"Weather": "https://api.weatherapi.com/v1",
"ResRobot": "https://api.resrobot.se"
},
"DefaultCity": "Vega stockholms lan"
"DefaultCity": "Vega stockholms lan",
"DefaultStation": "Vega Station"
},
"AllowedHosts": "*"
}