Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 837 Bytes

configuration.md

File metadata and controls

29 lines (23 loc) · 837 Bytes

Configuration

The configuration file should include sections for qrcode and colors with the following variables.

Variable Description
export The format in which the QR code should be exported (svg or png. default: svg)
size Defines the dimensions of the QR code. (default: 512)
password Contains the WiFi password. (mandatory)
foreground The foreground color of the QR code. (default: white)
background The background color of the QR code. (default: black)

Warning

The current PNG implementation is known to work with resolutions higher than 256x256.

Here is a sample configuration template, which exports the QR code to a 512x512 SVG image.

[qrcode]
password = "your_wifi_password"
export = "svg"
size = 512

[colors]
background = "#111111"
foreground = "#00d0d0"