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

Overview

QRcode.show

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


INPUT:

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

INPUT 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:

    Accept                      Specify the output type
                                Options:
                                    application/octet-stream
                                    text/plain
                                    text/html
                                    image/svg+xml
                                    image/png
                                    image/jpeg
                                Default: application/octet-stream

    X-QR-Width                  Specify the default width

    X-QR-Height                 Specify the default height

    X-QR-Min-Width              Specify the minimum width

    X-QR-Min-Height             Specify the minimun height

    X-QR-Max-Width              Specify the maximum width

    X-QR-Max-Height             Specify the maximum height

    X-QR-Dark-Color             Specify the dark color (hex)
                                Format: rrggbb

    X-QR-Light-Color            Specify the light color (hex)
                                Format: rrggbb

    X-QR-Version-Type           Specify the QR version type
                                Options:
                                    normal
                                    micro
                                Default: auto detect

    X-QR-Version-Number         Specify the QR version number
                                Options:
                                    1..40 for normal
                                    1..4 for micro
                                Default: auto detect

    X-QR-EC-Level               Specify the error checking level
                                Options:
                                    L
                                    M
                                    Q
                                    H
                                Default: L

    X-QR-Quiet-Zone             Specify whether the quiet zone is added
                                Options:
                                    true
                                    false
                                Default: true

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 INPUT or echo INPUT | qrcode

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
}

PROGRAMMING LANGUANGE EXAMPLES

🚀 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

📝 TODO:

  • Support more parameters
  • Get a logo
  • Support dynamic QR codes
  • Generate premium/branded QR codes

💖 SPONSORS:

Top 5 sponsors get mentioned here (updated monthly) Visit https://opencollective.com/qrcodeshow

📋 CREDITS:

Only the direct dependencies for the main business logic are listed here. Please contact the project maintainer if you are missing from the list.

🔗 RELATED LINKS:

📓 COPYRIGHT:

© Arijit Basu 2021

Comments
  • Add Logo and Node.js example usage

    Add Logo and Node.js example usage

    Hello, i create a new logo for this project, the combination of :

    • Greater than symbol ">" signifies terminal / curl
    • qrcode containing the qrcode.show url
    • qrcode.show with Munro Font

    and i add some example for Node.js using Got - Lightweight https library

    happy hacktoberfest!

    opened by diosamuel 3
  • CORS Missing Allow Origin

    CORS Missing Allow Origin

    Anyway you could allow any origin so that QR code could be generated client side in the browser? Access-Control-Allow-Origin: *

    I'm getting failed network requests when trying to do this in the browser. See example here: https://codesandbox.io/s/qrcode-test-gqktd?file=/src/App.vue

    Thanks!

    opened by danielkellyio 3
  • Add Node.js Usage Example

    Add Node.js Usage Example

    Hi @sayanarijit Please kindly review my PR

    I added a usage example for the Node.js programming language, it's in the examples/nodejs folder with the README.md and index.js file in it

    Im using Got which is lightweight and well-known https request library for Node.js

    Hopefully it can be useful!

    hacktoberfest-accepted 
    opened by diosamuel 2
  • Adding quiet zone header to control the quiet zone

    Adding quiet zone header to control the quiet zone

    Hi @sayanarijit

    This adds a quiet zone header. The quiet zone is a padding that is added to the QR code to help avoid the scanner picking up it's surroundings. Ressource: https://delivr.com/faq/1455/whats-with-the-white-border-around-the-qr-code

    I have added the quiet zone function call to all formats. The default behaviour is false. My change will not interfere with the default behaviour that this library has. It will however give me the option to disable the quiet zone.

    Warning: I do not usually develop in Rust. Which means I probably hasn't done it the right way. You know the gist though. So maybe you can help ease out the kinks?

    opened by raunsbaekdk 2
  • QR code generated in terminal is not readable due to dark background color.

    QR code generated in terminal is not readable due to dark background color.

    Describe the bug

    Unable to read QR code generated in terminal because of dark background color of terminal. But works fine when background color is changed to white.

    opened by ghost 1
  • Qrcode.show Logo

    Qrcode.show Logo

    Is your feature request related to a problem? Please describe. A logo is required for the product

    Describe the solution you'd like I would like to try and design a logo for this.

    help wanted good first issue hacktoberfest 
    opened by KaranSinghBisht 8
  • Add more web frontend functionalities

    Add more web frontend functionalities

    Is your feature request related to a problem? Please describe.

    We can pass many parametets from the command-line using http headers. But the web frontend is still lacking in functionalities. It can only generate SVG images and print the PDF, which is rather limited.

    Describe the solution you'd like

    Add a minimized "Advanced" button, clicking which we get more options. Options like download png/jpeg, set dimensions etc.

    Describe alternatives you've considered

    None

    Additional context

    The UI needs to be simple and easy to use. By default, users shouldn't be able to see all the buttons. Only by clicking the "Advanced" button, all the customisation options should appear. Also, we need to keep the website lightweight. Let's avoid using external libraries as much as possible.

    help wanted hacktoberfest 
    opened by sayanarijit 0
  • Add a QR code resolution parameter

    Add a QR code resolution parameter

    Describe the solution you'd like A resolution parameter to choose how big the QR code is (e.g. Google Chart's chs)

    Additional context Just add some simple parameter such as res=<width>x<height> or something. I dunno ¯_(ツ)_/¯

    opened by Permanently 14
Owner
Arijit Basu
Getting spoiled by Rust & Elm
Arijit Basu
The library provides basic functions to work with Graphviz dot lang from rust code.

Description The library provides the basic access to the graphs in graphviz format with ability to import into or export from it. Base examples: Parse

