Skip to content

QR decode and encode container using openjdk:alpine and spark-qr.

Notifications You must be signed in to change notification settings

dwimberger/qr-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QR REST API Container

Simple API that will encode and decode QR 2D barcodes. Based on https://github.com/dwimberger/spark-qr

Docker

  1. Build image docker build -t dwimberger/qr-api .
  2. Run the image with debug using
    docker run -d -p 4567:4567 dwimberger/qr-api

Encode QR code

  curl localhost:4567/qr/`uuidgen` > test.png

Decode QR code

  curl -F "[email protected]" https://localhost:4567/qr

QR Prefix

Use the environment variable QR_PREFIX to generate QR codes with an arbitrary prefix (for example an URL).

About

QR decode and encode container using openjdk:alpine and spark-qr.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published