QR Code Generator is a simple Node.js script that allows users to generate QR codes from URLs and save them as images. Additionally, it saves the URL to a text file.
- Generate QR codes from user-entered URLs.
- Save the QR code images as PNG files.
- Save the entered URLs to a text file.
- Clone the repository to your local machine:
QR Code Generator is a simple Node.js script that allows users to generate QR codes from URLs and save them as images. Additionally, it saves the URL to a text file.
- Generate QR codes from user-entered URLs.
- Save the QR code images as PNG files.
- Save the entered URLs to a text file.
-
Clone the repository to your local machine: git clone https://github.com/DevPatel1023/QR-Code-Genrator.git
-
Navigate to the project directory: cd QR-Code-Genrator
-
Install dependencies: npm install
-
Run the script: node index.js
-
Follow the prompts to enter the URL.
-
The script will generate a QR code image and save it as
domainname.png
. It will also save the URL to a text file namedURL.txt
.
- inquirer - For user prompts.
- qr-image - For generating QR codes.
- fs - Node.js built-in module for file system operations.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.