Sample CLI
gway qr generate-b64data
Docstring
Generate a QR code image from the given value and return it as a base64-encoded PNG string.
Sample CLI
gway qr generate-image
Signature
(value, *, path=None)
Docstring
Generate a QR code image from the given value and save it to the specified path.
If path is not provided, we use a random uuid to name it, unrelated to the value.
Sample CLI
gway qr generate-url
Docstring
Return the local URL to a QR code with the given value.
This will only work when the website is up and running to serve /work
This generates a new QR code image if needed, or uses a cache if possible.
Sample CLI
gway qr scan-img
Docstring
Scan the given image (file‑path or PIL.Image) for QR codes and return
a list of decoded string values. Returns [] if nothing’s found.
Sample CLI
gway web.app render-navbar
References
['qr', 'qr.generate_url', 'resource']
Signature
(visited, path, current_url=None)
Sample CLI
gway web.site view-qr-code
References
['qr', 'qr.generate_url', 'web', 'web.app_url']
Signature
(*args, value=None, **kwargs)
Docstring
Generate a QR code for a given value and serve it from cache if available.