Skip to content

A simple Node.js application that generates QR codes from user-inputted URLs using inquirer for input, qr-image for QR code generation, and fs for file handling.

Notifications You must be signed in to change notification settings

abdulrahmans0414/QR-Code-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code Generator

QR Code Generator is a Node.js application that allows users to generate QR codes from URLs. It uses the inquirer npm package for user input, qr-image npm package to create QR code images, and native fs module for file handling.

Prerequisites

Make sure you have Node.js installed on your system. If not, you can download it from nodejs.org.

Getting Started

  1. Clone the repository to your local machine.
  2. Install dependencies using npm install.
  3. Run the application using node index.js.
  4. Follow the prompts to enter the URL you want to generate a QR code for.

Usage

After entering the URL, the application will generate a QR code image and save it as qr_img.png. The entered URL will also be saved in a text file called URL.txt.

Dependencies

  • inquirer: For interactive command-line prompts.
  • qr-image: For generating QR code images.
  • fs: Native Node.js module for file system operations.

Contributing

Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple Node.js application that generates QR codes from user-inputted URLs using inquirer for input, qr-image for QR code generation, and fs for file handling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages