43 ms·
Lovely! Is it possible to inject SSID and passphrase parameters as env vars into the Docker container and have a png or pdf render without the web interface? E
by toomuchtodo 6y ago
Lovely! Is it possible to inject SSID and passphrase parameters as env vars into the Docker container and have a png or pdf render without the web interface?
Edit: Thank you to those who replied!
- jasonjayr 6y agoqrencode is in debian/ubuntu (https://fukuchi.org/works/qrencode/ https://fukuchi.org/works/qrencode/) qrencode -t ansiutf8 'WIFI:T:WPA;S:{ssid};P:{password};;' No docker required ...
- toomuchtodo 6y agoI’m on a Mac, so I would need Docker if the tool wasn’t built for Mac (only Linux).
- dewey 6y agoNo, you can just install it via Homebrew. brew install qrencode
- toomuchtodo 6y agoGood to know! Thank you!
- davb 6y agoYou can generate QR codes using qrencode (available in most distros package repos), as follows: qrencode -o wifi.png "WIFI:T:WPA;S:<SSID>;P:<PASSWORD>;;"