Feature Request: Dynamic QR Codes
It would be nice if dynamic QR codes could be added where they direct to the server and its specified QR code and then redirect to the link so that QR codes can be updated later just like those paid for QR code generators for example: www.qrcode-monkey.com and www.qr.io
One day when I have time XD or if anyone knows how to do it, feel free to comment to propose the approach
I think it's quite similar to https://github.com/lyqht/mini-qr/issues/68
You would need to have an account system, and then the users put in links and you generate QR codes that have https://mini-qr-code-generator.vercel.app/redirect/123456789 and then every time the link is clicked you have to do a database lookup.
The QR code creator can then login to their account to change its destination.
This requires more than a static server though, so not sure if this is in the scope of the project?
Hi @IsaacHatton , thanks for pointing that issue out and mentioning the approach!
Yes it will involve setting up a server & db to achieve these functionalities. I do want to implement these eventually but these features will have to be paywalled since servers & dbs are not easily hosted to be free. But of course the entire system should still be able to be self-hosted by anyone.
Why would dynamic QR codes need to be paywalled? If you needed monitory support for building this system then that's understandable. However, requiring a paid service just because a database is needed doesn’t seem necessary.
Users can easily self-host the database on their own server using MariaDB, PostgreSQL, or SQLite, and then use a reverse proxy to manage access. The QR code’s unique identifier can simply be stored in this database for dynamic redirection.
I run multiple databases on my NAS using this approach. For example, I use Homebox, which generates QR codes that link to each of my items using a unique asset id and SQLite.
If the goal is to monetize your work then that’s understandable. But self-hosting dynamic QR codes is entirely feasible without requiring a paid server or database.
I believe @lyqht was referring to their hosted version having a paywall, if you were to self host this would be free?
Oh I see
For your use case, does using one of these to create the link, then copying it over to this tool to make the QR code work?
https://github.com/738/awesome-url-shortener
Like this?
https://wr.do/api/v1/scraping/qrcode?key=16f054b5-455d-43f7-8131-9ccf739e873c&url=https://wr.do/s/ai
I create a link short project ( https://wr.do ), and it integrates the generation of QR codes, which can generate corresponding short chain QR code images through APIs. However, mini-qr is far more customizable than mine. Next, I will explore how to integrate the mini-qr.
Like this?
https://wr.do/api/v1/scraping/qrcode?key=16f054b5-455d-43f7-8131-9ccf739e873c&url=https://wr.do/s/aiI create a link short project ( https://wr.do ), and it integrates the generation of QR codes, which can generate corresponding short chain QR code images through APIs. However, mini-qr is far more customizable than mine. Next, I will explore how to integrate the mini-qr.
Yes like this