Lys is a bot for Bluesky, Twitter, and Threads aiming at publishing daily reminders for every Eurovision national selection show happening in Europe (and Australia).
Twice a day, a 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 publish a post that looks just like this:
TONIGHT | 🇸🇪 SWEDEN
---------
📼 Melodifestivalen
🏆 Final
🕓 20:00 CET
---------
📺 https://svtplay.se.
There is also a weekly post 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)
- The main entrypoint,
lys.py, is launched as an AWS Lambda, with different arguments depending on the target mode (daily thread, weekly post, 5-minute reminders) and platform (Bluesky, Twitter, or Threads) - Events are stored in a AWS DynamoDB table