Repository navigation
Releases: foxhands/qrcode
Releases · foxhands/qrcode
Release list
Version 2.0.0 - Phase 1 Complete
Phase 1 improvements: WiFi QR, colors, SVG export, bug fixes
✨ New Features:
- WiFi QR code generation with SSID, password, security type, hidden network support
- Colored QR codes with 12 available colors (foreground/background)
- SVG export format for vector graphics
- Interactive mode with menu-driven interface
- Enhanced QR code type detection (WiFi, URL, email, phone)
🐛 Bug Fixes:
- Fixed argument parsing logic where args.input and args.output never executed
- Added file existence validation for QR decoding
- Improved error handling with user-friendly messages
- Fixed Windows filename compatibility issues
🎨 UI/UX Improvements:
- Beautiful colored terminal output with emojis
- Comprehensive help with usage examples
- Input validation (empty strings, length limits)
- Progress indicators and status messages
- Detailed QR code information display
🔧 Technical Improvements:
- Modular code structure with better separation of concerns
- Enhanced exception handling and logging
- Cross-platform color support with colorama
- Comprehensive command-line argument parsing
- Updated dependencies for latest security patches
📝 Usage Examples:
- Basic: ./qrgenerator.py -i "Hello World"
- Colored: ./qrgenerator.py -i "Text" --fg red --bg yellow
- WiFi: ./qrgenerator.py --wifi "Network" "Password"
- SVG: ./qrgenerator.py -i "Text" -f svg
- Decode: ./qrgenerator.py -d "qrcode.png"
🏗️ Files Changed:
- qrgenerator.py: Complete rewrite with new features
- requirements.txt: Added svgwrite dependency
- Maintained backward compatibility with existing usage patterns
QRGenerator v1.0
Key Features:
QR Code Generation
Convert text strings to QR codes stored as PNG files
Auto-create qrcodes/ directory for image storage
Terminal preview of generated QR codes
QR Code Decoding
Extract text content from QR images (PNG/JPEG)
Clear success/failure indicators with color-coded output
Flexible Input Modes
Command-line arguments (-i/--input, -o/--output, -d/--decode)
Interactive mode when launched without arguments
🛠 Improvements & Fixes:
Cross-Platform Compatibility
Fixed filename timestamp formatting for Windows (replaced : with -)
Auto Directory Handling
Script now automatically creates qrcodes/ directory on first run
Enhanced Error Handling
Detailed tracebacks for debugging and graceful keyboard interrupt handling
Optimized Output
Color-coded terminal messages using Colorama:
Green: Success operations
Red: Errors and warnings
Blue: Interactive prompts