The Ghostwriter is an amalgamation of my learnings while teaching AI to creatives at schools like CIID and others. Through these classes, talks, and workshops, the BIG question everyone lands on is: When will AI come for them? These discussions and debates sparked the opportunity for an intervention that speaks to it.
First, I wanted to ground people through a mental model they feel connected to and comfortable with. The typewriter was the perfect interface for this. After finding a vintage model online, I restored and repaired it to a working condition (replaced the broken daisy wheel, got new cartridges, lubricated and cleaned).
Reading the keys from the typewriter proved to be the most significant technical challenge. I spent a lot of time decoding the keyboard matrix consisting of eight scan and eight signal lines. I pressed each key, read its triggered signal-scan lines, mapped it to the corresponding key, and finally made a driver that ran on an Arduino. Soon after, I integrated a raspberry pi that became the interface to the OpenAI GPT3 API.
I wanted to be able to control the “creativity” and “response length” parameters for the AI model, so I integrated two potentiometer knobs and an OLED feedback display into the housing of the typewriter. After dabbling through many technical challenges, the result is an interface where you can type prompts or stories and have the machine respond to them when you hit the return key.
It was important that the object also has a playful demeanor; I sketched out a tiny ‘Ghost’ sprite that lives in the OLED display and tested different fun color schemes for the typewriter. After multiple rounds of sanding, painting and clear coats, the Ghostwriter was born.
The complete process is read better as a thread with videos on Twitter, read more here: