zxing_web is an web server to decode barcode image files.
$ gem install zxing_web
Planning...
zxing_web
Single URL
$ curl http://localhost:4567/decode -F file=https://upload.wikimedia.org/wikipedia/commons/2/2d/Qr-3.png
Single File
$ curl http://localhost:4567/decode -F file=@path/to/imagefile.jpg
Multiple URLs or Files
$ curl http://localhost:4567/decode -F "file[]=@path/to/imagefile.jpg" -F "file[]=https://upload.wikimedia.org/wikipedia/commons/8/8f/Qr-2.png"
$ ruby -I ./lib exe/zxing_web
$ bundle exec rake install
$ rbenv rehash
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/zxing_web. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.