Skip to content

This Node.js application is a QR Code Generator that allows users to simply generate QR codes for photos by specifying a URL. The generator makes use of the npm module "inquirer" to interact with users through the command line, "qr-image" to produce QR codes, and "fs" to save the generated QR code as an image and the specified URL in a text file.

License

Notifications You must be signed in to change notification settings

tonykalalian/qr-code-generator-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aee977ce-f946-4451-8b9e-bba278ba5f13

QR Code Generator - Node.js

License Node.js npm

Description

The QR Code Generator is a versatile Node.js application that allows users to effortlessly create QR codes for their favorite images by simply providing a URL. The generator leverages the "inquirer" npm library to interact with users via a command-line interface, "qr-image" for producing QR codes, and "fs" to save the generated QR code as an image and store the provided URL in a text file.

Table of Contents

Installation

  1. Make sure you have Node.js (v14 or later) installed on your machine.
  2. Clone this repository: git clone <repository-url>
  3. Navigate to the project directory: cd qr-code-generator-nodejs
  4. Install dependencies: npm install

Usage

  1. Run the application: node index.js
  2. You will be prompted to enter the URL of the image you wish to encode.
  3. After entering the URL, the application will generate a QR code image and save it as "qr_img.png" in the project directory.
  4. Additionally, the provided URL will be saved in a text file named "URL.txt" for future reference.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request. For major changes, please open an issue first to discuss the proposed changes.

License

This project is licensed under the MIT License.

Acknowledgments

  • The inquirer npm library for user interaction.
  • The qr-image npm library for QR code generation.

Feel free to customize the repository name, description, and README file further to match your preferences and project specifics. Additionally, consider adding more sections to the README file, such as "Troubleshooting," "FAQs," "Support," etc., depending on the complexity and features of your application.

About

This Node.js application is a QR Code Generator that allows users to simply generate QR codes for photos by specifying a URL. The generator makes use of the npm module "inquirer" to interact with users through the command line, "qr-image" to produce QR codes, and "fs" to save the generated QR code as an image and the specified URL in a text file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published