Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peponi/text-to-unicode-qr
convert text (BTC address) to QR codes made of unicode (text)
https://github.com/peponi/text-to-unicode-qr
api bitcoin-address cli command-line command-line-tool ethereum-address mail qr qr-code qrcode screenshot service unicode
Last synced: 11 days ago
JSON representation
convert text (BTC address) to QR codes made of unicode (text)
- Host: GitHub
- URL: https://github.com/peponi/text-to-unicode-qr
- Owner: peponi
- Created: 2018-01-26T15:24:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T13:43:09.000Z (almost 7 years ago)
- Last Synced: 2024-11-14T14:47:28.081Z (2 months ago)
- Topics: api, bitcoin-address, cli, command-line, command-line-tool, ethereum-address, mail, qr, qr-code, qrcode, screenshot, service, unicode
- Language: HTML
- Homepage:
- Size: 348 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
*I was tryng to [send emails with text based qr codes](./assets/screenshot-html.png) 'cause my friends only receive plain text mails, so I generated this small API to generate unicode based QRs*
demo on https://text-to-unicode-qr.herokuapp.com/
this ```curl -GET https://text-to-unicode-qr.herokuapp.com/inverted/sadfsdfdfdsfghjre65zrtezht54e``` will work
## Usage Express WebServer
```
npm run start
```#### request qr code via API
![screenshot of chrome brower which returned a unicode QR code for request on default api path](./assets/screenshot-browser.png)
#### request inverted qr code via API
![screenshot of chrome brower which returned a inverted unicode QR code for request on /inverted api path](./assets/screenshot-browser-inverted.png)
|API|description|
|---|---|
|/|will return the index.html with input form to convert strings|
|/VALUE|will return the converted VALUE as qr|
|/inverted/VALUE|will return the inverted VALUE as qr|## Usage CLI
#### request inverted qr code on command line
![screenshot of terminal which returned a inverted unicode QR code](./assets/screenshot-cli.png)
|argument|description|
|---|---|
|--convertThis|text to be converted|
|--inverted|will invert the qr code|
|--file|will save the qr code in a qr.txt file|
|--file=|will save the qr code in a file named with .txt|will the converted unicode qr in terminal
```
node ./cli.js --convertThis=sadfsdfdfdsfghjre65zrtezht54e
```will save a unicode qr in ```./qr.txt```
```
node ./cli.js --convertThis=sadfsdfdfdsfghjre65zrtezht54e --file
```will save a inverted unicode qr in ```./wurstbrot.txt```
```
node ./cli.js --convertThis=sadfsdfdfdsfghjre65zrtezht54e --inverted --file=wurstbrot
```## Todo
* maybe https://research.swtch.com/qart