Host content to be accessed via QR code
-
So I have recently ran into an issue where I needed to link to a PDF document and a video for a user. The flow would be
Scan QR code > Briefly hit an analytics gathering page > redirect immediately to the content (PDF or video).
My problem is that I can not find a specific app that does what I am looking for.
This user has their own unique URL and wants the url to be something similar to
https://theirdomain.com/awesomecontent/pdf.pdf
https://theirdomain.com/awesomecontent/movie.mp4Is their any cloudron app that would allow this, or maybe some app that I can set up within the LAMP app?
-
@privsec Any QR Code generator will work - infact, unless you need hosting for the image itself, you don't need to do much but generate the QR Code and put it somewhere.
when making the QR Code make sure to use the analytics link, and then have the analytics link do the redirect.
https://www.the-qrcode-generator.com/ is a pretty good one with plenty of free options. No hosting needed.
If you need something custom, I'm available via DM's for a fee.
Edit as a bonus: this github project can be hosted in lamp but doesn't directly link to QR code (instead you can download and host in a lamp app or the Surfer app)
https://github.com/bizzycola/qrcode-generator -
@privsec
kutt short url as a QR code to => Mautic / Webpage with content.This way you get the first track via kutt and then to the content and more tracking / analysis.
Also you can update the kutt short url with a new pointer if there is an update. aka. dynamic QR-Codes.
https://www.cloudron.io/store/it.kutt.cloudronapp.html
https://www.cloudron.io/store/org.mautic.cloudronapp.html
Cheers,
Elias -
@BrutalBirdie whoa! I didnβt know Kurt could do that.
Thatβs so neat!
-
@BrutalBirdie I didnt know this, so good to know actually!
-
@murgero @privsec
Which part about kutt did you not know? The tracking part or the update pointer part?But yea that's how I use QR-Codes, especially printed ones, these you can't update later on example would be my new businesses card with a QR-Code with contact information, which I can update to what ever I want.
-
@BrutalBirdie I was really hoping for a dynamic qrcode situation. So hearing thatβs how you do it, is exciting.
So to just confirm Iβm understanding- you set up Kutt to use Maurice for analytics, and have Maurice auto forward them to theirdomain.com/content/?
Or how do you make it dynamic?
-
@privsec
No.I set up my page with Mautic (not Maurice :D) or what ever (LAMP/Wordpress/Drupal yada yada) which has the content.
Then I create a kutt short url for the content I want to have as a QR-Code.The kutt short url is the QR-Code, this way I can always update the kutt target and the QR-Code stays the same.
Example:
https://short.cloudron.dev/forum guess what it links now to the forum.
and the QR-Code for that URL is:Now I can update the target URL of https://short.cloudron.dev/forum to what ever I want and the QR-Code stays the same.
Now I will set the target to my forum profile.
QR-Code stays the same, since its the same url.Have fun scanning
-
@BrutalBirdie Any idea if Kutt's QR code uses Google Chart API or is it created locally?
-
@humptydumpty
no no no you got me all wrong KUTT does not generate a QR-Code, this is your job.
Go further down. -
@BrutalBirdie Oh okay I'm using Yourls and was going to switch to Kutt if it generated the QR code. I found a QR code plugin for Yourls but it uses Google Chart API. I prefer to avoid using Google services if possible so I'm still on the lookout for a more seamless integration/workflow.
-
@humptydumpty looking at the Github repo, Kutt does generate QR code, from a react library.
I've never used it though, so I can't confirm it works. ; )
-
What is Kutt's idle RAM usage? Yourls is showing as 11mb in my graphs.
-
~200MB RAM
-
@BrutalBirdie That's great. I can spare 200mb. Thanks!
-
Wow. Kutt is much nicer than Yourls. The CR docs mention that you can add your email to the admin, contact, and report fields in the .env file. However, that email is displayed on the "report" page for all to see (if you fill in the report and contact fields) so keep that in mind.
Also, you can only report a shortened URL that is using the main domain and none of the alias-based URLs (if that applies to you) so the whole feature is useless if you have multi-domains and open registration.