https://github.com/anshuman-02/qr-code-project
A simple Node.js project that generates a QR code from a user-input URL.
https://github.com/anshuman-02/qr-code-project
automation codingprojects javascript nodejs opensource qrcode webdevelopment
Last synced: 3 months ago
JSON representation
A simple Node.js project that generates a QR code from a user-input URL.
- Host: GitHub
- URL: https://github.com/anshuman-02/qr-code-project
- Owner: Anshuman-02
- Created: 2025-02-17T15:21:50.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-17T15:52:10.000Z (12 months ago)
- Last Synced: 2025-02-17T16:32:49.414Z (12 months ago)
- Topics: automation, codingprojects, javascript, nodejs, opensource, qrcode, webdevelopment
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QR Code Generator 🏷️
A simple **Node.js** project that generates a QR code from a user-input URL. The generated QR code is saved as an image, and the URL is stored in a text file.
## 📌 Features
- Takes user input for a URL.
- Generates a **QR code** using `qr-image` package.
- Saves the QR code as `qr_img.png`.
- Stores the URL in `URL.txt`.
## 🛠 Technologies Used
- **Node.js**
- **Inquirer.js** (for user input)
- **qr-image** (for QR code generation)
- **fs (File System module)** (to save files)
## 🚀 How to Run the Project
1. Clone the repository:
```bash
git clone https://github.com/Anshuman-02/QR-Code-Generator.git
2. Navigate to the project folder:
```bash
cd QR-Code-Generator
3. Install dependencies:
```bash
npm install
4. Run the script:
```bash
node solution.js
5. Enter a URL, and the QR code will be generated as `qr_img.png`!
## 🏷️ Hashtags
#NodeJS #QRCode #WebDevelopment #JavaScript #OpenSource #CodingProject #Automation