WifiQR is a helper tool designed to generate valid Wifi QR codes in your terminal, utilizing libqrcode
- macOS
- Tested on Big Sur
- I have not found a solution to bypass password prompting for the keychain, if you have any ideas please throw up an issue or PR, thanks.
- Linux
- a good alternative right now is
nmcli device wifi show-password
while I write support
- a good alternative right now is
- Windows
TODO:
- Add support for WEP/WPA/Open, currently only WPA is supported
- Linux support
- Support for macOS airport
- Implement a cool curl script to do exactly this without install
- Windows support
- Find a way to not need to authenticate via PAM on any platform
For macOS, you need libqrcode
brew install libqrcode
or
sudo port install libqrcode
Upcoming: Linux and Windows
If you choose to move it to a default path location, it's recommended you move it to /usr/local/bin
After you chmod +x wifiqr.sh
and optionally move it to path with sudo mv ./wifiqr.sh /usr/local/bin/wifiqr
you can simply
wifiqr
or if you haven't moved it,
./wifiqr.sh
to generate a QR code for your current Wifi