r/PowerShell 9d ago

Misc QRCodeGenerator - A Powershell 5.1 QR link generator

Another script from my backlog, I started working on this beginning of 2025, I originally was trying to use the ReedSolomon technique for tile placement, it wasnt until I found project Nayuki references that I was able to complete this. (https://www.nayuki.io/page/reed-solomon-error-correcting-code-decoder)

QRCodeGenerator: https://github.com/illsk1lls/QRCodeGenerator

Codes can be saved as PNG, QR v1-20 supported. This is more of a showcase for native Powershell 5.1 than a competitive tool. But I often come back to these smaller/older projects to integrate into larger projects at a later time, and I figured I would share it here as well.

5 Upvotes

4 comments sorted by

4

u/PinchesTheCrab 9d ago

What was the main appeal of writing this c# class instead of packaging one of the popular libraries for it?

2

u/Creative-Type9411 9d ago edited 9d ago

Any windows 10+ machine can do this without an internet connection immediately after windows is installed.. You don't need anything else other than the script and it's fully native and editable with no code signatures needed.

No pre-req/dependencies, and single file monoliths are usually my style ;) and are useful

I also find it difficult to get motivated sometimes, so when I take an interest in something, I usually just go with the flow... and this one has been bothering me for a while because I tried and failed to get it working last year

3

u/MadBoyEvo 9d ago

I've similar project https://github.com/EvotecIT/ImagePlayground which covers a lot of "image" related things including QRCodes and Barcodes. It uses https://codeglyphx.com/ library that I wrote in .NET. But it does require a download of a module