QR Lite is a browser extension for generating and scanning QR codes offline.
Chrome is supported, however this extension is NOT available on Chrome Web Store, you have to build and install it from source yourself.
QR Lite requires the following permissions:
activeTab
): mandatory, enables capturing image of the active page for scanningcontextMenus
): mandatory, enables the context menu itemsstorage
): mandatory, enables preferences and history persistence on diskclipboardWrite
): mandatory, enables copying QR code images or text to clipboardscripting
): mandatory, enables script injection for the following scenarios:
<all_urls>
): optional, required to read image data from websites when you click "Scan QR code in image" in the context menu. Also in older Firefox versions, this permission is also needed to capture image of the web page.Prerequisites: yarn, pnpm(qr-scanner-wechat)
yarn
to install dependencies.yarn dev
to watch source files and automatically build the add-on when they change.dist/{firefox,chrome}/manifest.json
in the project root.Use the script in /opencv
to update the pre-built OpenCV library and wasm.
Build steps on Linux:
node
, yarn
, and the zip
command installed../scripts/release.sh
. After this you'll get two zip files in the release
directory: qr-lite-release-xxxxxxxx.zip
is the installable extension, while qr-lite-source-xxxxxxxx.zip
is the source code zip.As of now, QR Lite supports the following languages:
You're welcome to help translate QR Lite into your language, just submit a pull request.
MIT