/hurley

Find links between podcasters, a la Kevin Bacon

Primary LanguageHTML

This is a quick Flask app for finding links between podcasters, a la the Six Degrees of Kevin Bacon game. It's a bit of nonsense that I hope will make people smile.

For the slightly longer description, see the about page.

The code

This is just a simple Flask app that turns a list of podcasts and hosts into a graph, then uses Dijkstra's algorithm to find the shortest path between two hosts (if one exists). The code for Dijkstra is taken from Rosetta code, because I threw this together in a hurry.

Most of this is quite messy because I threw it together quickly. It's just a bit of fun, not a serious project.

Contributing

If you want to expand the list of podcasts, you should edit data.json. Each podcast gets an entry of the form name: [list of hosts]; for example,

"Hello Internet": [
    "Brady Haran",
    "CGP Grey"
]

Please keep the host names alphabetically ordered, and likewise the podcasts.

Currently I have all the Relay.FM and 5by5 shows, plus a few others. More are always welcome. :-)