Click this image to see a video demonstration.
The website created from this code allows a visitor to type in a string of text. That text gets sent to a back-end Flask server running on a Raspberry Pi computer with a Sense-HAT attached. That Raspberry Pi computer is in my bedroom. The text is displayed on the LEDs of the HAT sensor, and at the same time it is translated to audio and spoken out loud on an attached speaker. It provides a funny and terrifying way for the public to interact with me and invade my personal life.
All text is logged to the server so that I may view it later if I missed it. No identifying information is collected or logged. Steps were taken to lock down the Raspberry Pi server itself from intruders.
Guides used:
- How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 18.04
- How to Deploy a React + Flask Project
For security lockdown: Initial Server Setup with Ubuntu 18.04
Which I turned into an Ansible project for automation: https://github.com/apastel/rpi-ansible
- Microsoft Web Template Studio
- Python
- Google Text-to-Speech (Python module)
- React
- Gunicorn