From flash to print
The story of Flybooth told through its architecture diagram. Each step adds new pieces to the plan.
Reading the plate
- Height
- The higher a volume, the further it is from the venue: cloud services on top, hardware on the ground.
- Dotted ground lines
- Each volume projected onto the plan, showing which zone it belongs to.
- Glowing dots
- The direction data travels in.
1An online photo booth
When this project started, I simply wanted an online photo booth you could put on a TV. During a party or an event, everyone takes pictures and the TV shows them live.
That was the origin of flybooth.app. I had connected it to Cloudinary, which stores images with the best possible performance.
2The receipt
In early 2025, a friend who runs a guinguette, an open-air riverside café, asked whether I could build a photo booth that prints on receipts. The project struck a chord: it is eco-friendly, instant and cheap, a moment frozen in time.
I looked at what existed online and read up on ESC/POS, the programming language of Epson's receipt printers. The goal: use any thermal printer, like the ones that print receipts, to send the guests' pictures to.
3A Raspberry Pi
The software on these printers is very limited, when it exists at all, so I bought a Raspberry Pi Zero to write the printing software on it.
At first, the idea was to create a local Wi-Fi network: guests would connect to it directly and send their pictures to the Raspberry. But it was painful.
4The Cloudflare tunnel
So I came up with another solution using a Cloudflare tunnel. It simply lets a program running on the Raspberry Pi open a tunnel to a domain bought beforehand: printer.h2t.club.
5A new interface
I adapted the interface of my original online photo booth so it could call the Cloudflare tunnel.
Guests no longer have to join a special Wi-Fi network: they use their usual internet connection.
6Getting the printer online
The only hard part left is connecting the printer to the internet. As soon as it starts, it creates a Wi-Fi network; the event organizer joins it and enters the venue's Wi-Fi credentials. If there is none, they can share their own phone's connection instead.
The printer then restarts with its new credentials. It is now online and relays everything through the Cloudflare tunnel.
7Watching the connection
Those connections are still a bit flaky. So every 2 minutes the server sends a check to Checkly to say it is still online.
When that status changes, Checkly sends a notification to the organizer's phone saying the printer is offline, or back online.
8A queue
As more and more people used it, I added a queue directly on the Raspberry. It keeps pieces of two pictures from getting merged together.
9Logging everything
Finally, all the data is sent to Datadog so bugs can be tracked down.
The full plan
Here is the diagram as it runs today. Each flow can be isolated on the plate:
Select a component to see what it receives and what it sends.