The reddit button

To put my RaspberryPi (which was only laying around) to good use i decided to do a quick hack. Combined with a small 2.4 inch display, it shows the current status of the button from reddit.




A small python script connects to the reddit websocket server and displays the status of the timer, the number of participants and the current record since the script is running.

To run the script:

  1. install the websocket-client library 
  2. install Adafruit display library
  3. enable SPI interface
  4. connect the display

Python script