emn178 / online-tools

Online tools provides md2, md5, sha1, sha2, sha512, bas64, html encode / decode functions
791 stars 356 forks source link

Support for QR code? #34

Closed igops closed 5 months ago

igops commented 11 months ago

Your project is awesome!

What do you think about adding a support for QR code gen? Like https://quickchart.io, but GitHub hosted?

emn178 commented 6 months ago

I think it's impossible to response image by frontend so that you can use <img> directly. Because this site can only have static pages. The content type can only be text/html. I can only try to use iframe and render qr code inside.

emn178 commented 6 months ago

added this feature, please try it. https://emn178.github.io/online-tools/qrcode.html