8000 GitHub - mdlayher/wifiqr: Package wifiqr implements support for generating WiFi QR codes. MIT Licensed.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mdlayher/wifiqr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wifiqr Test Status Go Reference Go Report Card

Package wifiqr implements support for generating WiFi QR codes. MIT Licensed.

Example

Generate a QR code image and redirect stdout to create a PNG file.

$ go run cmd/wifiqr/main.go > example.png

This produces:

example

Alternatively, if stdout is a terminal (and not redirected) you can display the QR code directly.

$ go run ./cmd/wifiqr/main.go
SSID: "Example", password: "thisisanexample"

█████████████████████████████████████
█████████████████████████████████████
████ ▄▄▄▄▄ ██ ▀ ▀▀▄ ▄▀▄█ █ ▄▄▄▄▄ ████
████ █   █ █ ▄▀ █ ▄▀▄▄ ▄▄█ █   █ ████
████ █▄▄▄█ █ █ ▀█▀▄▄▄▀▄ ▀█ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ ▀▄█▄▀ █ ▀ ▀▄█▄▄▄▄▄▄▄████
████ ▀▄ ▄ ▄█▀▄█ ▄▄▀ ██▄███▄   ▄█▀████
████ ▄▄▄█▄▄▄▀▀ ▀▀██▄ ▄██ █▀▀ ▀▄█ ████
████ █▀ █▀▄▄▄ ▄ ▄▀█  ▄▄▀▄ ▄██    ████
████▀███▀▀▄▀▄▀▀▄▄ ▄█▀ ▀ ▄▀▀▄▀▀ ██████
████▀▀ ▀▄▀▄█▀ ████▄ ▄█▄█ ▄█▄▀▀▄▀▀████
████ █ ██▀▄▄▄▀ ▄▀█▀▄▀▄█▀▀▀▀  ▀█▄▀████
████▄██▄▄█▄█▀▄█ ▀▀▀ █▄▄█ ▄▄▄ ▀ ▄▄████
████ ▄▄▄▄▄ █▀█▄▀▄ ▄█ ▄▀▀ █▄█  ▄██████
████ █   █ █  ▄▀██▄  █▄▄ ▄  ▄██▀█████
████ █▄▄▄█ █▄▄█▄▀▀ ▄▀ ▀▄███▀█ ▀ ▀████
████▄▄▄▄▄▄▄█▄▄▄▄▄██▄█▄████▄█▄█▄▄█████
█████████████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

About

Package wifiqr implements support for generating WiFi QR codes. MIT Licensed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0