How roshang1t/netprime works
NetPrime is an Expo/React Native movie and series discovery and streaming app. Users browse or search titles, open film or TV details, and proceed to a player; the app also provides trending shows and locally stored watch history. The sampled context fetches catalog data from a worker-backed API, while the README says media is third-party hosted and NetPrime searches and scrapes public data rather than hosting it. Some screen and playback internals were not sampled, so those relationships are left unverified.
Main entry points: movieContext.tsx Catalog Context · player.tsx Media Player · history.ts History Storage · index.tsx Home Feed
Components 20
Discovery
- App Shell
app/_layout.tsx - Home Feed
app/(tabs)/index.tsx - Now Playing List
components/popularList.tsx - Trending Shows
app/trendingShows.tsx - Search & Providers
app/(tabs)/search.tsx - Movie Lists
components/movieList.tsx
Titles & Playback
- Film Details
app/(player)/details.tsx - TV Details
app/(player)/tvDetails.tsx - Media Player
app/(player)/player.tsx - Third-Party Media
Catalog Data
- Catalog Context
contexts/movieContext/movieContext.tsx - Catalog Types
contexts/movieContext/types.ts - Catalog API
Library & Settings
- Watch History Screen
components/watchHistory.tsx - History Storage
utils/history.ts - History Route
app/watchHistory.tsx - More & Updates
app/(tabs)/more.tsx - Release Check
utils/checkGithubRelease.ts - GitHub Releases
Other components
- Viewer
Connections 23
- Viewer → App Shell: opens app
- App Shell → Catalog Context: provides context
app/_layout.tsx - Home Feed → Now Playing List: renders list
app/(tabs)/index.tsx - Home Feed → Movie Lists: renders list
app/(tabs)/index.tsx - Home Feed → Trending Shows: routes to
app/(tabs)/index.tsx - Now Playing List → Catalog Context: reads catalog
components/popularList.tsx - Now Playing List → Film Details: routes to
- Trending Shows → Catalog Context: reads catalog
app/trendingShows.tsx - Search & Providers → Catalog API: requests search
app/(tabs)/search.tsx - Catalog Context → Catalog API: fetches catalog
contexts/movieContext/movieContext.tsx - Catalog Context → Catalog Types: uses types
contexts/movieContext/movieContext.tsx - Search & Providers → TV Details: routes to
app/(tabs)/search.tsx - Film Details → History Storage: updates history
app/(player)/details.tsx - TV Details → History Storage: updates history
app/(player)/tvDetails.tsx - Film Details → Media Player: opens playback
- TV Details → Media Player: opens playback
- Media Player → Third-Party Media: loads media
README.md - History Route → Watch History Screen: renders screen
app/watchHistory.tsx - Watch History Screen → History Storage: reads history
components/watchHistory.tsx - Watch History Screen → Media Player: routes to
components/watchHistory.tsx - More & Updates → History Storage: clears history
app/(tabs)/more.tsx - More & Updates → Release Check: checks updates
app/(tabs)/more.tsx - Release Check → GitHub Releases: queries releases
utils/checkGithubRelease.ts