QRCody - QRCode Microservice
QRCody is a very small Sinatra application that provides on-the-fly QR Code generation with built-in caching. I needed an alternative to Google's depracated and soon to be gone Infographics API so I decided to write my own.
Running the app
The application can be run directly from within the app directory using
thin (included in Gemfile)
Once running, you can generate QR codes by visiting
http://localhost:3000/qr and supplying a
label parameter. For example http://localhost:3000/qr?label=https://github.com/bjedrocha
Rack::Cache is used to cache generated versions of QR codes. These cached files and metadata are stored in the tmp/ directory and will get regenerated as necessary.
Copyright (c) 2015 Bart Jedrocha, released under the MIT License.