qr-lite icon indicating copy to clipboard operation
qr-lite copied to clipboard

A Firefox addon for generating and scanning QR codes.

QR Lite

QR Lite icon

QR Lite is a browser extension for generating and scanning QR codes offline.

Get the addon

Features

  • Generate QR code for current tab in popup.
  • Generate QR code for selected link/text.
  • Change error correction level of generated QR code.
  • Scan QR codes in images.
  • Keep track of generating and scanning history.

Supported Browsers

This extension only supports Firefox at the moment.

Development

Prerequisites: yarn, pnpm(qr-scanner-wechat)

  1. Clone this repo and sync the submodules.
  2. Run yarn to install dependencies.
  3. Run yarn run prepare to build the modified qr-scanner-wechat and copy it to src/.
  4. Run yarn dev to watch source files and automatically build the add-on when they change.
  5. Load the temporary add-on by going to about:debugging#/runtime/this-firefox, then click "Load Temporary Add-on.." and choose dist/manifest.json in the project root.

Use the script in /opencv to update the pre-built OpenCV library and wasm.

Building

Build steps on Linux:

  1. Make sure you have node, yarn, pnpm (for building qr-scanner-wechat), and the zip command installed.
  2. Open terminal and cd to project root.
  3. Run ./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.

Localization

QR Lite supports the following languages:

  • English
  • 中文
  • 日本語

Help us translate QR Lite into your language at Crowdin.

Crowdin

Credits

License

MIT