Welcome to the OpenTv monorepo! This repository contains the complete ecosystem for the OpenTv platform, separated into three main workspaces.
A powerful React Native (Expo) application built for Android TV, Fire TV, and mobile devices. It features:
- High-performance IPTV streaming.
- Support for remote control interactions (
TVEventHandler). - Massive built-in channel lists (World Cup, FIFA, TV Networks).
- 👉 View the App Source Code & Details
- 👉 View the IPTV Playlists
The core backend server built with Express and Prisma. It handles:
- User Authentication (JWT-based).
- API Routes and Swagger UI Documentation.
- Data management for categories, streams, and users.
- 👉 View the Server Source Code & Details
A modern, premium React/Vite dashboard for managing the platform. It features:
- Glassmorphism design and modern CSS.
- Fast, responsive interface.
- Easy management of content streams and users.
- 👉 View the Dashboard Source Code & Details
Make sure you have Node.js and Yarn installed on your machine.
Because this is a Monorepo using Yarn Workspaces, you can install the dependencies for all three projects at once by running the following command in the root folder:
yarn installTo run the React Native TV App:
cd opentv-app
yarn run androidTo run the Backend Server:
cd opentv-server
npm run devTo run the Admin Dashboard:
cd dashboard
npm run devcd opentv-appnpx expo prebuild --cleanyarn androidor
yarn run androideas build -p android --profile previeweas build -p android --profile preview --local- Node.js
- Yarn
- Expo CLI
- EAS CLI
Install EAS CLI if you haven't already:
npm install -g eas-cliLog in to your Expo account:
eas loginConfigure EAS in your project:
eas build:configure- Cloud build: Download the APK/AAB from the Expo build page after the build completes.
- Local build: The APK/AAB will be generated on your local machine, and the build output will display its location.a