From e583648195a33afb6ec4ebddb1926570a9a5e475 Mon Sep 17 00:00:00 2001 From: Celestino Gomes Date: Mon, 9 Jan 2023 17:46:54 -0300 Subject: feat(qrcode): new plugin to generate qrcode via https://qrcode.show (#10247) * feat(qrcode): new plugin to generate qrcode via https://qrcode.show * code fix suggested by @JuniorJPDJ * Update docs to clarify how to interact with it Co-authored-by: Robby Russell --- plugins/qrcode/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/qrcode/README.md (limited to 'plugins/qrcode/README.md') diff --git a/plugins/qrcode/README.md b/plugins/qrcode/README.md new file mode 100644 index 000000000..bcc870541 --- /dev/null +++ b/plugins/qrcode/README.md @@ -0,0 +1,8 @@ +# QRCode plugin + +Generate a QR Code from the command line. Uses [QRcode.show](https://qrcode.show) via curl. + +alias | command +--------------- | -------- +`qrcode [text]` | `curl -d "text" qrcode.show` +`qrsvg [text]` | `curl -d "text" qrcode.show -H "Accepct: image.svg"` -- cgit v1.2.3-70-g09d2 From 0f71cfd3c1b82cbc6b2ddd8782e193f38cf343f9 Mon Sep 17 00:00:00 2001 From: Rafael Laurindo Date: Wed, 11 Jan 2023 15:54:53 -0300 Subject: docs(qrsvg): fix command example (#11436) --- plugins/qrcode/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/qrcode/README.md') diff --git a/plugins/qrcode/README.md b/plugins/qrcode/README.md index bcc870541..442838947 100644 --- a/plugins/qrcode/README.md +++ b/plugins/qrcode/README.md @@ -5,4 +5,4 @@ Generate a QR Code from the command line. Uses [QRcode.show](https://qrcode.show alias | command --------------- | -------- `qrcode [text]` | `curl -d "text" qrcode.show` -`qrsvg [text]` | `curl -d "text" qrcode.show -H "Accepct: image.svg"` +`qrsvg [text]` | `curl -d "text" qrcode.show -H "Accept: image/svg+xml"` -- cgit v1.2.3-70-g09d2