Hacker News new | ask | show | jobs
by antihero 2107 days ago
Could you plausibly make it a URL where the code in the URL is assembled and run using webassembly?
1 comments

The point is to not rely on a server to host anything though. That the QR contains the data itself, not just a URL pointing to the data. Otherwise it is no different from any other QR code that has a URL in it.
The suggestion, I think, is to put the code in the URL itself, not use the URL as a pointer.

You could probably use a data: URL to avoid needing a server at all, but if not, the server would just provide a launcher and not host the application code.

If the binary data is too big to fit in QR, then URL encoding is only going to require more bytes, and it will not fit either.