+
Skip to content

ankane/camo-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Ruby client for Camo - the SSL image proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载