Skip to content

Collection of miniature apps that fit into a single QR code

License

Notifications You must be signed in to change notification settings

worldemar/qrapps

Repository files navigation

CodeQL GutHub Pages prospector

QR Code Apps

What is it?

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.

How to use?

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.

Why would you do that?

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.

How does it work?

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.

Collection of QR apps!

Generated automatically on push and published to https://worldemar.github.io/qrapps/

About

Collection of miniature apps that fit into a single QR code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published