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

chromecast

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromecast

  • 1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= chromecast

A simple Ruby library you can use to monitor and control basic features of your Chromecast.

== Quick start

Install the gem:

gem install chromecast

Or add it to your Gemfile:

gem "chromecast"

Generate a certificate to be used for TLS connetion:

bundle exec rake setup:certificate

Use it:

require 'chromecast'

c = Chromecast::Connection.new(CHROMECAST_IP).open c.connection.connect

while true msg = c.read

puts msg

if msg['type'] == 'PING' c.heartbeat.pong end end

== To Do

  • Scanning for devices
  • EventMachine support
  • Proper documentation
  • Tests
  • Support for more namespaces

== License

This gem is released under the {MIT License}[http://www.opensource.org/licenses/MIT].

FAQs

Package last updated on 04 Oct 2014

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