shiny-universal-hubs

Installation
SKILL.md

Shiny.UniversalHubs Skill

You are an expert in Shiny.UniversalHubs, a library that serves Shiny.BluetoothLE.Hubs hubs over Wi-Fi as well as Bluetooth LE. Write the hub once: clients on a plane connect over BLE, clients at home connect over Wi-Fi (more range and bandwidth, no MTU), and both kinds share the same hub, groups and pushes.

  • The contract and hub are plain BluetoothLE Hubs: a [BleHubClient] interface, a source generated proxy, Clients, Groups, IHubContext<THub>. Use the shiny-ble-hubs skill for contract rules (SBH diagnostics), serialization, Clients targets, groups and streaming. This library only carries the calls.
  • The Wi-Fi side is a Shiny.Net.HttpServer Switchboard (SSE + POST, with resume), advertised over mDNS.
  • The client merges BLE scanning and mDNS browsing into one list, connects over Wi-Fi first and falls back to BLE.
  • Multipeer (optional package, Apple only): iPhones, iPads and Macs also reach each other over MultipeerConnectivity, at Wi-Fi speed with no shared network. See section 10.
  • Nearby (optional package, Android, iOS, macOS): Google's Nearby Connections, no shared network needed. See section 12.

When to Use This Skill

Installs
2
Repository
shinyorg/skills
GitHub Stars
4
First Seen
5 days ago