OpaiTV is a cross-platform video player supporting React Native TV/Android and Windows, with features like search, favorites, history, M3U live streaming, local video, and user-defined AppleCMS/MacCMS subscriptions.

Stars

87

7-day growth

No data

Forks

7

Open issues

0

License

MIT

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a fully client-side, source-free video player that respects copyright by requiring users to bring their own content sources, while offering a consistent experience across TV, Android, and Windows via both React Native and WPF.

Who it is for

  • Developers building custom video aggregation platforms
  • Users who manage their own AppleCMS/MacCMS or M3U content sources
  • Cross-platform app enthusiasts interested in React Native TV and .NET desktop integration
  • Privacy-conscious viewers who want full control over their video feeds

Use cases

  • Self-hosted IPTV or VOD streaming with user-configured M3U and CMS subscriptions
  • Playing local video files on Android TV, Apple TV, or Windows with a unified interface
  • Testing and debugging custom video source APIs using the built-in search and favorites
  • Building a private media center without reliance on third-party aggregators

Strengths

  • Cross-platform support covering Android TV, Apple TV, and Windows desktop
  • No bundled video sources, reducing legal risk and giving users full autonomy
  • Open source under MIT license, encouraging customization and community contributions
  • Built with modern stacks (Expo, TypeScript, Zustand for RN; WPF, .NET 8, LibVLCSharp for Windows)

Considerations

  • Requires users to manually configure compatible video subscription addresses and M3U URLs; zero built-in content
  • Only supports AppleCMS/MacCMS format for video subscriptions, limiting source compatibility
  • Windows client depends on LibVLCSharp and .NET 8 runtime (self-contained release mitigates this)

README quick start

OpaiTV

OpaiTV 是一个跨平台视频播放器项目,包含 React Native TV/Android 客户端和 Windows 桌面客户端。项目提供播放器、搜索、收藏、播放记录、直播 M3U、本地视频和用户自定义 AppleCMS/MacCMS 订阅等通用能力。

公开仓库说明

本仓库是无内置视频源的公开版本:

  • 不包含、托管、维护或推荐任何视频源、直播列表或站点接口。
  • 应用首次启动时,视频订阅地址和 M3U 地址均为空。
  • 不包含抓源代理、站点适配代理或其运行时。
  • 测试中的 .example 地址是 IANA 保留的示例域名,不会作为实际内容源使用。

用户可以在应用设置中填写自己管理的兼容服务。仓库维护者不会通过 Issue、Pull Request 或 Release 分发源配置。

平台

  • React Native TV/Android:Expo、React Native TVOS、TypeScript、Zustand
  • Windows:WPF、.NET 8、LibVLCSharp

下载

Windows 自包含版本发布在 GitHub Releases。下载 OpaiTV-*-win-x64-self-contained.zip,解压后运行 OpaiTV.exe,无需另外安装 .NET。

环境要求

  • Node.js 18 或更高版本
  • Yarn 1.22
  • Android Studio 和 JDK 17(Android 构建)
  • Xcode(Apple TV 构建)
  • .NET 8 SDK(Windows 构建)

React Native 开发

yarn install --frozen-lockfile
yarn typecheck
yarn lint
yarn test-ci
yarn start

生成并运行原生项目:

yarn prebuild
yarn android
# 或
yarn ios

Windows 开发

dotnet build desktop\OrionTV.Desktop.sln
dotnet test desktop\OrionTV.Desktop.sln
dotnet run --project desktop\OrionTV.Desktop.App\OrionTV.Desktop.App.csproj

Windows 自包含发布:

dotnet publish desktop\OrionTV.Desktop.App\OrionTV.Desktop.App.csproj `
  -c Release -r win-x64 --self-contained true `
  -o desktop\publish\win-x64-self-contained

配置

两端默认均不携带视频订阅或直播地址。运行应用后,在设置页配置:

  • 视频源订阅:兼容项目支持的 AppleCMS/MacCMS JSON 或 XML 格式
  • 直播源:用户自行管理的 M3U 地址
  • 服务端地址:可选的自建后端

Windows 端还可以通过 AI 工具窗口启动本机已安装的 Claude Code 或 Codex。CLI 会先读取随应用发布的 desktop/docs/ORION_SOURCE_GUIDE.md,并把验证后的兼容配置写入用户数据目录;仓库本身不会接收或提交这些本地配置。

公开树审计

提交前运行:

yarn audit:public

该检查会拒绝已知代理目录、内置源标识、未审核的真实视频接口 URL、常见凭据格式和超过 GitHub 单文件限制的内容。Pull Request 和 github-public 分支推送也会自动执行同一检查。

贡献

请先阅读 CONTRIBUTING.md。功能修复和通用协议改进可以提交,但请勿在代码、测试、文档、日志或截图中加入真实视频源。

许可证

本项目采用 MIT License。第三方依赖仍分别适用其自身许可证。

免责声明

OpaiTV 只提供通用客户端代码,不存储、上传或分发视频内容。使用者应确保其配置和访问的内容符合适用法律及服务条款。

Description

Source-free cross-platform TV and desktop media player

Related repositories

Similar projects matched by category, topics, and programming language.

loyal-studio
loyal-studio GitHub avatar

Honami-Animation-System

Honami is a visual, UI-first animation system for Unity 6 that replaces Mecanim with timeline editors, node graphs, and a zero-allocation runtime, letting animators author animations with almost no code.

C#
239
aakk007
aakk007 GitHub avatar

RogueCleaner

A Windows tool that detects and removes malicious leftovers from right-click menus, startup items, services, scheduled tasks, browser extensions, and file associations.

C#
212
ThioJoe
ThioJoe GitHub avatar

Thio-Background-App-Notifier

A lightweight Windows tool that notifies you about new auto-starting background services and scheduled tasks that Windows normally doesn't alert you about.

C#
147