Tired of using platforms to create QR codes and sign up? There's now a solution. This QR Code generator helps you make QR Codes for any site.
A modern, production-ready QR Code generator CLI built with TypeScript and Node.js. Generate QR codes from any text or URL directly from your terminal.
- Generate QR codes from any text or URL
- Outputs high-quality PNG files
- Clean CLI interface with helpful error messages
- Written entirely in TypeScript with strict type checking
- ESLint and Prettier for code quality
- Lightweight with minimal dependencies
git clone https://github.com/vortexsinclair/qrcode_gennpm installpnpm installnpm run generate https://example.comor
pnpm run generate https://example.comnpm run generate https://openai.com
pnpm run generate https://github.com
npm run generate "Hello World"✔ QR code generated successfully!
Saved to qrcode_example.com.png
Generated QR codes are saved in the project root with a name derived from the input:
| Command | Output File |
|---|---|
npm run generate https://example.com |
qrcode_example.com.png |
npm run generate https://github.com |
qrcode_github.com.png |
npm run generate "Hello World" |
qrcode_Hello_World.png |
npm run buildnpm run lintnpm run format- Language: TypeScript
- Runtime: Node.js
- QR Library: qrcode
- Linting: ESLint with TypeScript plugin
- Formatting: Prettier
- Package Manager: npm / pnpm
MIT License. See LICENSE for details.
Contributions are welcome! Feel free to open issues or submit pull requests.
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Commit your changes (
git commit -m "Add my feature") - Push to the branch (
git push origin feature/my-feature) - Open a Pull Request
- qrcode — QR code generation library