I do like people building things, but isn't this what the share network button is in android? It creates a qr code with ssid and password, and when scanned with lens it gives you a "join" button.
Edit - ah is the point taking a photo of credentials and joining from that?