QRCode generator as a service
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
models
tmp
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
app.rb
config.ru

README.md

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)

thin start

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.

License

Copyright (c) 2015 Bart Jedrocha, released under the MIT License.