Project

camo

0.02
Low commit activity in last 3 years
No release in over a year
Ruby client for Camo - the SSL image proxy
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Camo Ruby

Ruby client for Camo and Go-Camo - the SSL image proxy đź”’

Build Status

Installation

Add this line to your application’s Gemfile:

gem "camo"

Getting Started

Add your Camo host and key to your environment or create an initializer config/initializers/camo.rb.

ENV["CAMO_HOST"] = "https://camo.herokuapp.com"
ENV["CAMO_KEY"] = "rzsJbU5YxDfdP3FXHjshtgEN"

You can now use the camo method in your views and controllers.

<%= image_tag camo("https://placekitten.com/g/200/300") %>

Credit

Thanks to Corey Donohoe for creating Camo and providing most of the Ruby code for this gem.

History

View the changelog

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

To get started with development:

git clone https://github.com/ankane/camo-ruby.git
cd camo-ruby
bundle install
go-camo -k 461fbf74af826c3a1020
bundle exec rake test