A lightweight, privacy-focused, 100% offline CLI tool to generate and decode QR codes.
Many free online QR generators track user data, inject third-party ad redirects, or lock features behind sudden paywalls. ChevronQR runs entirely on your local machine—ensuring your URLs, Wi-Fi credentials, and messages remain private and ad-free.
- Multi-Format Generation: Create standard
.pngimages or infinitely scalable vector.svgfiles. - Custom Branding: Embed a custom logo/image perfectly into the center of your QR codes (powered by High Error Correction Level).
- Data Helper Templates: Easily format complex strings for Wi-Fi networks and pre-composed emails.
- Offline Scanner: Decode existing QR code images back into plaintext directly inside your terminal.
- Cross-Platform: Native support for both Linux and Windows.
Instead of using Python virtual environments, install required packages via your system package manager:
sudo apt update
sudo apt install python3-qrcode python3-pyzbar python3-pil libzbar0git clone https://github.com/YOUR_USERNAME/ChevronQR.git
cd ChevronQRTo run ChevronQR from anywhere in your terminal:
Open your shell configuration file:
nano ~/.bashrcIf you're using Zsh, edit
~/.zshrcinstead.
Add the following line (adjust path accordingly):
alias ChevronQR="python3 /home/kali/Desktop/ChevronQR/ChevronQR.py"Save and exit:
CTRL + O→ EnterCTRL + X
Reload configuration:
source ~/.bashrcNow you can run:
ChevronQR -helpChevronQR -gen "https://stargate.fandom.com" -o cQR.pngChevronQR -gen "Destiny" \
--type wifi \
--wifi-pass "9Chevron" \
--logo star_uni.png \
-o wifi_setup.pngChevronQR -gen "jack.oneill@sgc.mil" \
--type email \
--email-sub "Mission Debrief" \
--email-body "It's O'Neill, with two L's." \
-o email.pngChevronQR -gen "Destiny" \
--type wifi \
--wifi-pass "9Chevron" \
--logo star_uni.png \
-o wifi_setup.pngChevronQR -show wifi_setup.pngIn Linux shells (Bash/Zsh), the exclamation mark (!) is used for history expansion.
If used inside double quotes, it may cause errors like dquote>.
- Escape it using a backslash:
--email-body "Check this out\!"This project is licensed under the MIT License.