cheeto with that mold that sorta looks like hair but it’s not actually hair
The Trump Twitter Trasher is a photograph of Donald Trump that has been modified by me to spit out his inane tweets into the trash(which will then be recycled). It works by a server utilizing the Twitter API to grab tweets from Donald Trump’s twitter stream and then storing them into memory in an array, where the tweets are used to populate an html page served by the website and to also be selected to put into the trash.
The technology used was a node.js server running on the back-end, which served up an html page and also communicated with an Arduino via serial communication for the purposes of printing the tweets.
The basic flow of information was:
Twitter —> node.js server —> html page with buttons for selection —> back to node.js server —> Arduino —> Receipt Printer —> Trash
The whole project was a bit challenging, as I’ve never touched back-end web development before, so terms like sockets and routing and POST and GET requests really flew around my head, so what follows is the giant list of links that I used to obtain some of the knowledge that I need(and may not have needed as well):
QUITE A BIT OF INFORMATION!
… and then into the trash.
Pretty great! But, I’d like to smooth out this nice orange diamond a bit more. During the show I noticed that notifying people of the current status of the printer via an alert wasn’t the best, so I want to integrate the warning a bit better. Also, there is a weird encoding issue with the tweet, and I’m thinking it may have to do with escape characters present in the tweet and all that jazz, so I’ll be looking into that. ALSO, I need to find a way to put it on the www.