Skip to content

wpcroatia/meetup-qr-code-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meetup QR code generator

A simple generator of QR codes with Wapuu logo in the centre made in JS.

Requirements

  • Node JS

Installation

  1. Clone the repository
  2. Type
npm install
  1. Run the script
npm run generate

This will generate a QR code in the output/ folder.

Changing the logo in the middle of the QR code

Once you add your png of the image in the logo folder, you'll need to change it in the index.js as well:

// Return a buffer with the PNG of the code
async function run() {
  const logoPath = path.resolve(__dirname, './logo/wapuu-qr.png'); // Add logo here.

Changing the URL of the QR code

You can modify the url where you want your QA to point to, by changing it in the index.js

// Return a buffer with the PNG of the code
async function run() {
  // ...
  const url = ''; // Add your URL here.

About

A generator for the meetup raffle forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published