Project

zxing_web

0.0
No commit activity in last 3 years
No release in over 3 years
Provides APIs to decode barcode image
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 10.0
~> 3.0

Runtime

>= 0
 Project Readme

ZxingWeb

zxing_web is an web server to decode barcode image files.

Installation

$ gem install zxing_web

Docker Container

Planning...

Usage

Run Server

zxing_web

Call API

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"

Development

Run

$ ruby -I ./lib exe/zxing_web

Debug Build

$ bundle exec rake install
$ rbenv rehash

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.