How vette1123/movies-streaming-platform works
Reely is a movie and TV discovery, streaming, and tracking product. Its main user journey is to find a title in the catalog, inspect its details, play it, and track viewing progress; it also supports synced accounts, lists, social discovery, and sharing. The README documents these capabilities, while the sampled source evidence is partial, so uncertain runtime links are omitted rather than inferred.
Main entry points: movies.ts Movie catalog · account-router.ts Account API dispatcher · routes.ts Sign-in routes · series.ts TV catalog
Components 25
Catalog and discovery
- Browse and detail pages
app/movies/(movies-list)/page.tsx - Movie catalog
services/movies.ts - TV catalog
services/series.ts - Media mapping
lib/media.ts - Movie result types
types/movie-result.ts - IMDb ratings
services/imdb.ts
Playback and tracking
- Player and sources
components/player/reely-player.tsx - Playback options
lib/playback-options.ts - Watchlist and history
components/watchlist/watchlist.tsx
Accounts and community
- Sign-in routes
lib/auth/routes.ts - Session management
lib/auth/session.ts - Token utilities
lib/token.ts - Supporter entitlement
lib/billing/entitlement.ts - Supporter gifts
lib/billing/gifts.ts - Custom lists
lib/lists/routes.ts - Public profiles
lib/profile/routes.ts - Community directory
lib/community/routes.ts
API and edge runtime
- TMDB fetch client
lib/fetch-client.ts - TMDB configuration
lib/tmdbConfig.ts - Account API dispatcher
lib/api/account-router.ts - Cloudflare API worker
cloudflare/worker.js
Feeds and indexing
- Sitemap routes
lib/sitemap-route.ts - Sitemap sections
lib/sitemap-sections.ts - RSS feed route
app/rss.xml/route.ts
Other components
- Viewer
Connections 27
- Viewer → Browse and detail pages: browses
- Browse and detail pages → Movie catalog: loads catalog
- Movie catalog → TMDB fetch client: fetches TMDB
services/movies.ts - TV catalog → TMDB fetch client: fetches TMDB
services/series.ts - Movie catalog → TV catalog: uses series data
services/movies.ts - Movie catalog → IMDb ratings: adds ratings
services/movies.ts - TV catalog → IMDb ratings: adds ratings
services/series.ts - Movie catalog → Media mapping: maps media
services/movies.ts - Media mapping → Movie result types: uses types
lib/media.ts - TMDB fetch client → TMDB configuration: reads config
lib/fetch-client.ts - Viewer → Player and sources: plays title
- Viewer → Watchlist and history: tracks viewing
- Account API dispatcher → Sign-in routes: dispatches auth
lib/api/account-router.ts - Account API dispatcher → Custom lists: dispatches lists
lib/api/account-router.ts - Account API dispatcher → Public profiles: routes profiles
lib/api/account-router.ts - Account API dispatcher → Community directory: serves directory
lib/api/account-router.ts - Sign-in routes → Session management: loads session
lib/auth/routes.ts - Sign-in routes → Token utilities: signs token
lib/auth/routes.ts - Sign-in routes → Supporter gifts: claims grants
lib/auth/routes.ts - Custom lists → Session management: checks session
lib/lists/routes.ts - Custom lists → Supporter entitlement: checks access
lib/lists/routes.ts - Public profiles → Session management: checks session
lib/profile/routes.ts - Public profiles → Supporter entitlement: checks access
lib/profile/routes.ts - Community directory → Supporter entitlement: filters members
lib/community/routes.ts - Sitemap routes → Sitemap sections: builds sections
lib/sitemap-route.ts - RSS feed route → Movie catalog: loads media
app/rss.xml/route.ts - RSS feed route → TV catalog: loads shows
app/rss.xml/route.ts