Playbridge desktop proxy

From playbridgeapp/playbridge · View interactive version

Playbridge desktop proxy is an AI agent skill from the GitHub repository playbridgeapp/playbridge. Work on PlayBridge Flutter Desktop and its Rust-backed receiver adapter. Use for receiver UI and playback adapters, Dart FFI lifecycle, libmpv/media_kit, desktop sender behavior, extension bridge integration, local proxy routing, HLS rewriting, FFmpeg AVIO, proxy authentication, Docker packaging, or

How to use this skill

Skill file

PlayBridge Desktop and Stream Proxy

Establish ownership

Work safely

  1. Follow the root AGENTS.md and preserve unrelated Desktop working-tree edits.
  2. Keep proxy credentials and session authorization out of logs.
  3. Preserve authenticated headers without exposing full stream URLs or tokens in diagnostics.
  4. Preserve the persisted receiver TLS identity and SPKI pin across the Rust migration. Store paired credentials as SHA-256 token digests and refresh the runtime after forgetting devices so active credentials are revoked.
  5. Keep platform-specific Desktop behavior compatible with macOS, Windows, and Linux where practical.

Verify

From desktop/:

flutter test
flutter analyze

When the Rust receiver, Cast/sender-services C ABI, Dart wrapper, browser receiver,

or bundled library changes, run from

the repository root before the Desktop checks:

sh cast/build-desktop.sh
cd packages/playbridge_cast_core_dart && dart analyze --fatal-infos
cd ../../desktop && flutter test test/rust_receiver_runtime_test.dart

Build the Rust proxy Docker image when container, native dependency, or packaging behavior changes. Load playbridge-stream-proxy-rust for that work.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.