Build with:
go build
If you want the QR codes to be accessible from outside, use for example your
Wifi IP address for the fsaddr
parameter:
./gopherize_3d run -fsaddr 192.168.1.13:8888
By default, the UI is accessible, only locally, from 127.0.0.1:9999
, to change
this use the uiaddr
parameter:
./gopherize_3d run -uiaddr 192.168.1.13:9999
Start the server:
go run .
Call the snapshot api with a PNG image, get the corresponding QRcode (JPEG);
base64 ~/Downloads/gopher-front.png | curl -XPOST http://localhost:6666/api/snapshot -d @- | base64 -d > qrcode.jpg