QR Code Generator is a versatile command-line tool designed to create QR codes for text, Wi-Fi networks, contacts, email messages, SMS, and geo-locations. Its primary purpose is to enable users to generate scannable QR codes directly from the terminal, offering flexibility and efficiency for developers, IT professionals, and anyone needing quick QR code creation.
Key Features:
Generates QR codes for multiple data types, including text URLs, Wi-Fi configurations, vCard contacts, email messages, SMS prompts, and geographic locations.
Provides an interactive menu to guide users through generating complex QR codes with ease.
Displays QR codes directly in the terminal using Unicode characters.
Supports saving QR codes as high-quality PNG files for further use.
Audience & Benefit:
Ideal for developers, system administrators, and IT professionals who prefer command-line tools, this utility streamlines QR code generation without the need for graphical interfaces. It saves time by enabling quick creation of customized QR codes directly from any system, eliminating the need to use online tools or GUI-based applications.
Installation is available via Winget (Windows Package Manager).
README
QR Code Generator
A versatile command-line tool for generating various types of QR codes, available as a standalone Windows executable and Python script.
Features
š„ļø Interactive Menu: User-friendly wizard for generating complex QR data.
š¶ Wi-Fi Config: Create scannable Wi-Fi codes with SSID, password, and encryption.
š vCard Contacts: Generate contact cards for quick address book import.
š§ Communication: Pre-fill Email and SMS messages.
š Geo Location: Encode latitude and longitude for map locations.
š± Terminal View: Display QR codes directly in your console using Unicode.
š¾ File Export: Save QR codes as high-quality PNG images.
Installation
Option 1: Via Winget (Windows Package Manager)
Once approved, simply run:
winget install qrcode-gen
Option 2: Standalone Executable
Download the latest qr-code-generator.exe from the Releases page. No Python installation required.
Option 3: Python Source
Clone the repository:
git clone https://github.com/edjepaz/qr-code-generator.git
cd qr-code-generator
Install dependencies:
pip install qrcode[pil]
Usage
Simply launch the application to see the interactive menu:
# If using Python script
python qr-code-generator.py
# If using executable
./qr-code-generator.exe
Menu Options
Text / URL: Standard text or website link.
Wi-Fi Network: Enter SSID, Password, Encryption (WPA/WEP), and Hidden status.
Contact (vCard): Enter Name, Phone, Email, and Organization.
Email: Enter Recipient, Subject, and Body.
SMS: Enter Phone Number and Message.
Geo Location: Enter Latitude and Longitude.
Example
Select QR Code Type:
1. Text / URL
2. Wi-Fi Network
3. Contact (vCard)
4. Email
5. SMS
6. Geo Location
Enter choice (1-6): 2
Enter SSID (Network Name): MyHomeWiFi
Enter Password: **********
Enter Encryption Type (WPA/WEP/nopass) [Default: WPA]: WPA
Is the network hidden? (true/false) [Default: false]: false
Displaying QR code in terminal:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āā āāāāā ā ... (QR code appears here)
...
Save to file? (y/n): y