Welcome to the digital wizardry workshop, where boring URLs are transformed into mysterious QR glyphs.
Just type in your link, press the button, and voilà – your very own QR code is born!
This is QR Code Generator, powered by Python, Flask, and a pinch of magic. ✨
- Launch the app:
python main.py
- Open your browser at localhost:5000.
- Paste any URL into the form.
- Behold your QR code! Download it, share it, or show it off to your grandma. 🖼️
- Because typing endless URLs is boring, but showing off a QR code is classy! 😎
- Works faster than your morning coffee. ☕
- Friendly UI – so simple, even your cat could use it. 🐾
- Powered by Flask – no complicated stuff, just pure Python bliss.
- QR code magic by the
qrcodelibrary. - Output is beamed directly to your browser as an image, ready to scan.
Application quality is checked with automated tests.
You’ll find test files in the tests/ directory.
To make sure the user interface works and QR codes are generated correctly, we use Playwright for end-to-end testing.
- Make sure Playwright is installed:
pip install playwright playwright install
- Start the app (
python main.py) – it should run in the background. - Run the Playwright tests from the
testsdirectory:pytest tests/
The tests check that:
- The application is reachable.
- A QR code can be generated from a URL.
- The results are correctly displayed in the UI.
If you want to add your own tests, check out
tests/test_app.pyfor inspiration.
Lovingly crafted by Hanka Robovska
This project is licensed under the MIT License. See the LICENSE file for details. Free to use, modify, and distribute as needed.