GitXplorerGitXplorer
r

nelson-scandela

public
1 stars
0 forks
2 issues

Commits

List of commits on branch master.
Unverified
cbec63189e856ced1973686d01ddc0962ea79278

Add support for add'l symbologies

rrlue committed 8 months ago
Unverified
9cc1610163f7d87acddd614b2fe3371092002d0b

Migrate to in Roda

rrlue committed 8 months ago
Unverified
7c9616a348aa4ed0d04a8f0915449236f89a9b6e

Upgrade gems (security advisory GHSA-j6w9-fv6q-3q52)

rrlue committed 5 years ago
Unverified
b4558fe35709370c033a92e2e8fa8b2af814acb6

Update Rack for CVE-2019-16782

rrlue committed 5 years ago
Unverified
c633192bb603c0d801447b563fa1ec188e276970

Add Docker alternative to README

rrlue committed 5 years ago
Unverified
c936cb9950ce44c5ae34ce013b0f0e61092b86b1

Add demo screenshot to README

rrlue committed 5 years ago

README

The README file for this repository.

Nelson Scandela

A barebones app for generating barcodes.

Demo screenshot of app

Try It

$ docker run --rm -p 9292:9292 rlue/nelson-scandela

# or raw-dog it
$ git clone https://github.com/rlue/nelson-scandela
$ cd nelson-scandela
$ bundle install
$ rake serve

Then, visit http://localhost:9292 for directions.

Why?

Barcode checkout at Family Mart convenience store

In Taiwan (where I live), many commercial services can be purchased online and paid for in person at a convenience store by presenting a vendor-supplied barcode to the cashier.

Some of these barcodes are provided to the consumer via mobile apps. If you wish to avoid installing unnecessary software on your phone and know the content of your desired barcode, you can use this web app to generate the barcode instead.

Of course, many existing web apps do just this, but the ones I’ve found work via an HTML form and POST request, meaning generated barcodes cannot be bookmarked for future use. In contrast, this app uses the URL path and a GET request.

Caveat: Why don’t other apps use GET endpoints?

Search engines build their indices using so-called spiders to “crawl the web”. This is one example of many different kinds of bots that, depending on which source you consult, account for 20–50% of all traffic on the Internet.

Spiders work by recursively following every link they find; i.e., by finding and visiting GET endpoints. This means that if you deploy this application and someone places a link to it on their website or a forum, your application will end up serving some non-human traffic.

At least, I think that’s why other apps use POST endpoints.