qrfi

qrfi is a CLI Wi-Fi QR Code Generator.

Terminal (Dark Mode) Terminal (Light Mode)

Why this version?

Prerequisites

CLI

Scanning Device

Installation

From Homebrew (macOS or Linux)

brew tap h12o/repo
brew install h12o/repo/qrfi
cargo install qrfi

From Source

cargo install --path . --root <your favorite directory, e.g. ~/.local>

Usage

Basic

qrfi SSID -p PASSWORD

Piping from Other Commands

echo SSID | qrfi -p PASSWORD

Save as PNG

qrfi SSID -p PASSWORD --format png > qr.png

Supported Formats of QR Code

Options

See the result of qrfi -h.

Development

git clone https://github.com/h12o/qrfi
cd qrfi
cargo test

Tips: You can also use cargo run -- during development.

Contributions

Issues and pull requests are welcome.

License

Licensed under the MIT License. See LICENSE.md for details.

Trademarks

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and in other countries.

Acknowledgements

Inspired by @kamataryo’s kamataryo/qrfi, implementation using Node.js.

Referenced from @zxing’s Barcode Contents > Wi-Fi Network config (Android, iOS 11+) in zxing/zxing.