The TV

A small webapp to watch.. interesting.. tv with

tv.ogriffiths.com

About

Over a course of an hour or so on Wednesday (the 25th of November), I created a small webapp for displaying wacky tv-like shows, pulled fresh from one of Reddit’s subreddits every couple of hours. Heres an example of it:

A video playing on *The TV*

This quick Flask-based python script has a simple flow of functionality for displaying this content on each refresh, namely:

PRAW Reddit bot –> JSON database –> Flask gets random –> Displays to user with the use of the Jinja2 templating library

As for hosting, this webapp is simply running on a $3.50 per month VPS server from Vultr.com; running a simple single-threaded Flask instance behind a typical nginx proxy-webserver.