Skip to content

Repository files navigation

Lys

Deploy lambdas

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).

What does it do exactly?

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)

How does it run?

  • 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

Dependencies

About

Lys is a Bluesky, Threads, and Twitter bot that posts reminders for Eurovision national selection shows

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages