How pulkitpareek18/netflix works
Netflix Ke Pitaji is a static, single-page streaming-style catalog and player. A user searches or opens a shared URL; client-side logic resolves titles, presents results, and can select a movie or a TV episode for playback. The README also advertises URL sharing, while the sampled script shows URL-driven restoration, TMDB lookups, and iframe playback. A browser service worker caches the root page for offline/PWA behavior. The script excerpts omit parts of search and player configuration, so only directly visible or README-documented relationships are shown.
Main entry points: index.html Single-page interface · script.js URL sharing and restoration · sw.js Cache request handler
Components 12
App experience
- Single-page interface
index.html - jQuery utilities
jquery.js - URL sharing and restoration
script.js
Discovery and metadata
- Search and results
script.js - IMDb title lookup
script.js - TMDB metadata API
Playback
- TV season and episode selection
script.js - Embedded video player
script.js
Offline support
- Cache request handler
sw.js - Browser Cache API
Other components
- Viewer
- Streaming embed provider
Connections 11
- Viewer → Single-page interface: uses
README.md - Single-page interface → Search and results: searches
script.js - Single-page interface → URL sharing and restoration: shares URLs
README.md - URL sharing and restoration → Search and results: restores search
script.js - Search and results → IMDb title lookup: looks up title
script.js - URL sharing and restoration → IMDb title lookup: resolves title
script.js - TV season and episode selection → TMDB metadata API: resolves show
script.js - Embedded video player → TMDB metadata API: loads episodes
script.js - TV season and episode selection → Embedded video player: selects episode
script.js - Embedded video player → Streaming embed provider: embeds playback
- Cache request handler → Browser Cache API: reads and writes
sw.js