Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyan/rack-middleware-google-image
https://github.com/banyan/rack-middleware-google-image
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/banyan/rack-middleware-google-image
- Owner: banyan
- License: mit
- Created: 2012-05-09T18:39:19.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-10T18:34:36.000Z (almost 13 years ago)
- Last Synced: 2024-04-14T05:49:50.031Z (10 months ago)
- Language: Ruby
- Size: 109 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rack-middleware-google-image [![Build Status](https://secure.travis-ci.org/banyan/rack-middleware-google-image.png)](http://travis-ci.org/banyan/rack-middleware-google-image)
![image](http://i.imgur.com/LEnwb.png?1)
Rack middleware to response any image file via google search
The original idea comes from [here](http://kimoto.hatenablog.com/entry/2012/05/06/113043)
## Installation
Add this line to your application's Gemfile:
gem 'rack-middleware-google-image'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-middleware-google-image
## Synopsis
require 'rack-middleware-google-image'
use Rack::GoogleImage
## Example
$ cd example
$ gem install rack
$ rackup # => then browse http://localhost:9292## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request