AllMovies Wiki — Index
Catalog of all notes in the wiki, organized by domain.
Architecture
- Micro-Frontend Pattern — WordPress plugins as independent React micro-frontends; sources: dependencies-plugin, shared-plugin, body-plugin, theme, +8 more
- Dependency Injection System — Shared libraries (React, MUI, Redux) loaded once and declared as WordPress script dependencies; sources: dependencies-plugin, shared-plugin
- Plugin Load Ordering — Priority-based WordPress script enqueuing (10 → 30 → 31) with dependency resolution; sources: +6 plugins
- UMD Build System — Webpack compiles plugins to UMD bundles with externals, reducing bundle sizes 90%+; sources: shared-plugin, body-plugin, header-plugin, footer-plugin, carousel-plugin
- Inter-Plugin Communication — Redux store and window event bus for decoupled plugin communication; sources: shared-plugin, header-plugin, search-plugin
- Data Flow — JSON → PHP → window globals → React components; API via Axios for dynamic data; sources: body-plugin, shared-plugin, little-cache
- Batch Processing with Checkpoint Recovery — Resumable batch jobs with disk-persisted progress for long-running data pipelines; sources: migrate-series, posters_db_updater, episodes-images-updater, syncer-ftp
- WordPress as Shell — Minimal theme providing HTML skeleton; sources: allmovies-theme
- URL Routing Pattern — SPA-like URL routing via WordPress template_redirect; sources: allmovies-url-redirect-plugin
- Centralized Player Selection — Unified playVideo() with fallback chain (IPTV VOD → VidSrc → CDN) and asset detail navigation; sources: shared-plugin, asset-details, thumbnail-details, featured-asset, video-player, vidsrc-player
- Explicit Source Selection — User-facing source chooser dialog with 5s auto-select countdown and in-player switching; sources: shared-plugin, asset-details, thumbnail-details, featured-asset, video-player, vidsrc-player, iptv-vod-player
WordPress Plugins
- Dependencies Plugin — Loads React/MUI/Redux/Axios globally as shared dependencies; sources: dependencies-plugin
- Shared Plugin — Redux store, hooks, utils, event bus for inter-plugin communication; sources: allmovies-shared-plugin
- Theme Plugin — Minimal WordPress theme with HTML shell and default style dequeuing; sources: allmovies-theme
- Body Plugin — Main content with page routing (Home, Movies, TV, Latest, My List) and carousel data injection; sources: allmovies-body-plugin
- Header Plugin — Site header with navigation, search integration, notifications, conditional sub-header; sources: allmovies-header-plugin
- Footer Plugin — Mobile bottom navigation bar with Home/Me/More buttons; sources: allmovies-footer-plugin
- Global Sidebar Plugin — Slide-out navigation menu with profile switcher; sources: allmovies-global-sidebar-plugin
- Search Plugin — Full-screen search overlay with real-time carousel results; sources: allmovies-search-plugin
- Carousel Plugin — Horizontal carousels with mobile swipe, grid mode, lazy loading; sources: allmovies-carousel-plugin
- AllMovies Video Player Plugin — Full-screen HLS video player streaming from BunnyCDN; sources: allmovies-video-player-plugin
- AllMovies Vidsrc Player Plugin — Third-party Vidsrc streaming with multi-server selection; sources: allmovies-vidsrc-player-plugin
- IPTV VOD Player Plugin — Vite-built React 19 IPTV VOD player with Promise-based resolution and native source switch button; sources: allmovies-iptv-vod-player-plugin
- Featured Asset Plugin — Netflix-style hero section with backdrop, metadata, action buttons; sources: allmovies-featured-asset-plugin
- Live TV Plugin — Live TV page with free/premium tabs, EPG calendar, stream selection, unified /public-channels API; sources: allmovies-live-tv-plugin
- Thumbnail Details Plugin — Movie/series detail view with episodes; sources: allmovies-thumbnail-details-plugin
- URL Redirect Plugin — SPA-like URL routing for /movies, /tv-shows, etc.; sources: allmovies-url-redirect-plugin
- FCP Plugin — First Contentful Paint optimization with dev tooling; sources: allmovies-fcp-plugin
- Asset Details Plugin — Movie and series detail pages with episodes; sources: allmovies-asset-details
- Account Settings Plugin — WordPress plugin routing
/account-settings/*to SPA; sources: account-settings-plugin - VidSrc Domain Management — Dynamic CRUD management of third-party video source domain names; sources: allmovies-backend, allmovies-vidsrc-player-plugin
Data & API
- Little Cache Server — Express.js caching proxy between WordPress and API; sources: little-cache
- Data Plugin — WordPress shortcodes for movies/TV data via window globals; sources: allmovies-data-plugin
- IPTV Fetcher Service — Node.js IPTV aggregator with REST API; sources: allmovies-iptv-fetcher
- Home Data Structure — SSR data injection via window.HOME_DATA/HOME_CAROUSELS_LIST; sources: allmovies-body-plugin
- Carousel Configuration — JSON carousel configs with dataUrl and filters; sources: allmovies-body-plugin
- Global State (Redux Store) — Shared Redux store for page/user state; sources: allmovies-shared-plugin, allmovies-dependencies-plugin
- API Endpoints — NestJS REST API with 50+ endpoints; sources: allmovies-backend
Video & Media
- Video.js Player App — Standalone Next.js video player with custom plugins; sources: videojs_player
- Video.js Shortcode Plugin — Overrides WordPress [video] shortcode; sources: videojs-shortcode
- Video.js Custom Plugins — Custom Video.js plugins: seek bar, play button, subs/audio menu, skip, volume, speed; sources: videojs_player
- HLS Streaming — HLS.js adaptive streaming for VOD and live content; sources: videojs_player, allmovies-video-player-plugin
- Picture-in-Picture — PiP support for Android and iOS mobile; sources: allmovies-mobile-app
Infrastructure & DevOps
- Dual Stack Architecture — Two-stack Docker deployment (WordPress frontend + backend data) connected via shared Docker networks; Nginx proxies cross-stack requests; sources: allmovies-docker, allmovies-wordpress-fpm
- Docker Setup — Docker Compose config for backend stack with 18+ services (PostgreSQL, API, admin panel, scrapers); sources: allmovies-docker
- WordPress FPM Config — WordPress with PHP-FPM, MariaDB, nginx, WP-CLI, plugin compiler; sources: allmovies-wordpress-fpm
- CDN Sync — Synchronize movie/series metadata with Bunny CDN; sources: allmovies-sync-cdn
- Database Backup — Automated PostgreSQL backups with retention management; sources: allmovies_db_backup
- Nginx Proxy Cache — Reverse proxy with SSL termination, WebSocket support, and intelligent caching; sources: allmovies-docker
- Process Management Server — Express server for managing external processes with real-time logging; sources: allmovies-movieofthenight
- Setup Script Strategy — Comparison of setup scripts and why setup-cloudflare-dev.sh is primary; sources: allmovies-docker, allmovies-wordpress-fpm
Mobile & Standalone Apps
- Mobile App (React Native) — React Native / Expo streaming app with PIP, HLS downloads, carousels; sources: allmovies-mobile-app
- Account Settings SPA — Standalone Vite/React account management app with Stripe; sources: account-settings
- Get Movies Utility — Node.js script for IMDb metadata via Movier; sources: get-movies
Scraping & Data Pipeline
- Poster Scraper — Browser pool-based scraper for movie/series posters using Playwright; sources: allmovies-poster-scraper
- Scalable Scraper — Horizontally-scalable Docker scraper for posters with Nginx load balancing; sources: allmovies-scalable-scraper, allmovies-poster-scraper
- Metacritic Scraper — Node.js service fetching Metacritic user scores via backend API; sources: allmovies-metacritic-scraper
- Syncer — Browser automation for file uploads with FastAPI REST API; sources: allmovies-syncer
- FTP Syncer — FTP sync with backpressure and sync.com upload; sources: allmovies-syncer-ftp
- Episodes Images Updater — Batch updater for episode backdrop images; sources: allmovies-episodes-images-updater
- Posters DB Updater — Movie/series poster import with checkpoint recovery; sources: allmovies_posters_db_updater
- Rating Calculator — Weighted rating aggregation (75% public/25% critic); sources: allmovies-rating-calculator
- Series Migration Service — Batch migration from Series to SerieOptimised with checkpoint recovery; sources: allmovies-migrate-series
- Streaming Availability Fetcher — RapidAPI client for Movie of the Night streaming data; sources: allmovies-movieofthenight
Backend
- Backend API — NestJS REST API with Prisma ORM for content, auth, subscriptions, streaming; sources: allmovies-backend
- Images Service — Performance benchmarking tool for image serving; sources: allmovies-images
- Image Conversion Service — Downloads, converts (JPEG/WebP), and serves posters at multiple sizes; sources: convert-images (external), allmovies-images
- Admin Panel — Next.js admin dashboard for content, customers, scripts, analytics, channels, EPG, SMS, APK management; sources: allmovies-admin-panel
- Fill Movie Cast Service — Node.js/Express service enriching movies/series with TMDB cast data via Prisma and Movier; sources: allmovies-fill-movie-cast
- IPTV Pool Service — Full-stack IPTV line/reseller management with React SPA, sync jobs, VOD/series/audio tracks; sources: iptv-pool
- Channel Management System — Backend module suite for live TV channels: CRUD, normalizer, populator, EPG mapping, public channels API; sources: allmovies-backend, allmovies-admin-panel
- SMS Gateway & Phone Authentication — Phone-based auth with SMS verification, pluggable providers (Twilio, Android SMS Gateway), multi-credential failover; sources: allmovies-backend, allmovies-admin-panel, account-settings
Operations & Deployment
- Docker Deployment — Deploy AllMovies Docker containers via SSH/tmux; source: skills/setup-allmovies-docker
- WordPress Setup — Full WordPress frontend setup and plugin activation; source: skills/setup-allmovies-wordpress-fpm
- Episode Images Scraping — Scrape episode images from IMDb/TMDb; source: skills/episodes-images-scraping
- SSH Access & Servers — Key-based SSH access to VPS servers (sensitive)
- LLM Wiki Vault — Obsidian vault serving as the AllMovies knowledge base with sync/query/lint operations; sources: allmovies-obsidian-notes-vault
- Docusaurus Documentation Site — Public docs site deployed on vps_7 at https://doc.allmovies2a.dev with nginx SSL; sources: allmovies-obsidian-notes-vault
- Bug-Fix Task Template — Standardized task template for bug-fix tasks in the Dev - Allmovies Tracking Kaneo project; sources: kaneo
- Feature Task Template — Standardized task template for new feature development tasks in the Dev - Allmovies Tracking Kaneo project; sources: kaneo
- Service Update Script — Near-zero downtime single-service updates via update-service.sh; sources: allmovies-docker, allmovies-wordpress-fpm