1
0
Fork
You've already forked qr_generator
0
No description
  • Python 59%
  • Makefile 33.3%
  • Dockerfile 7.7%
2026年05月09日 07:15:18 -06:00
.forgejo/workflows chore: bump and pin docker-run-action 2026年04月29日 07:21:58 -06:00
.github Update docker/metadata-action digest to 8d8c7c1 2025年11月05日 14:46:23 -07:00
.dockerignore start 2024年03月05日 16:17:28 -07:00
.gitignore start 2024年03月05日 16:17:28 -07:00
Dockerfile Update python:3.13 Docker digest to 3f47130 2026年04月22日 09:14:41 -06:00
LICENSE Initial commit 2024年03月05日 22:10:54 +00:00
main.py start 2024年03月05日 16:17:28 -07:00
Makefile drop the pwsh dependency 2024年05月20日 17:08:46 -06:00
README.md drop the pwsh dependency 2024年05月20日 17:08:46 -06:00
renovate.json enable security alerts 2024年11月12日 22:40:44 -07:00
requirements.txt Update dependency requests to v2.33.0 [SECURITY] 2026年03月25日 20:19:38 -06:00

QR Generator

This program provides a web interface to generate a QR code with an image embedded in it. I am attempting to create QR codes that are resilient to "quishing" attacks. I have QR codes that are deployed to public areas to send people to informational website. These QR codes are in areas where it is possible for someone to tamper with them by overlaying their own sticker/image.

How to run

You only need docker to run this program. The following command will run it and make it accessible to http://localhost:3008 for you to use.

docker run -it --rm -p 127.0.0.1:3008:3008 bmcclure89/qr_generator:main

How to build

To follow my build you will need GNU Makefile, and docker. With those dependencies, you can run make and it will build the docker image, and run the latest tag in interactive mode basically running the command above for you so you can see the logs from the app.

You can run the python script without any of that, just create a venv (python -m venv ".venv"), activate it (source .venv/bin/activate), install pip requirements (pip install -r requirements.txt) and then run (python main.py)