# proxycast

> A proxy for chromecast

Latest version **0.0.1** (published 2015-10-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install proxycast
pnpm add proxycast
yarn add proxycast
bun add proxycast
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2015-10-04 |
| First published | 2015-10-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | sergiogiogio |
| Maintainers | sergiogiogio |
| Keywords | chromecast |

## Links

- npm: https://www.npmjs.com/package/proxycast
- Repository: https://github.com/sergiogiogio/ProxyCast
- Homepage: https://github.com/sergiogiogio/ProxyCast#readme
- Issues: https://github.com/sergiogiogio/ProxyCast/issues
- npm.io page: https://npm.io/package/proxycast

## Dependencies (5)

- [debug](https://npm.io/package/debug.md) *
- [castv2](https://npm.io/package/castv2.md) *
- [cookie](https://npm.io/package/cookie.md) *
- [CBuffer](https://npm.io/package/CBuffer.md) *
- [multicast-dns](https://npm.io/package/multicast-dns.md) *

## Recent versions

- 0.0.1 (latest) — 2015-10-04

## README

# proxycast

A proxy giving any device access to control a chromecast (not just the devices for which there is an API).
The proxy receives commands via HTTP and forwards them to the chromecast via the appropriate protocol.

# Example
The [CastVideos-chrome](https://github.com/googlecast/CastVideos-chrome) reference example requires chrome and the chromecast plugin.
The proxy makes it possible to run the example from any browser, by simply changing in the html files the link to the official chromecast API cast_sender.js (which uses the plugin), to a link to [proxycast_sender.js](https://github.com/sergiogiogio/proxycast_sender.js) which exposes the same API but uses the proxy.

### Illustration:

Internet Explorer | Android Internet
--- | ---
![](https://raw.githubusercontent.com/sergiogiogio/proxycast/master/screenshots/proxycast-ie.png) | ![](https://raw.githubusercontent.com/sergiogiogio/proxycast/master/screenshots/proxycast-android.png)

# Installation

The below command installs the proxy as a module available to be used as part of a webserver
```
npm install proxycast
```

To run the CastVideos-chrome example mentioned above:
 1. Run the below commands
```
cd node_modules/proxycast/examples
# the below command downloads CastVideos-chrome and proxycast_sender.js and makes the necessary update to use the proxy instead of the plugin
./add-CastVideos-chrome.sh
# the below command opens the proxy as part of a simple webserver
node server.js
```
 2. Open http://hostname:8090/CastVideos-chrome/index.html on any browser


# Objective
The objective is to hopefully consolidate development efforts on a single API (the chrome api).

---
_Source: https://npm.io/package/proxycast · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
