Web

Dominant Colour Extraction in Python (for a Discord Bot)

Dominant Colour Extraction in Python (for a Discord Bot)

In which I discuss getting the dominant colour from an image quickly...

I have recently made a Discord bot that searches for online versions of board games to help people find games to play remotely. This link will add it to your server.

Discord embeds have a colour bar down the side that can be manually set. I thought it would be cool to have this display the 'average' (i.e. dominant) colour of the board game box and decided to investigate the best way to do it.

Podtrac and Squarespace 2018

Podtrac and Squarespace 2018

In which I get some download tracking for my podcasts...

If you listen to podcasts you won't be surprised to hear adverts for Squarespace's hosting platform. It's also what this website and my associated podcasts run on.[1][2][3] The inbuilt analytics are pretty decent but when it comes to RSS feeds for podcasts they suffer from all the limitations that tracking RSS has.[4]

Podtrac is a service that aims to fix this.[5] Unfortunately it used to be a massive faff to get it working with Squarespace.[6] Fortunately following the latest update to the platform it is now really easy.