Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Sinatra app serving barcodes from simple urls

tag: v1.3.0

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 pkg
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 barcodeservice.gemspec
Octocat-spinner-32 config.ru
Octocat-spinner-32 test.rb
README.markdown

Barcode Service

This is a simple Sinatra server that turns simple web requests into formatted barcode images.

Instant installation and deploy

  • Clone this: git clone git://github.com/JackDanger/barcodeservice.git
  • Signup for an account at Heroku (better details here)
  • push it to Heroku.com: git push heroku master

HowTo

You can embed barcodes into your web pages simply by using an tag

<img src="http://my-barcode-server.heroku.com/999999999999999.png?type=ISBN" />
<img src="http://my-barcode-server.heroku.com/ABCDEF1232333.png?type=code93" />
<img src="http://my-barcode-server.heroku.com/ABC123.png?width=50&height=30&x=4&y=200&scale=1" />

Patches welcome, forks celebrated.

Copyright (c) 2010 Jack Danger Canty. Released under the MIT License.

Something went wrong with that request. Please try again.