gtanner / qrcode-terminal

QRCodes in your terminal, cause thats hot.
Apache License 2.0
1.28k stars 102 forks source link

How to output common methods such as QR code, image or base64 to the web page? #50

Open jackzhujie opened 2 years ago

jackzhujie commented 2 years ago

The background is this, our ci is implemented on the server through git hooks, and now we want to send the packaged program QR code directly to the recipient's mailbox, so as to avoid opening the server console to find the QR code, See if the author has a better way.

jackzhujie commented 2 years ago

The QR code can be seen on the console through console.log, but it becomes difficult to attach it to the email and send it out.

aiyemomi commented 1 year ago

Hello, where you able to figure this out?

LucBerge commented 1 year ago

@jackzhujie @aiyemomi Use qrcode instead: https://www.npmjs.com/package/qrcode You can both print the qr code in the console and save it as a file.