Boris 28 Dec 16, 2022
Construct graphs from parsed source code

tree-sitter-graph The tree-sitter-graph library defines a DSL for constructing arbitrary graph structures from source code that has been parsed using

null 102 Nov 23, 2022
Easy c̵̰͠r̵̛̠ö̴̪s̶̩̒s̵̭̀-t̶̲͝h̶̯̚r̵̺͐e̷̖̽ḁ̴̍d̶̖̔ ȓ̵͙ė̶͎ḟ̴͙e̸̖͛r̶̖͗ë̶̱́ṉ̵̒ĉ̷̥e̷͚̍ s̷̹͌h̷̲̉a̵̭͋r̷̫̊ḭ̵̊n̷̬͂g̵̦̃ f̶̻̊ơ̵̜ṟ̸̈́ R̵̞̋ù̵̺s̷̖̅ţ̸͗!̸̼͋

Rust S̵̓i̸̓n̵̉ I̴n̴f̶e̸r̵n̷a̴l mutability! Howdy, friendly Rust developer! Ever had a value get m̵̯̅ð̶͊v̴̮̾ê̴̼͘d away right under your nose just when

null 294 Dec 23, 2022
Use free svg icons in your Dioxus projects easily with dioxus-free-icons.

dioxus-free-icons Use free svg icons in your Dioxus projects easily with dioxus-free-icons. More information about this crate can be found in the crat

Daiki Nishikawa 16 Jan 2, 2023
Provide free GPT-3.5 API service by reverse engineering the login-free ChatGPT website.

ChatGPT Free API Provide free GPT-3.5 API service by reverse engineering the login-free ChatGPT website. Note: This service requires the IP to be able

null 21 May 5, 2024
An easily deployable service to monitor mission-critical SPL token accounts

Vault watcher Monitoring critical spl-token accounts in real time Table of contents Introduction Usage Configuration Configuration examples Grafana In

null 21 Nov 29, 2022
A lock-free, partially wait-free, eventually consistent, concurrent hashmap.

A lock-free, partially wait-free, eventually consistent, concurrent hashmap. This map implementation allows reads to always be wait-free on certain pl

Ian Smith 216 Nov 18, 2022
Wait Service is a pure rust program to test and wait on the availability of a service.

Wait Service Wait Service is a pure rust program to test and wait on the availability of a service.

Magic Len (Ron Li) 3 Jan 18, 2022
A simple to use rust package to generate or parse Twitter snowflake IDs,generate time sortable 64 bits unique ids for distributed systems

A simple to use rust package to generate or parse Twitter snowflake IDs,generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)

houseme 5 Oct 6, 2022
FlatBuffers compiler (flatc) as API (with focus on transparent `.fbs` to `.rs` code-generation via Cargo build scripts integration)

FlatBuffers flatc API for Rust This crate provides a programmatical way to invoke flatc command (e.g. from build.rs) to generate Rust (or, in fact, an

Vlad Frolov 87 Dec 22, 2022
Simplified glue code generation for Deno FFI libraries written in Rust.

deno_bindgen This tool aims to simplify glue code generation for Deno FFI libraries written in Rust. Quickstart # install CLI deno install -Afq -n den

Divy Srivastava 173 Dec 17, 2022
Easy to use Rust i18n library based on code generation

rosetta-i18n rosetta-i18n is an easy-to-use and opinionated Rust internationalization (i18n) library powered by code generation. rosetta_i18n::include

null 38 Dec 18, 2022
Cryptographic Primitive Code Generation by Fiat

Fiat-Crypto: Synthesizing Correct-by-Construction Code for Cryptographic Primitives Building This repository requires Coq 8.11 or later. Note that if

Programming Languages and Verification Group at MIT CSAIL 538 Jan 7, 2023
An implementation of Code Generation and Factoring for Fast Evaluation of Low-order Spherical Harmonic Products and Squares

sh_product An implementation of Code Generation and Factoring for Fast Evaluation of Low-order Spherical Harmonic Products and Squares (paper by John

Simon Brown 7 Dec 2, 2022
A cargo subcommand that extends cargo's capabilities when it comes to code generation.

cargo-px Cargo Power eXtensions Check out the announcement post to learn more about cargo-px and the problems it solves with respect to code generatio

Luca Palmieri 33 May 7, 2023
🦀 OpenAPI code generation 🐷

Pig ?? OpenAPI code generation ?? Install cargo install --git [email protected]:truchi/pig.git --locked Usage ?? OpenAPI code generation ?? Usage: pig [

null 3 Sep 29, 2023
Blockoli is a high-performance tool for code indexing, embedding generation and semantic search tool for use with LLMs.

blockoli ???? Blockoli is a high-performance tool for code indexing, embedding generation and semantic search tool for use with LLMs. blockoli is buil

Asterisk 76 Jul 24, 2024
Removes generated and downloaded files from code projects to free up space

makeclean Removes generated and downloaded files from code projects to free up space. Features: List, cleans and archives projects depending on how lo

Kevin Bader 2 Mar 11, 2022
Accompanying code for my talk "No free lunch: Limits of Wasm as a bridge from Rust to JS" presented @ EuroRust2022 in Berlin

No free lunch: Limits of Wasm as a bridge from Rust to JS Accompanying code for the talk I presented at EuroRust 2022 in Berlin, Germany Slides for th

Alberto Schiabel 11 Dec 30, 2022
Cover is an open internet service for canister code verification on the Internet Computer

Cover Cover (short for Code Verification) is an open internet service that helps verify the code of canisters on the Internet Computer. Visit our webs

Psychedelic 14 Oct 31, 2022