Custom typewriter hack uses Arduino, Rapsberry Pi, and GPT-3 to dramatic effect.
On Wednesday, a designer and engineer named Arvind Sanjeev revealed his process for creating Ghostwriter, a one-of-a-kind repurposed Brother typewriter that uses AI to chat with a person typing on the keyboard. The « ghost » inside the machine comes from OpenAI’s GPT-3, a large language model that powers ChatGPT. The effect resembles a phantom conversing through the machine.
To create Ghostwriter, Sanjeev took apart an electric Brother AX-325 typewriter from the 1990s and reverse-engineered its keyboard signals, then fed them through an Arduino, a low-cost microcontroller that is popular with hobbyists. The Arduino then sends signals to a Raspberry Pi that acts as a network interface to OpenAI’s GPT-3 API.