All Projects β†’ vervallsweg β†’ cast-web-api

vervallsweg / cast-web-api

Licence: GPL-3.0 License
Quick and dirty web API for Google Cast enabled devices.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to cast-web-api

android-cast-remote-display-sample
πŸ“» Google Cast's Remote Display Sample for Android
Stars: ✭ 38 (-69.84%)
Mutual labels:  chromecast, google-cast
chromecast-api
πŸ“Ί Chromecast Node.js module
Stars: ✭ 122 (-3.17%)
Mutual labels:  chromecast, chromecast-api
Trickl
trickl torrent client
Stars: ✭ 50 (-60.32%)
Mutual labels:  chromecast
ccViewer
CryptCloudViewer source codes
Stars: ✭ 66 (-47.62%)
Mutual labels:  chromecast
castblock-legacy
Automatically skip integrated ads on youtube playing on chromecast
Stars: ✭ 82 (-34.92%)
Mutual labels:  chromecast
punchtop
A power hour written in rust with Chromecast support
Stars: ✭ 26 (-79.37%)
Mutual labels:  chromecast
AirConnect-Synology
Updated AirConnect packages for Synology NAS and Synology Router
Stars: ✭ 200 (+58.73%)
Mutual labels:  chromecast
dart vlc
🎞 Flutter audio / video playback, broadcast & recording library for Windows & Linux.
Stars: ✭ 439 (+248.41%)
Mutual labels:  chromecast
chromecast-mqtt-connector
Make your Chromecast devices discoverable and controllable via MQTT.
Stars: ✭ 40 (-68.25%)
Mutual labels:  chromecast
mirrorcast
Open Source Alternative to Chromecast, Mirror Desktop and Play media remotely.
Stars: ✭ 37 (-70.63%)
Mutual labels:  chromecast
cast
A flutter cast plugin
Stars: ✭ 23 (-81.75%)
Mutual labels:  chromecast
iOS-Audio-to-ChromeCast
Audio Streaming from iOS devices to Google Chromecast/Home Audio Devices.
Stars: ✭ 38 (-69.84%)
Mutual labels:  chromecast
ioBroker.chromecast
ioBroker Chromecast Adapter
Stars: ✭ 17 (-86.51%)
Mutual labels:  chromecast
SomaFM
A simple Python 3.x terminal interface for streaming SomaFM
Stars: ✭ 27 (-78.57%)
Mutual labels:  chromecast
LazyMan-iOS
A simple app that lets you stream every live and archived NHL and MLB game from any of your iOS devices.
Stars: ✭ 73 (-42.06%)
Mutual labels:  chromecast
casttube
YouTube Chromecast API
Stars: ✭ 51 (-59.52%)
Mutual labels:  chromecast
vlitejs
πŸ¦‹ vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)
Stars: ✭ 162 (+28.57%)
Mutual labels:  chromecast
casita
A macOS menubar app to control media playing on your Google Cast enabled devices. 🏑
Stars: ✭ 22 (-82.54%)
Mutual labels:  chromecast
KinoCast
Kinox.to fΓΌr Android und Chromecast
Stars: ✭ 29 (-76.98%)
Mutual labels:  chromecast
lastcast
Scrobble music playing on Chromecast (from Spotify, Google Play, SoundCloud, ...) to last.fm and libre.fm
Stars: ✭ 73 (-42.06%)
Mutual labels:  chromecast

cast-web-api

npm version Dependency Status npm

Web API for Google Cast enabled devices, based on the node-castv2 implementation by thibauts.

This API is only intended to be used on your local network not for hosting on the public internet.

Installation

You probably don't want to install the api directly. For a GUI install cast-web-api-desktop, for headless server installation use cast-web-api-cli.

Usage

Basics

cast-web-api tries to behave like the Google Home app. All available devices will be connected to, if a device goes down, it'll be removed. If it randomly disconnects, it'll try to reconnect. The autoConnect behavior can be turned of with the config parameter autoConnect. This can be helpful for large speaker groups.

Parameters

Every changed parameter will be saved in /config/config.json. This location will be changed in the next release.

Documentation

Online

Parse the swagger.json, in the online editor.

Local

Install the devDependencies for instance git clone this repo then npm install into the repo. Docs now available at /swagger.

Debugging //TODO: remove/edit

Every log output follows this format: {time} {device id} {function name}: {message}. For easy differentiation between those components, device id is inverted in color and function name underlined. Info messages appear in your standard terminal color. Error messages in red, warning messages in red and server related messages in blue.

2018-03-31T18:27:09.508Z a90824f40764eb5df1fccc4f5cb95dd3 reconnectionManagement(): reconnecting

By default only certain messages are logged, to enable all log-levels see the swagger documentation on /config.

Further information

thibauts wrote a great protocol description. I can only highly recommend reading it.

If you read the first sentences of this file it goes without saying that you should not run this API on the internet. Run it behind a firewall only in your local network!

If you find a bug or typo, feel free to contact me, open an issue, fork it, open prs, you name it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].