Printable wifi code ornament
Yes, I vibe coded this
We are expecting houseguests next week. This concentrates the mind wonderfully. One small thing is sharing the wifi details with our millenial visitors. QR codes for wifi work great — you just point your phone camera at the code and it adds the network details. I’ve previously printed these out on a piece of paper (so lame!). In the shower this morning I thought of turning the code onto a dangling mobile (so cool!).
Here’s the result.
All you do is line up a light background behind the mobile, turn on the camera, and your phone joins the network.
The code is at https://github.com/jamesbowman/wifi_qr_mobile
Usage instructions are in the README.md - the script generates the .scad file.
Printing time on the Bambu is about 90 minutes.
Also lasers
It also supports an —svg_out option for use with laser cutters. This is a lot quicker.
How it works
The script takes some wifi options, generates a QR code image, then outputs an OpenSCAD model with a hole for every white pixel in the code. It can also generate a similar SVG file for a laser cutter.
AI wrote the code
Firstly, none of this post’s text was AI generated.
However, ChatGPT Codex wrote the code. I built it up step by step, with a couple of git commits when things were looking ok. I did make a couple of manual edits for aesthetics. I was really impressed when it refactored the OpenSCAD generator to optimize rendering time. It would have taken me an maybe half an hour. It took Codex 30 seconds.
I’ve always been able to make things out of code. It’s much easier to do that now.
Thanks for reading.






That is a really neat idea. Thanks for sharing.