Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

camo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camo

  • 0.3.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Camo Ruby

Ruby client for Camo and Go-Camo - the SSL image proxy :lock:

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

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc