xiboplayer SDK

The modular foundation behind every player. 13 npm packages with clear separation of concerns, 1625 tests across 49 suites and zero framework dependencies.

Design Philosophy

🌐

Platform-independent

Core logic works across PWA, Electron, Android WebView and webOS

πŸ”§

Browser-native APIs

Cache API, IndexedDB, Service Worker, Web Animations

πŸͺΆ

No framework bloat

No React, Vue or Angular β€” pure TypeScript

πŸ”„

Dual transport

SOAP and REST with identical API surfaces

πŸ“‘

Offline-first

Everything works without network connectivity

PackagePurposeLines
@xiboplayer/corePlayerCore orchestration, collection cycle, offline cache982
@xiboplayer/rendererXLF renderer: element reuse, transitions, HLS, PDF, IC server2,119
@xiboplayer/cacheCacheManager: parallel chunks, MD5, font rewriting729
@xiboplayer/scheduleScheduleManager: dayparting, campaigns, interrupts346
@xiboplayer/xmdsXMDS client: SOAP + REST transports, all 10 methods371
@xiboplayer/xmrXMR WebSocket: 13 command handlers, exponential backoff359
@xiboplayer/statsStatsCollector + LogReporter: proof-of-play, IndexedDB633
@xiboplayer/settingsDisplaySettings: CMS settings parser with EventEmitter352
@xiboplayer/swService Worker helpers: streaming, IC interceptionβ€”
@xiboplayer/cryptoRSA key pair generation via Web Crypto API75
@xiboplayer/syncMulti-display sync: BroadcastChannel + WebSocket relayβ€”
@xiboplayer/proxyCORS proxy + WebSocket sync relay for video wallsβ€”
@xiboplayer/utilsLogger, EventEmitter, fetchWithRetry, Config, CMS API288

Total source code: ~12,000 lines (excluding tests)

Quick Links