qrfi is a CLI Wi-Fi QR Code Generator.

brew tap h12o/repo
brew install h12o/repo/qrfi
cargo install qrfi
cargo install --path . --root <your favorite directory, e.g. ~/.local>
qrfi SSID -p PASSWORD
echo SSID | qrfi -p PASSWORD
qrfi SSID -p PASSWORD --format png > qr.png
See the result of qrfi -h.
git clone https://github.com/h12o/qrfi
cd qrfi
cargo test
Tips: You can also use cargo run -- during development.
Issues and pull requests are welcome.
Licensed under the MIT License. See LICENSE.md for details.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and in other countries.
Inspired by @kamataryo’s kamataryo/qrfi, implementation using Node.js.
Referenced from @zxing’s Barcode Contents > Wi-Fi Network config (Android, iOS 11+) in zxing/zxing.