$ show MoonTechLab/LunaTV
LunaTV (internally named MoonTV) is a self-hosted, full-stack media aggregation application built with Next.js 14, React 18, TypeScript, Tailwind CSS, and PWA tooling. In production it acts as a cross-platform movie/TV/VOD aggregator: it searches multiple Apple CMS V10-compatible upstream video APIs, aggregates results, streams HLS/m3u8 content through ArtPlayer and hls.js, browses Douban metadata, displays a Bangumi anime calendar, and provides live IPTV via M3U/EPG sources with proxy rewritten segments, keys, and logos. It also ships authentication, favorites, play records, skip-intro settings, search history, an admin panel for managing video sources/categories/users/live configs, and encrypted data export/import. The repository is an application, not a data-research project; its data aggregation is runtime functionality rather than analytical pipelines.
The LLM identified 4 files worth highlighting for reuse:
Row-based virtualization wrapper around TanStack Virtual with responsive grid column detection. Self-contained and can be lifted into any React media grid to avoid rendering thousands of DOM nodes.
Validates image-proxy URLs by blocking private/loopback IP ranges and enforcing content-type allowlists. As a standalone guard, it solves a recurring SSRF problem for any server-side fetch proxy.
Per-source paginated cache with TTL, timeout and forbidden-status bookkeeping. Self-contained and useful wherever aggregated upstream search results need short-lived deduplication without external cache infrastructure.
Accessible bottom-sheet with scroll-lock, dismissal logic and animation; packaged as a standalone React component that can be reused in mobile-first web apps.