Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
65 lines
3.9 KiB
Markdown
65 lines
3.9 KiB
Markdown
# Menivor TV (apps/watch)
|
|
|
|
The viewer app for Menivor channels (Wave P PM3.3, MV8 and MV9): phones and
|
|
tablets, Apple TV, Android TV and Fire TV from one Expo project. One app per
|
|
store under our accounts (OD-MV7); viewers open a channel by name or link.
|
|
|
|
- Screens: channel picker, channel home (rails, remote focus), watch (platform
|
|
player through expo-video; tier-1 protected HLS plays natively), sign in
|
|
(phone: email code on Scribase Auth; TV: a code approved on the phone at
|
|
`https://menivor.com/c/<handle>/tv`).
|
|
- Resume works across web, phone and TV (the viewer progress API).
|
|
- TV builds: `EXPO_TV=1` turns on react-native-tvos (MIT) through
|
|
`@react-native-tvos/config-tv`. Fire TV uses the Android TV build.
|
|
- Casting (react-native-google-cast, MIT) stays off unless
|
|
`EXPO_PUBLIC_CAST_LIVE=1`. With the Menivor receiver (`cast-receiver/`,
|
|
`EXPO_PUBLIC_CAST_RECEIVER_ID`) the TV refreshes its own 10-minute token, so
|
|
any length casts to the end; with the default receiver only titles under
|
|
9 minutes are offered.
|
|
- Cast receiver API allowlist: the receiver only fetches grants from API
|
|
origins listed in `cast-receiver/config.js` (`API_ORIGINS`, compared exactly
|
|
by scheme, host and port; https only). Default: `https://api.menivor.com`,
|
|
the origin of the app's default `EXPO_PUBLIC_API_BASE`. Set
|
|
`CAST_API_ORIGINS` (comma separated bare https origins, for example
|
|
`https://api.menivor.com,https://staging-api.menivor.com`) when running
|
|
`npm run cast:publish` to upload a generated config instead.
|
|
`CAST_ALLOW_LOCALHOST=1` also accepts `http://localhost` / `127.0.0.1` for a
|
|
dev receiver and is refused unless `CAST_R2_PREFIX` is not `cast`. A cast
|
|
from any other base (another host, a look-alike such as
|
|
`api.menivor.com.evil.com`, plain http, a missing base) shows an error on the
|
|
TV and loads nothing, with no request made. A phone build pointed at a
|
|
different `EXPO_PUBLIC_API_BASE` needs that origin in `CAST_API_ORIGINS`.
|
|
- Viewer code (QM1.5): paid titles draw the 8-character viewer code from the
|
|
play grant small and faint over the picture, moving every 30 s on the same
|
|
spots as the web player (`src/player/viewer-mark.ts`). It never takes a
|
|
touch and is hidden from screen readers. Because the platform fullscreen and
|
|
picture-in-picture show the video outside the app's views, paid titles use
|
|
the app's own fullscreen (which keeps the code) and no picture-in-picture.
|
|
The Menivor cast receiver draws the same code on the TV; the default
|
|
receiver (short titles without `EXPO_PUBLIC_CAST_RECEIVER_ID`) cannot.
|
|
- Buying: the creator's hosted checkout opens in the system browser
|
|
(expo-web-browser) and the title unlocks from the grant on return. iOS stays
|
|
a reader app (guideline 3.1.3(a)) unless `EXPO_PUBLIC_EXTERNAL_CHECKOUT_IOS=1`.
|
|
|
|
- Alerts (QM1.5): a signed-in viewer turns on new episodes and/or live starts
|
|
per channel (expo-notifications). A tapped alert opens the episode or the
|
|
channel. Needs the EAS project id at build time (`EAS_PROJECT_ID`); without
|
|
it the switch says alerts are not set up yet.
|
|
|
|
Env (build time, publishable only): `EXPO_PUBLIC_API_BASE`,
|
|
`EXPO_PUBLIC_SCRIBASE_VIEWERS_URL`, `EXPO_PUBLIC_SCRIBASE_VIEWERS_ANON_KEY`,
|
|
`EXPO_PUBLIC_CAST_RECEIVER_ID` (optional), `EXPO_PUBLIC_CAST_LIVE`.
|
|
|
|
Checks: `npm test` (logic, copy rules, config), `npm run licence:check` after
|
|
`npm ci` (no GPL, LGPL or AGPL in the tree).
|
|
|
|
Store builds (QM1.4): `npm run release:check` lists the owner inputs still
|
|
missing (App Store Connect app id, `EXPO_TOKEN`, the Play service account).
|
|
Then `npm run build:ios` / `build:android` / `build:tvos` / `build:androidtv`
|
|
(local EAS builds, each after the licence check) and `npm run submit:ios` /
|
|
`submit:android` (TestFlight and Play internal testing).
|
|
`npm run cast:publish` prints the R2 upload commands for the receiver.
|
|
|
|
Not done on this machine: the signed store builds (owner accounts, M5) and
|
|
simulator timings for the 3 s start target.
|