How skywin88/com works
MeoPhim is a movie-catalog and streaming product with public discovery, playback, accounts, and a broad administration suite. Its main user path is browsing or searching the catalog, opening a movie, and playing an episode; administrators also manage catalog data, site presentation, and hero media, while crawler and video-processing services support operations. The graph preserves these major areas and the backend’s central data, security, and telemetry layers. The README is empty, and several frontend-to-backend connections are not shown in sampled source, so those links are omitted or marked unverified.
Main entry points: models.py Domain models · hero_banner_views.py Hero media API · tasks.py Background tasks · admin_suite_views.py Admin API
Components 30
Viewer experience
- Catalog and discovery
client/pages/index.tsx - Search interface
client/components/core/Search.tsx - Movie detail
client/pages/movie/[id].tsx - Playback UI
client/components/movie/Player.tsx - Cinema player
client/components/movie/MeoPhimCinemaPlayer.tsx - Hero presentation
client/components/home/HeroBannerWithPreview.tsx - Hero video behavior
client/hooks/useHeroVideoPlayer.ts - Adaptive video source
client/hooks/useAdaptiveVideoSource.ts
Administration
- Admin console
client/pages/mralex/admin/index.tsx - Admin modules
client/components/admin
API and domain
- API routes
server/server/urls.py - Movie API
server/core/views/movie_views.py - Stream API
server/core/views/stream_views.py - Admin API
server/core/views/admin_suite_views.py - Hero media API
server/core/views/hero_banner_views.py - Telemetry API
server/core/views/telemetry_views.py - Domain models
server/core/models.py - API serializers
server/core/serializers.py - Request middleware
server/core/middleware.py
Media operations
- Movie crawler
server/core/services/crawler_service.py - KKPhim synchronization
server/core/services/kkphim_sync_service.py - Background tasks
server/core/tasks.py - Hero video pipeline
server/core/services/hero_video_pipeline.py - FFmpeg trimmer
server/core/services/ffmpeg_trimmer.py - Image quality
server/core/services/image_quality.py - Sync signals
server/core/sync_signals.py
Platform services
- Stream and chat security
server/core/services/security.py - Telemetry service
server/core/services/telemetry_service.py
Other components
- Viewer
- Cloudflare R2
Connections 34
- Viewer → Catalog and discovery: browses
client/pages/index.tsx - Viewer → Search interface: searches
- Viewer → Movie detail: opens
- Movie detail → Playback UI: renders
client/pages/movie/[id].tsx - Playback UI → Cinema player: uses
client/components/movie/Player.tsx - Hero presentation → Hero video behavior: uses
- Hero video behavior → Adaptive video source: uses
client/hooks/useHeroVideoPlayer.ts - Admin console → Admin modules: renders
- API routes → Stream API: routes to
server/server/urls.py - API routes → Hero media API: routes to
server/server/urls.py - API routes → Telemetry API: routes to
server/server/urls.py - Movie API → Domain models: reads and writes
- Stream API → Domain models: reads
- Stream API → Stream and chat security: checks security
- Admin API → Domain models: reads and writes
server/core/views/admin_suite_views.py - Admin API → Movie crawler: invokes
server/core/views/admin_suite_views.py - Admin API → Background tasks: queues work
server/core/views/admin_suite_views.py - Hero media API → Domain models: reads and writes
server/core/views/hero_banner_views.py - Hero media API → Hero video pipeline: uses
server/core/views/hero_banner_views.py - Hero media API → Image quality: uses
server/core/views/hero_banner_views.py - Hero media API → FFmpeg trimmer: uses
server/core/services/ffmpeg_trimmer.py - Telemetry API → Telemetry service: uses
- Telemetry API → Domain models: reads and writes
server/core/views/telemetry_views.py - Admin API → API serializers: uses
server/core/views/admin_suite_views.py - Stream API → API serializers: uses
- Request middleware → Stream and chat security: uses
- Background tasks → Movie crawler: runs
server/core/tasks.py - Background tasks → FFmpeg trimmer: runs
server/core/tasks.py - Background tasks → Image quality: runs
server/core/tasks.py - Background tasks → Domain models: updates
server/core/tasks.py - Hero video pipeline → Cloudflare R2: uploads media
server/core/services/hero_video_pipeline.py - Movie crawler → Domain models: updates
server/core/services/crawler_service.py - Movie crawler → Sync signals: emits sync events
server/core/services/crawler_service.py - KKPhim synchronization → Domain models: synchronizes