mirror of
https://gitlab.com/vyla-entertainment/documentation.git
synced 2026-11-14 22:47:26 -05:00
fixed syntax issues
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
# Vyla Ecosystem Architecture
|
||||
|
||||
> High-level architecture, module boundaries, communication protocols, and design principles of the Vyla Ecosystem.
|
||||
High-level architecture, module boundaries, communication protocols, and design principles of the Vyla Ecosystem.
|
||||
|
||||
## System Topology
|
||||
|
||||
| Ecosystem Layer | Core Technologies | Primary Responsibilities |
|
||||
| :--- | :--- | :--- |
|
||||
| **Client Interfaces** | Vyla Home (Tauri v2), Vyla Go (Mobile), Vyla TV (ExoPlayer), Web Players | Render UI, manage local user state, initiate playback via SSE, handle failover queues. |
|
||||
| **Stream API Gateway** | Node.js Cluster, SSE, HTTP Proxy | Multi-core IPC caching (1,500 entries, 5-min TTL), HLS/AES key rewriting, 120-byte fake image mask stripping. |
|
||||
| **Vyla SDK Resolver** | `@vyla-entertainment/sdk` (ESM) | 60+ provider scrapers, randomized jitter scheduling, two-phase stream validation, manga scraping with Chrome 131 TLS fingerprinting. |
|
||||
| **Upstream Hosts** | Third-party CDNs & Video Hosts | Remote video segment delivery, HLS manifest endpoints, subtitle hosts. |
|
||||
- **Client Interfaces**: Vyla Home (Tauri v2), Vyla Go (Mobile), Vyla TV (ExoPlayer), Web Players. Render UI, manage local state, initiate playback via SSE, and handle failover queues.
|
||||
- **Stream API Gateway**: Node.js Cluster, SSE, HTTP Proxy. Multi-core IPC caching (1,500 entries, 5-min TTL), HLS/AES key rewriting, and 120-byte fake image mask stripping.
|
||||
- **Vyla SDK Resolver**: `@vyla-entertainment/sdk` (ESM). 60+ provider scrapers, randomized jitter scheduling, two-phase stream validation, and manga scraping with Chrome 131 TLS fingerprinting.
|
||||
- **Upstream Hosts**: Remote video segment delivery, HLS manifest endpoints, and subtitle hosts.
|
||||
|
||||
---
|
||||
|
||||
## Projects Overview
|
||||
|
||||
| Directory / Package | Language / Framework | Purpose |
|
||||
| :--- | :--- | :--- |
|
||||
| `Documentation` | HTML5, Vanilla JS, CSS3 | Official developer documentation platform hosted at [vyla.cc](https://vyla.cc). |
|
||||
| `Stream API` | Node.js (Cluster, HTTP, SSE) | Self-hosted streaming microservice gateway with caching and reverse proxying. |
|
||||
| `SDK` | Node.js (ESM), TLS Client | Core multi-provider scraping library (`@vyla-entertainment/sdk`). |
|
||||
| `Home` | Tauri v2, Rust, Node.js Sidecar | Native desktop application for Windows, macOS, and Linux. |
|
||||
| `TV` | Kotlin, Jetpack Compose, ExoPlayer | Native 10-foot Leanback streaming application for Android TV and Fire TV. |
|
||||
| `Go` | Tauri v2 Mobile, WebGL Shaders | Native mobile client for Android devices. |
|
||||
- **Documentation**: Developer documentation platform hosted at [vyla.cc](https://vyla.cc).
|
||||
- **Stream API**: Self-hosted streaming microservice gateway with caching and reverse proxying.
|
||||
- **SDK**: Core multi-provider scraping library (`@vyla-entertainment/sdk`).
|
||||
- **Home**: Native desktop application for Windows, macOS, and Linux (Tauri v2 + Rust + Node.js sidecar).
|
||||
- **TV**: Native 10-foot Leanback streaming application for Android TV and Fire TV (Kotlin + Jetpack Compose + ExoPlayer).
|
||||
- **Go**: Native mobile client for Android devices (Tauri v2 Mobile).
|
||||
|
||||
## Core Architectural Invariants
|
||||
---
|
||||
|
||||
## Core Invariants
|
||||
|
||||
1. **Decoupled Resolution**: Client interfaces never scrape providers directly; they interact through `@vyla-entertainment/sdk` or the Stream API gateway.
|
||||
2. **Progressive Playback**: Streaming links are emitted incrementally over Server-Sent Events (SSE). Players start playback on the first candidate (3-8s) and queue subsequent sources as fallbacks.
|
||||
|
||||
Reference in New Issue
Block a user