Why Nostr? What is Njump?
2023-04-19 13:24:51

NVK on Nostr: QR codes on terminal for passing things to phone… ie `qr foo` ``` #!/usr/bin/env ...

QR codes on terminal for passing things to phone…

ie `qr foo`

```
#!/usr/bin/env python3
import os, sys, pyqrcode

p = ' '.join(sys.argv[1:])
if not p:
print(f'{sys.argv[0]} data-for-qr')
sys.exit(1)

q = pyqrcode.create(p)
print(q.terminal())

```
https://gist.github.com/nvk/1b45aea3e63201c65c5aed14304dd366
Author Public Key
npub1az9xj85cmxv8e9j9y80lvqp97crsqdu2fpu3srwthd99qfu9qsgstam8y8