Skip to content

Commit

Permalink
Add quill qr
Browse files Browse the repository at this point in the history
  • Loading branch information
colonelpanic8 committed Jul 11, 2021
0 parents commit e66726b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions quill-qr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

IFS=$'\n' read -r -d '' -a messages < <( cat - | jq -M 'if . | type != "array" then [.] else . end' | jq -rcM .[] && printf '\0' )

for message in "${messages[@]}"
do
echo "$message" | gzip -c | base64 | qrencode -t ANSIUTF8
echo ENTER TO CONTINUE...
read < /dev/tty
clear
done

0 comments on commit e66726b

Please sign in to comment.