From 5106ae1a9ac0fc6f99defc28011b3bece501b464 Mon Sep 17 00:00:00 2001 From: Patrik Fodor Date: Thu, 16 Oct 2025 10:00:50 +0200 Subject: [PATCH] docs: remove extra white spaces in goals.md Signed-off-by: Patrik Fodor --- goals.md | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/goals.md b/goals.md index f4d100e..0928807 100644 --- a/goals.md +++ b/goals.md @@ -5,36 +5,36 @@ - Use cached segments for seamless seeking and fast resume. - If another user starts playback with the same parameters, reuse existing cached data to minimize transcoding and bandwidth usage. - **CDN Capabilities and P2P Federation** - - **Lightweight CDN Node:** - - Each CDN node runs as a standalone executable binary that can be easily deployed by both technical and non-technical users. + - **Lightweight CDN Node:** + - Each CDN node runs as a standalone executable binary that can be easily deployed by both technical and non-technical users. - Minimal configuration required: - - **Data Directory:** Defines where cached media files are stored. - - **Optional Name:** Human-readable CDN identifier (used for UI labeling and dynamic DNS registration). - - **Mode:** Can operate as a **shared CDN** (available to multiple users) or a **local-only CDN**. + - **Data Directory:** Defines where cached media files are stored. + - **Optional Name:** Human-readable CDN identifier (used for UI labeling and dynamic DNS registration). + - **Mode:** Can operate as a **shared CDN** (available to multiple users) or a **local-only CDN**. - - **Secure Connectivity:** - - Each CDN connects to the **main metadata server** using a **pre-shared key** for authentication and trust establishment. - - This ensures only authorized CDNs can register and exchange data with the main network. + - **Secure Connectivity:** + - Each CDN connects to the **main metadata server** using a **pre-shared key** for authentication and trust establishment. + - This ensures only authorized CDNs can register and exchange data with the main network. - - **Dynamic Registration & Discovery:** - - Upon startup, the CDN connects to the **main metadata server** and automatically registers itself. - - The main server assigns a **dynamic DNS name** to each CDN for seamless connectivity. - - CDNs periodically update their metadata to report available content, storage capacity, and health status. + - **Dynamic Registration & Discovery:** + - Upon startup, the CDN connects to the **main metadata server** and automatically registers itself. + - The main server assigns a **dynamic DNS name** to each CDN for seamless connectivity. + - CDNs periodically update their metadata to report available content, storage capacity, and health status. - - **Content Awareness & Distribution:** - - The main server maintains a global index of all available CDNs and the content cached on each. - - Users can choose which CDN should serve their content in the client UI. + - **Content Awareness & Distribution:** + - The main server maintains a global index of all available CDNs and the content cached on each. + - Users can choose which CDN should serve their content in the client UI. - If a requested content is missing from the selected CDN, users have two options: - 1. **Request content replication:** Copy or prefetch the content from another CDN or the main server. - 2. **Stream fallback:** Stream the content directly from the main server or the nearest available CDN. + 1. **Request content replication:** Copy or prefetch the content from another CDN or the main server. + 2. **Stream fallback:** Stream the content directly from the main server or the nearest available CDN. - - **Peer-to-Peer (P2P) Sharing:** - - CDNs and the main server interconnect via **P2P protocols** to simplify file transfer and reduce reliance on centralized infrastructure. - - This enables faster, bandwidth-efficient distribution of popular content between geographically distributed CDNs. + - **Peer-to-Peer (P2P) Sharing:** + - CDNs and the main server interconnect via **P2P protocols** to simplify file transfer and reduce reliance on centralized infrastructure. + - This enables faster, bandwidth-efficient distribution of popular content between geographically distributed CDNs. - - **Federation & Collaboration:** - - Multiple CDNs can share content and metadata within a trusted federation network. - - The system can automatically balance or replicate popular content across CDNs to optimize bandwidth usage and ensure availability. + - **Federation & Collaboration:** + - Multiple CDNs can share content and metadata within a trusted federation network. + - The system can automatically balance or replicate popular content across CDNs to optimize bandwidth usage and ensure availability. - **Metadata Management:** - Automatically identify and fetch metadata from databases like IMDb, TVDB, etc.