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.
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=1turns 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 defaultEXPO_PUBLIC_API_BASE. SetCAST_API_ORIGINS(comma separated bare https origins, for examplehttps://api.menivor.com,https://staging-api.menivor.com) when runningnpm run cast:publishto upload a generated config instead.CAST_ALLOW_LOCALHOST=1also acceptshttp://localhost/127.0.0.1for a dev receiver and is refused unlessCAST_R2_PREFIXis notcast. A cast from any other base (another host, a look-alike such asapi.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 differentEXPO_PUBLIC_API_BASEneeds that origin inCAST_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 withoutEXPO_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.