簡單的CLI應用程序生成WiFi連接的QR碼。
您是否要為WiFi創建QR碼,因此您不必在每個設備中輸入密碼?有幾種在線服務,但是您真的信任在線服務嗎?解決方案是此離線生成器。
下載存儲庫:
git clone https://github.com/dev-jan/wifi-qrcode-generator.git
cd wifi-qrcode-generator
自己安裝Java開發人員套件(JDK)(如果計算機上還沒有安裝)
建造...
./gradlew installDist
跑步...
# Linux
./build/install/wifi-qrcode-generator/bin/wifi-qrcode-generator
# Windows
./build/install/wifi-qrcode-generator/bin/wifi-qrcode-generator.bat
示例命令:
$ ./build/install/wifi-qrcode-generator/bin/wifi-qrcode-generator --ssid "SomeNetwork" -p "asdf" -a WPA example.png
[+] Generating QR code...
[+] QR code generated. Output: example.png
現在,您可以打印出QR碼,並讓其他人連接到您的WiFi而不將20位密碼輸入到那裡的電話中?