Hi All!
The end goal here is to print QR code Christmas present tags that when scanned direct the person to a very simple page that just displays one image (per page, one page for each person). Before Christmas Eve, the image will be something generic, but on Christmas morning it will be the appropriate person’s name (I will swap the image on Christmas Eve, no need for fancy date recognition or anything).
I am sure this is a very simple job, but I am clearly not searching for the appropriate key words/tricky phrases to make my search results yield what I need. Just looking for instructions for how to create and self-host this, it only needs to be accessible on my local network…super simple.
Can anyone direct me to a guide or guides that will give me an idea of not just how to setup apache, mariaDB, etc, but then what to do to actually display something on the page?
Thanks!
EDIT: If there is a simpler non-self hosted option, I am all ears, but I don’t want to buy a domain, use WIX (or something similar), etc.
If it’s only on your local network, you can achieve this pretty easily with python’s built in http web server. Find a site that transforms urls into QR codes, save them in a directory on your computer, slap some html and css in there to present the QR code images how you want, and create a few simple routes for the corresponding images. Put it all in a index.html file, then open a terminal in that folder and type
python3 -m http.server
Read the docs on that command to specify the address and such. You’ll need that to be consistent for the QR code generation step.