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 <robby@planetargon.com>
This commit is contained in:
Celestino Gomes 2023-01-09 17:46:54 -03:00 committed by GitHub
commit e583648195
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

8
plugins/qrcode/README.md Normal file
View file

@ -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"`