How teampiped/piped works
Main Components
a) Frontend Layer:
• Vue.js Application (evident from .vue files in src/components)
• PWA Support (indicated by registerServiceWorker.js)
• Components Structure:
• Video Player Components
• User Interface Components (NavBar, Modals, Pages)
• Internationalization System (src/locales)
b) External Integrations:
• SponsorBlock Integration
• LBRY Integration
• Return YouTube Dislike Integration
• NewPipeExtractor Integration
c) Backend Services (to be shown as external components):
• Piped Backend API
• Matrix Federation Protocol
• Content Delivery Network (for video streaming)
Key Architectural Elements to Highlight
a) Client-Side Architecture:
• Vue Router (src/router)
• Component-based structure
• Local Storage for Preferences
• Service Worker for PWA functionality
b) Data Flow Patterns:
• Video Content Pipeline
• User Authentication Flow
• Federated Content Delivery
• Multi-region Load Balancing
┌─────────────────────────────────────────────────────────┐
• Client Browser │
• ┬────────────────────┬─────────────────┤
• Vue.js App │ Service Worker │ Local Storage │
• (PWA Support) │ (Preferences) │
• ┴────────────────────┴─────────────────┤
• Component Layer │
• ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• Video │ │ User │ │ Playlist│ │ Feed │ │
• Player │ │ Auth │ │ Manager │ │ Handler │ │
• ┘ └─────────┘ └─────────┘ └─────────┘ │
• ┤
• Integration Layer │
• ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• Sponsor │ │ LBRY │ │ RYD │ │ NewPipe │ │
• Block │ │ │ │ Proxy │ │Extractor│ │
• ┘ └─────────┘ └─────────┘ └─────────┘ │
• ┘
• ▼ ▼ ▼
┌──────────────┐ ┌──────────┐ ┌─────────────┐
• Piped API │ │ Matrix │ │ CDN Network │
• Backend │ │Federation│ │ │
• ┘ └──────────┘ └─────────────┘
Documentation Elements
• Notes about the federated architecture
• Document the privacy-preserving design patterns
• Technologies used in each component