Good ideas!
Code wise, the QR code was actually really easy to add thanks to CPAN and having a ready-made module to do all the heavy lifiting. The only issue I ran into is what libraries were available on the host server. The original module I tried created "png" files but I was missing the libpng dependency on the server so it couldn't render the image. So, instead I went with this one:
Imager::QRCode which let me generate the file as a simple bmp bitmap.
Seems to work okay. Max text string for both message posting and QR string are now capped at 2024 characters. (I saw your
massive text blob post hahaha). A massive string = a massive QR image.
QR image names are UUIDs generated randomly. They exist for a max of 24 hours before being purged.
Not sure how to do a URL shortener though without owning a domain name that was short to begin with. Example something like "ne.com" then I could generate URLs "AceWEx.ne.com" or "ne.com/AceWEx" or something based on the input URL.I could definitely make a "https://perl-test.herokuapp.com/AceWEx" generated URL but that's already really log. :)
Maybe I could plug into tinyurl or bitly and then just use their URLs while displaying the QR code or something?