Collection of miniature apps/minigames that fit into a single QR code. All apps follow same rules:
- Fit within single QR code. Any tricks are okay as long as QR code is scannable.
- Do not require any external resources. Apps are fully operable if scanned from paper ("hard copy") without internet connection on scanning device.
These codes can be scanned by your device of choice and content pasted directly into browser URL. Since QR code content is Data URL, it contains everything needed within itself.
For fun, challenge and as a demonstration of modern browser capabilities. Fitting entire app in one QR code also keeps them relatively small and simple... until author tries to squeeze code too hard and it becomes unreadeable 😂
This is also a good source of compact code examples. Some of them were inspired by examples I had found, but stripped down from all the fluff and simplified. Instead of including some 10kb+ libraries and then having 3-line example, these are within 200 lines of code and nothing is hidden from you.
Each app is HTML/JS/CSS webpage contained within own directory in apps
. Scripts qr.py
and qrs.py
will convert each app into QR code by 'minifying'/'uglyfying' it and inlining all JS/CSS/whatever into single HTML. This HTML then encoded as Data URL and QR code of said URL is generated.
Generated automatically on push and published to https://worldemar.github.io/qrapps/