Skip to content

About

Optional offline plugins for the OpenXPlay web receiver: spec, SDK, host, tools and official plugins. · OpenXPlay 网页接收端的可选离线插件:规范、SDK、宿主、工具与官方插件。

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

English · 简体中文

OpenXPlay Web Plugins

Optional offline web receiver plugins for oxp-web-plugin/0; Stream and Relay implement the core contract independently. Plugins are off by default: the reference receiver creates no plugin frame or requests, and relay plugin routes and channels refuse access. Reviewed packages run without network access under sandbox, CSP and guard layers; the WebRTC guard is a mitigation.

Path Contents
spec/ Normative JSON schemas and portable contract vectors
sdk/ ESM SDK and generated declarations in dist/sdk/
host/, shared/ Host UI, pure policy, geometry and validation
tools/, simulator/ Validator, ZIP packer, relay/receiver references, conformance
tests/fixtures/ Test packages only
plugins/ Official plugins: cats, games, visuals, whale-girl
dist/install/ Relay plugin root: host/ and p/<id>/

Node 22. Install with npm ci; offline development can symlink node_modules to ../OpenXPlay-Stream/web/node_modules.

npm run build
npm test
npm run typecheck
npm run dev -- --enable
npm run dev -- --fixture valid
npm run validate
npm run validate -- tests/fixtures/valid
npm run validate -- path/to/package.oxpplugin
npm run pack
npm run pack -- tests/fixtures/valid
npm run conformance -- https://relay.example
npm run conformance -- https://relay.example --insecure --expect-off

npm run dev -- --enable loads the official plugins in the simulator. The simulator starts at http://localhost:5173, with plugins off unless enabled in its controls or with --enable / --fixture valid. --storage <directory> enables per-plugin JSON persistence. Plugin documents must use color-scheme: light (or the default normal) to match the host’s light plugin iframe elements and preserve transparent backgrounds. The host root follows the receiver’s theme. Package your own SDK copy from dist/sdk/; use crossorigin="anonymous" on classic scripts (including the guard), styles and images inside opaque frames. Conformance restores existing storage after write tests; an initially absent store becomes {} because v0 has no delete operation.

Licence: Apache-2.0 OR MIT at your option. See LICENSE-APACHE and LICENSE-MIT.

Contributions are accepted under the OpenXPlay Contributor License Agreement. Accept it once by replying on a pull request to any OpenXPlay repository; the CLA check then passes in all of them.

MyLink and MyLife are OpenXPlay’s own connection methods. Some features happen to work with the built-in CarLink and CarLife connectivity features on some head units. Compatibility is partial, and the experience falls well short of native support on Android phones. OpenXPlay is an independent project. It has no affiliation with the manufacturers or organizations behind these features and has received no endorsement or certification from them. Names such as CarLink and CarLife belong to their respective rights holders.

Trademark notice. Apple, iPhone, CarPlay, AirPlay, Siri, TestFlight, Apple Music, Bonjour, Mac, Safari, and Xcode are trademarks of Apple Inc., registered in the U.S. and other countries and regions. App Store is a registered service mark of Apple Inc. iOS is a trademark or registered trademark of Cisco. Android and Google are trademarks of Google LLC. CarLink, CarLife, Tesla, DLNA, Bluetooth, Wi-Fi, WeChat, WeChat Pay, Telegram, NetEase Cloud Music, Amap, NIO, Leapmotor, Honda, Roewe, XPeng, MG, GWM, Geely, Mazda, Zeekr, and any other vehicle brands, model names, app names, and third-party marks mentioned here are trademarks or registered trademarks of their respective owners. OpenXPlay is an independent project. It has no affiliation with these companies or organizations and has received no endorsement, sponsorship, or certification from them. These names are used solely to describe compatibility.

About

Optional offline plugins for the OpenXPlay web receiver: spec, SDK, host, tools and official plugins. · OpenXPlay 网页接收端的可选离线插件:规范、SDK、宿主、工具与官方插件。

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages