Skip to content

muleyuck/Text2QR

Repository files navigation

unit-test

Text2QR

Overview

A simple Chrome extension that generates QR codes from selected text on any webpage.
Perfect for quickly sharing text content, URLs, or any other information through QR codes.

Features

  • Right-click Context Menu: Generate QR codes directly from selected text

Installation

Download from Releases

  1. Download release.zip from Releases

From Source

  1. Clone this repository:
git clone https://github.com/muleyuck/Text2QR
cd text2qr
  1. Install dependencies:
npm install
  1. Build the extension:
npm run build

Load the extension in Chrome:

  • Open Chrome and navigate to chrome://extensions/
  • Enable "Developer mode" in the top right
  • Click "Load unpacked" and select the dist folder

Usage

  1. Select text on any webpage
  2. Right-click on the selected text
  3. Choose "Generate QR Code" from the context menu
  4. Scan the QR code with any QR code reader

The QR code will contain the exact text you selected and can be scanned by any device with a QR code reader.

Technology Stack

  • React 19 - Modern React with latest features
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first CSS framework
  • Vite - Fast build tool and dev server
  • qrcode.react - QR code generation library

QR Code Settings

  • Error Correction Level: L (Low) - ~7% error correction
  • Size: 256x256 pixels
  • Margin: 4 modules
  • Logo: Custom favicon embedded and excavated

Browser Compatibility

  • Chrome (Manifest V3)
  • Edge (Chromium-based)
  • Other Chromium-based browsers

LICENCE

The MIT Licence

About

⏹ A simple Chrome extension that generates QR codes from selected text on any webpage

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published