wifiqr

command module
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

README

wifiqr

semver Tests Go Report Card

A simple program to generate a QR code to connect to a WiFi network

Example QR code

Usage

To get a list of all the available flags run wifiqr --help or wifiqr -h

Copyright (C) 2023 Dušan Mitrović <dusan@dusanmitrovic.xyz>
Licensed under the terms of the GNU GPL v3 only

Usage:
  wifiqr [flags]

Flags:
  -c, --color string      The color of the text in the frame. Accepts 3 or 6 hex characters. (default "8178e4")
  -h, --help              help for wifiqr
  -i, --invisible         The visibility of your WiFi network. Use this switch if your WiFi is hidden.
  -l, --logo string       The path to a raster image logo that will be put in the center of the QR code. Max dimensions: 140x140.
  -n, --name string       The name of your WiFi network.
  -x, --no-logo           Use this switch if you don't want a logo in the center. Takes precedence over the -l and --logo options.
  -o, --output string     The output filename. Default is in the current directory. (default "/home/dusan/Projects/personal/wifiqr/qr.png")
  -p, --password string   The password of your wifi network.
  -s, --security string   The security of your WiFi network. Can be one of nopass, WEP, WPA. (default "nopass")
  -v, --version           version for wifiqr
Example

If you wanted to encode a QR code with the following information

SSID: Test_Network
Encryption: WPA3
Password: test
wifiqr -n Test_Network -s WPA -p test -o ./your_file_name.png

Or with long options

wifiqr --name Test_Network --security WPA -p test --output ./your_file_name.png

Installation

You can use the precompiled binaries for your operating system and cpu architecture in the release section. Make sure you put the binary somewhere in your $PATH

For those using Arch Linux, a PKGBUILD is available in the AUR. Use either makepkg directly or your favorite AUR helper.

Example
  • makepkg
git clone https://aur.archlinux.org/wifiqr.git && cd wifiqr
makepkg -si
  • yay
yay -S wifiqr

Building from source

Ensure that you have a recent version of go installed

Clone the repository

git clone https://github.com/dusnm/wifiqr.git && cd wifiqr

Build

go build -o wifiqr .

Licensing

Licensed under the terms of the GNU General Public License, version 3

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
qr

Jump to

Keyboard shortcuts

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