Full code for mora.stream, the "Twitch.tv for academic researchers". The streaming platform served several thousands of concurrent viewers. This has now been acquired and absorbed by Cassyni.
Populating images/placeholders/[mathematics, biology, artificialintelligence, ...] folder and create a duplicate in covers/avatars when channel is getting created
Populating images/placeholders/[mathematics, biology, artificialintelligence, ...] folder + change logic of "has cover" into integer (0 = no, 1 = yes, 2+= id of the image in the placeholder folder)
3 ways of adding logic for placeholder images
Final solution:
Use pexels API.
Todos: