Crates.io | wifi-qr-rs |
lib.rs | wifi-qr-rs |
version | 0.1.5 |
source | src |
created_at | 2023-05-13 19:09:19.932233 |
updated_at | 2023-06-27 04:37:48.880356 |
description | This is a simple rust program that generates a QR code for connecting to a wifi network when scanned. |
homepage | |
repository | |
max_upload_size | |
id | 863890 |
size | 48,512 |
This is a simple rust program that generates a QR code for connecting to a wifi network when scanned.
The program is heavily inspired by wifi_qrcode_generator.
$ git clone https://github.com/wckdouglas/wifi-qr-rs.git
$ cd wifi-qr-rs
$ cargo install --path .
$ wifi-qr-rs -h
This is a simple rust program that generates a QR code for connecting to a wifi network when scanned.
Usage: wifi-qr-rs [OPTIONS] --ssid <SSID>
Options:
-s, --ssid <SSID> wifi network name
-i, --is-hidden whether or not the network is hidden
-a, --auth-type <AUTH_TYPE> authentication type [default: wpa] [possible values: wpa, wep, nopass]
-p, --password <PASSWORD> password for the wifi
-o, --output-image <OUTPUT_IMAGE> [default: wifi_qr.png]
-h, --help Print help (see more with '--help')
-V, --version Print version
$ wifi-qr-rs \
--ssid my_network_name \
--auth-type wpa \
--password my_password \
--output-image my_qr_code.png
[2023-05-13T17:24:02Z INFO wifi_qr_rs] Creating QR code for SSID: "my_network_name" with authentication: [WPA]
[2023-05-13T17:24:02Z INFO wifi_qr_rs] Writting QR code image to: my_qr_code.png