wifi-qr-rs

Crates.iowifi-qr-rs
lib.rswifi-qr-rs
version0.1.5
sourcesrc
created_at2023-05-13 19:09:19.932233
updated_at2023-06-27 04:37:48.880356
descriptionThis is a simple rust program that generates a QR code for connecting to a wifi network when scanned.
homepage
repository
max_upload_size
id863890
size48,512
Douglas Wu (wckdouglas)

documentation

README

wifi-qr-rs

CI

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.

Installation

$ 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

Usage

$ 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
Commit count: 0

cargo fmt