Giter VIP home page Giter VIP logo

node-carplay's Introduction

Node Carplay

Carplay dongle driver for Node.js & Browser

Join us on Slack

https://join.slack.com/t/automotive-pis/shared_invite/zt-27n3manj4-v0Q35NWPyHUAtrHl7sScjQ

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License

About The Project

Node Carplay in Chrome

Example Video (outdated)

This repository contains the npm package node-carplay that can be used on the Web or in Node.js. It allows interfacing with the Carlinkit USB adapter and stream audio/video on your computer. The package can be used in the Node.js environment using native USB bindings (libudev-dev required), or in Chrome (or equivalent browsers) using WebUSB API.

There are multiple Carplay dongles on the market, the ones that convert wired to wireless carplay WILL NOT WORK. You need one that converts android/factory infotainment systems into Carplay (CPC200-Autokit or CPC200-CCPA etc). The package forwards video feed in h264, and PCM audio coming in from the USB dongle.

There's an included example carplay-web-app that runs in the browser and renders the Carplay environment. It supports mic input and audio output through Chrome audio stack as well as touch / mouse input.

Acknowledgements

This project is inspired by the work of @electric-monk on the Python version.

Getting Started

Prerequisites

If you are on macOS and want to use the microphone in node environment, you need sox

brew install sox

If you are on Linux, you need libudev-dev for USB support in node environment

sudo apt install -y libudev-dev

Installation

npm install node-carplay

Usage

There is an included example (not in the NPM package, but in the Git repository). It is recommended to take the example and modify your way out of it.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

The contents of this repository are licensed under the terms of the MIT License. See the LICENSE file for more info.

node-carplay's People

Contributors

rhysmorgan134 avatar gozmanyoni avatar steelbrain avatar n95jpl avatar glenf avatar adrum avatar k-dobosz avatar nikita avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.