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.
- Make sure you have Node.js (v14 or later) installed on your machine.
- Clone this repository:
git clone <repository-url>
- Navigate to the project directory:
cd qr-code-generator-nodejs
- Install dependencies:
npm install
- Run the application:
node index.js
- You will be prompted to enter the URL of the image you wish to encode.
- After entering the URL, the application will generate a QR code image and save it as "qr_img.png" in the project directory.
- Additionally, the provided URL will be saved in a text file named "URL.txt" for future reference.
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.
This project is licensed under the MIT License.
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.