Skip to content

Repository files navigation

qrc-gen-email

Email qr-code console generator.

About

It generates a email qrcode in the .png format based on a env.json file.

Example QRCode

How it works

  • first run generates env.json in the same directory:
{
  "qrcSize": 256,
  "mailto": "example@example.com",
  "subject": "Example Subject"
}
  • further you should to edit env.json file with your data
  • second run generates qr code in in the same directory based on your data in env.json

About env.json

Variables

Table of variables

Key Value Type Mandatory
qrcSize int Yes
mailto string Yes
subject string Yes, can be empty

Example with all variables

{
  "qrcSize": 256,
  "mailto": "example@example.com",
  "subject": "Example Subject"
}

Example with empty subject

  • without spaces
{
  "qrcSize": 256,
  "mailto": "example@example.com",
  "subject": ""
}
  • with any spaces is allowed
{
  "qrcSize": 256,
  "mailto": "example@example.com",
  "subject": "  "
}

About

Email qr-code console generator.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages