explaingit

fish2018/webhtv

28Java
This is a quick first-pass explanation. The richer sections — use-cases, tech stack, setup, prompts — are still being generated.

TLDR

WebHomeTV is an Android video player app built as an extension of an existing open-source media app called FongMi/CatVod.

Mindmap

A visual breakdown will appear here once this repo is fully enriched.

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

In plain English

WebHomeTV is an Android video player app built as an extension of an existing open-source media app called FongMi/CatVod. It keeps all the original playback features (on-demand video, live streams, screen casting, a built-in local web server) and adds several new capabilities on top. The main addition is a customizable home screen system called WebHome. Instead of a fixed app interface, a site operator or developer can write a home screen as an ordinary webpage using HTML, CSS, and JavaScript, and the app will display that webpage as its main screen. To make this useful, the app injects a programming interface called the WebHome Native SDK into every WebHome page. This interface gives the webpage direct access to app features: it can trigger video playback, run searches within the app, bypass the browser's cross-domain request restrictions (which would otherwise prevent the page from fetching data from different servers), proxy image and video resources to avoid access restrictions, read the user's recent watch history, and check whether cloud storage links are still valid. The cloud storage link checker lets a home screen or catalog page verify in advance whether a cloud drive link is alive before presenting it to the user. The check supports batch submissions, processing up to ten links in parallel, and marks results with status indicators. A demo home screen is included in the repository. It pulls trending movie and TV data from TMDB (a public movie database), displays them in a card grid that adjusts column count based on screen size, and uses Nostr (a decentralized network protocol) to sync user preferences and activity signals across devices. It also integrates a cloud storage search feature. The app builds with standard Android tools (JDK 17, Gradle) and produces separate APK files for phone and TV (leanback) targets. The README states that the project does not include, maintain, or distribute any video content or streaming sources, and that users must configure their own legal data sources. The app is written in Java and documentation is in Chinese.

Open on GitHub → Explain another repo

← fish2018 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.