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 cast receiver (QM1.4, P-M16)
A static Custom Web Receiver for Chromecast and Google TV. The phone app casts
a title with customData (apiBase, titleId, the viewer session and the
device id). The receiver gets its own playback grant, refreshes it a minute
before the 10-minute token ends, and rewrites every manifest, segment and key
request to the newest token, so a 30-minute title plays to the end.
token.js: the refresh and rewrite logic (tested in../tests/cast-receiver.test.tswith a simulated 30-minute playback).config.js: the API allowlist (API_ORIGINS, defaulthttps://api.menivor.com) and the dev-onlyALLOW_LOCALHOSTflag. The receiver refuses anyapiBasewhose exact origin is not listed (https only) and shows the reason on screen without fetching.npm run cast:publishuploads a generated copy whenCAST_API_ORIGINS/CAST_ALLOW_LOCALHOST=1are set.mark.js: the moving viewer code drawn over paid titles (same spots as the web and phone players).receiver.js: the CAF wiring (LOAD interceptor, request handlers, error and viewer code overlays).index.html: the page the Cast device loads.
Hosting: upload the page and scripts to the public R2 bucket behind
https://cast.menivor.com/ (npm run cast:publish prints the wrangler r2
commands; it does not upload by itself). Then register the receiver URL in the
Google Cast SDK Developer Console and build the phone app with
EXPO_PUBLIC_CAST_RECEIVER_ID=<app id> and EXPO_PUBLIC_CAST_LIVE=1.
Registering the receiver is an owner step (Cast console account).