wifi-qr

command module
v0.0.0-...-8e49bad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 4 Imported by: 0

README

WiFi-QR

A simple utility for generating QR codes for your wifi login.

Based on details from: https://feeding.cloud.geek.nz/posts/encoding-wifi-access-point-passwords-qr-code/.

Command line tool

Install: go get -u github.com/witchard/wifi-qr.

Usage: wifi-qr -s <SSID> -p <Password> > qr.png

Go package

import "github.com/witchard/wifi-qr/encode

...
	png_bytes := encode.EncodeWpa("ssid", "password")
...

Wasm

In the wasm folder you will find a simple web browser example using wasm. Go into that folder and run make serve to see it in action.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package encode can be used to generate the QR code.
Package encode can be used to generate the QR code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL