A simple Node.js command-line tool that generates QR codes from URLs in multiple formats.
- 📱 Generate QR codes from any URL
- 🎨 Multiple output formats: PNG, SVG, EPS, and PDF
- 💾 Saves the original URL in a text file
- ⚡ Fast and lightweight
- 🖥️ Interactive command-line interface
- Clone this repository:
git clone https://github.com/neuralnouman/qrcode-generator.git
cd qrcode-generator- Install dependencies:
npm installRun the application:
node index.jsEnter the URL when prompted, and the tool will generate:
qr_code.png- PNG format QR codeqr_code.svg- SVG format QR codeqr_code.eps- EPS format QR codeqr_code.pdf- PDF format QR codeurl.txt- Text file containing the original URL
$ node index.js
? Enter the URL to generate its QR Code: https://github.com/neuralnouman
QR Code saved in PNG, SVG, EPS, and PDF formats.
URL saved to url.txt- Node.js (version 12 or higher)
- npm
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
Nouman - @neuralnouman
⭐ If you found this project helpful, please give it a star!