Bash Cards are physical or digital QR codes that contain locked-in Bash scripts. Each card performs a specific function—system checks, network scans, install routines, or simulations. They are scanner-operated, keyboard-free tools for Linux environments.
sample card QR
Each Bash Card QR is compiled from a script using the following compression and embedding method:
#!/bin/bash [ $# -ne 1 ] && echo "Usage: $0 filename.sh" && exit 1 in="$1" out="QR$(basename "$in")" b64=$(gzip -c "$in" | base64 -w0) echo 'bash -c "$(echo '$b64' | base64 -d | gunzip)"' > "$out" echo "Created: $out"
If you'd like to inspect or modify a card's script, scan the QR into a file, then extract it:
grep -oP '"\$\(echo .*?\)"' QRcard | \ sed -E 's/.*echo (.*) \| base64 -d \| gunzip.*/\1/' | \ base64 -d | gunzip > unpacked.sh
This will extract the original script to unpacked.sh
for editing or review.
$ ./ace-of-hearts.sh [+] Checking system... [+] Memory OK [+] Storage OK [+] CPU Temp Normal [✔] Ready
Use a 4×6 thermal shipping label printer. Bash Cards are designed to fit perfectly on thermal paper. This enables fast, inkless printing of durable cards for field or mobile use. Click "Print Card" to generate a printable QR sheet.
On the site, you can generate new cards using the Bash Card Creator. Choose suit, rank, enter script or prompt, preview it, then save it to your homepage for future access and printing.
The ID Badge is a special card that installs dependencies and registers your user name. Scan it first. It sets up your environment so all other cards can run cleanly and identify your instance.
View all decks and generate custom cards at studio.wizard.shoes