webhtv
WebHomeTV 基于FongMi二次开发,增强了 WebHome 自定义首页、App Native SDK、网盘链接检测 和 Nostr推荐首页。 这个项目的核心目标是让 CSP 站点首页可以变成一个真正可开发的网页应用:开发者可以用 HTML/CSS/JavaScript 定制首页,再通过 App 暴露的 Native 能力完成搜索、播放、跨域请求、资源代理、最近观看、网盘检测和状态同步。
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.