Miss any of our Open RFC calls?Watch the recordings here! »

wifi-qr

0.0.10 • Public • Published

wifi-qr

A library and command-line utility for generating QR codes with embedded wifi credentials

Background

Wifi QR codes are readable by iOS 11+ and Android 10+ devices. The QR codes embed the network SSID, auth type, and password, making it easy to share credentials with guests, for example. Long passwords can be deployed and shared easily with this method.

Installation

npm install -g wifi-qr

Usage

Providing a password via command-line argument:

wifi-qr --ssid "my network ssid" --password "my network password" --type wpa qr.png

Providing a password via stdin:

echo "my network password" > password.txt
wifi-qr --ssid "my network ssid" --type wpa qr.png < password.txt

SVG and PNG output formats are supported.

Run wifi-qr --help for more information about the command-line interface.

Development

Compile Typescript:

npm run compile

Check code formatting:

npm run prettier
# or, to automatically fix formatting 
npm run prettier:fix

Install

npm i wifi-qr

DownloadsWeekly Downloads

49

Version

0.0.10

License

MIT

Unpacked Size

40.7 kB

Total Files

15

Last publish

Collaborators

  • avatar