sayanarijit/qrcode.show

Generate QR code easily for free - QR Code Generation as a Service

HTML

636

72 commits

updated Jul 1, 2026

See the code

README

QRcode.show demo

NAME

QRcode.show - Generate QR code easily for free - QR Code Generation as a Service

USAGE

curl qrcode.show/INPUT
curl qrcode.show -d INPUT
curl qrcode.show -d @/PATH/TO/INPUT
echo INPUT | curl qrcode.show -d @-

USAGE EXAMPLES

curl qrcode.show/https://example.com
curl qrcode.show -d https://example.com
curl qrcode.show -d @/path/to/input.txt
echo https://example.com | curl qrcode.show -d @-

PARAMETERS

HeaderDescriptionFormat / Options
acceptoutput typeapplication/octet-stream, text/plain, text/html, image/svg+xml, image/png, image/jpeg
x-qr-widthdefault width
x-qr-heightdefault height
x-qr-min-widthminimum width
x-qr-min-heightminimum height
x-qr-max-widthmaximum width
x-qr-max-heightmaximum height
x-qr-dark-colordark color (hex)rrggbb
x-qr-light-colorlight color (hex)rrggbb
x-qr-version-typeQR version typenormal, micro
x-qr-version-numberQR version number1 -> 40 for normal, 1 -> 4 for micro.
x-qr-ec-levelerror checking levelL, M, Q, H
x-qr-quiet-zoneadd quiet zonetrue/ false

PARAMETER EXAMPLES

curl qrcode.show/INPUT -H accept:image/svg+xml

SHELL FUNCTIONS

Shell functions that can be added to .bashrc or .bash_profle for quickly generating QR codes from the command line. The command takes the argument as input or reads from stdin if none was supplied and outputs the QR code to stdout.

qrcode () {
    local input="$*"
    [ -z "$input" ] && local input="@/dev/stdin"
    curl -d "$input" https://qrcode.show
}
qrsvg () {
    local input="$*"
    [ -z "$input" ] && local input="@/dev/stdin"
    curl -d "${input}" https://qrcode.show -H accept:image/svg+xml
}
qrserve () {
    local port=${1:-8080}
    local dir=${2:-.}
    local ip="$(ifconfig | grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | fzf --prompt IP:)" \
    && echo http://$ip:$port | qrcode \
    && python -m http.server $port -b $ip -d $dir
}

FEATURES

  • No data collection or retention.
  • Fast and simple API that works on both web and terminal.
  • Supports GET and POST requests.
  • Supports accept header to control the output format.

CREDITS

NOTE: Only the direct dependencies for the core logic are listed here Please contact the project maintainer if you are missing from the list.

© Arijit Basu 2026

qr
qr-code
qrcode
qrcode-generator
rust
terminal
webapp

sayanarijit/qrcode.show

Generate QR code easily for free - QR Code Generation as a Service

HTML

636

72 commits

updated Jul 1, 2026

See the code

README

QRcode.show demo

NAME

QRcode.show - Generate QR code easily for free - QR Code Generation as a Service

USAGE

curl qrcode.show/INPUT
curl qrcode.show -d INPUT
curl qrcode.show -d @/PATH/TO/INPUT
echo INPUT | curl qrcode.show -d @-

USAGE EXAMPLES

curl qrcode.show/https://example.com
curl qrcode.show -d https://example.com
curl qrcode.show -d @/path/to/input.txt
echo https://example.com | curl qrcode.show -d @-

PARAMETERS

HeaderDescriptionFormat / Options
acceptoutput typeapplication/octet-stream, text/plain, text/html, image/svg+xml, image/png, image/jpeg
x-qr-widthdefault width
x-qr-heightdefault height
x-qr-min-widthminimum width
x-qr-min-heightminimum height
x-qr-max-widthmaximum width
x-qr-max-heightmaximum height
x-qr-dark-colordark color (hex)rrggbb
x-qr-light-colorlight color (hex)rrggbb
x-qr-version-typeQR version typenormal, micro
x-qr-version-numberQR version number1 -> 40 for normal, 1 -> 4 for micro.
x-qr-ec-levelerror checking levelL, M, Q, H
x-qr-quiet-zoneadd quiet zonetrue/ false

PARAMETER EXAMPLES

curl qrcode.show/INPUT -H accept:image/svg+xml

SHELL FUNCTIONS

Shell functions that can be added to .bashrc or .bash_profle for quickly generating QR codes from the command line. The command takes the argument as input or reads from stdin if none was supplied and outputs the QR code to stdout.

qrcode () {
    local input="$*"
    [ -z "$input" ] && local input="@/dev/stdin"
    curl -d "$input" https://qrcode.show
}
qrsvg () {
    local input="$*"
    [ -z "$input" ] && local input="@/dev/stdin"
    curl -d "${input}" https://qrcode.show -H accept:image/svg+xml
}
qrserve () {
    local port=${1:-8080}
    local dir=${2:-.}
    local ip="$(ifconfig | grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | fzf --prompt IP:)" \
    && echo http://$ip:$port | qrcode \
    && python -m http.server $port -b $ip -d $dir
}

FEATURES

  • No data collection or retention.
  • Fast and simple API that works on both web and terminal.
  • Supports GET and POST requests.
  • Supports accept header to control the output format.

CREDITS

NOTE: Only the direct dependencies for the core logic are listed here Please contact the project maintainer if you are missing from the list.

© Arijit Basu 2026

qr
qr-code
qrcode
qrcode-generator
rust
terminal
webapp

Significant stargazers

fisker Cheung

558 followers · starred Sep 2021

ytkimirti

68 followers · starred Sep 2021

Y.D.X.

105 followers · starred Jan 2023

Andrew Hsu

105 followers · starred Sep 2021