Skip to content

harishsemwal/QR-Code-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

QR Code Generator

This project allows you to generate a QR code from a URL input provided by the user. The QR code is saved as a PNG image, and the URL is also saved in a text file.

Features

  • Generate QR codes from user input URLs.
  • Save the QR code image as a PNG file.
  • Save the URL in a text file for future reference.

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository:

    https://github.com/Harishsemwal/QR-Code-Quick-Response-Code-Generator.git
  2. Navigate to the project directory:

    cd QR-Code-Quick-Response-Code-Generator
  3. Install the dependencies:

    npm install

Usage

  1. Run the script:

    node index.js
  2. The script will prompt you to enter a URL.

  3. Once you provide the URL, the script will generate a QR code and save it as a PNG image (image.png).

  4. The URL will also be saved in a text file (URL.txt).

Releases

No releases published

Packages

No packages published