TL;DR: Aural - Sound Of Twitter
After my last post discussing building a local site that lets you “listen” to Twitter, I decided to put it on the public-facing internet. But rather than just whack it on a VPS I decided to expand my horizons by putting a bunch of components through AWS.
My desired setup was:
Static website with AWS Amplify that could talk to; An API Gateway configured for websocket that would register connections and disconections via; Lambda serverless functions that would update; DynamoDB which would receive connection info and new tweet notifications and stream the latter to; Another Lambda which would read the DynamoDB for live connection IDs in API Gateway and let them know a tweet had arrived.
One of my favourite sites, for years, has been Listen To Wikipedia, a soothing project in the idea of beauty and art coming from systems. Years back I set up the [Holiday by Moore’s Cloud] lights with a script that would automatically hook into the streaming of Wikipedia edit notifications and change in time to them, and the music if the web app was open concurrently.
I decided to use this platform as inspiration for a creative coding exercise, receiving input notifications from some popular streaming API and turning them into a soundscape that you could tune into.
Preamble A long time ago I built a Twitter bot which allowed you to play a text adventure game by tweeting commands at it and receiving personalised responses. I’ve always been interested in doing more with this project, but there’s been two major holdups:
I’ve lacked personal writing inspiration (and found no interested writers) to help with content for the game. The original code is an absolute mess. Eventually during a skint section of my life I had to get rid of the virtual machine that runs the bot and it’s remained dormant and inactive for years.