As you know, we use a SQLite database to power the majority of the web app. SQLite is a traditional relational database that works out of a single flat file, meaning it doesn't need a separate server process to run.
Let's talk about the elephant in the room: Our current solution for video thumbnails (storing the media in-memory) is a terrible solution. If the server is restarted, all the thumbnails are lost!
But we can't store an image in a SQLite column?... Right?
hold my beer
To do so, we can actually encode the image as a base64 string and shove the whole thing into a text column in SQLite. Base64 is just a way to encode binary (raw) data as text. It's not the most efficient way to do it, but it will work for now.
Update the code to store the image data in the thumbnail_url column in the database.
data:<media-type>;base64,<data>
Run and submit the CLI tests.