Lys is a Twitter bot aiming at publishing daily reminders for every Eurovision national selection show happening in Europe (and Australia).
Twice a day, this script will be run and search for events (selection shows) happening on the day in a manually maintained database (although most events are extracted automatically, take a look over there). For each event found, the bot will post on the @EurovisionLys twitter account a Tweet that looks just like this:
TONIGHT | 🇸🇪 SWEDEN
---------
📼 Melodifestivalen
🏆 Final
🕓 20:00 CET
---------
📺 https://svtplay.se.
There is also a weekly tweet every Sunday afternoon that contains a summary of the week ahead:
🗓️ COMING UP NEXT WEEK (* = final):
- Tuesday 16: 🇪🇪
- Thursday 18: 🇪🇪
- Saturday 20: 🇸🇪🇳🇴*
And finally, a reminder for every show 5 minutes before they start:
🚨 5 MINUTES REMINDER!
---------
🇸🇪 Melodifestivalen - Heat 2 (https://svtplay.se/melodifestivalen)
---------
🇳🇴 Melodi Grand Prix - Final (https://nrk.no/mgp)
- There is one script per update (the 2 daily updates, the weekly update and the 5 minute reminder)
- The scripts are run using AWS Lambdas
- Events are stored in a AWS DynamoDB table