videogen/apps/web/wrangler.jsonc
caelum0x d56639a594
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
Menivor — open source release (MIT), free to use and fork
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.
2026-12-04 02:10:26 +03:00

83 lines
4.5 KiB
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "menivor",
"account_id": "c7a5b49549dcb64f2e258db485c723ca",
"main": ".open-next/worker.js",
"compatibility_date": "2026-08-23",
"compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
"workers_dev": false,
"preview_urls": false,
"assets": {
"binding": "ASSETS",
"directory": ".open-next/assets"
},
"observability": {
"enabled": true,
"head_sampling_rate": 1
},
"routes": [
{ "pattern": "menivor.com", "custom_domain": true },
{ "pattern": "www.menivor.com", "custom_domain": true }
],
// Free /tools AI generators (app/api/tools/generate): per-IP and global
// limits that hold across isolates within a colo (Workers Rate Limiting API).
"ratelimits": [
{ "name": "TOOLS_IP_LIMITER", "namespace_id": "4101", "simple": { "limit": 5, "period": 60 } },
{ "name": "TOOLS_GLOBAL_LIMITER", "namespace_id": "4102", "simple": { "limit": 40, "period": 60 } }
],
"kv_namespaces": [
{
// Waitlist signups written by app/api/waitlist/route.ts. The id below is
// the REAL "WAITLIST" KV namespace on account c7a5b49549dcb64f2e258db485c723ca
// (verified via `npx wrangler kv namespace list` 2026-09-15). The route
// degrades to 503 + mailto fallback if the binding is ever absent.
"binding": "WAITLIST",
"id": "5ad25698b2554f51881ff4e76001eee8"
}
],
"vars": {
"NEXT_PUBLIC_API_BASE": "https://api.menivor.com/api/v1",
// Clerk publishable key (public) for the PRODUCTION instance whose Frontend
// API is clerk.menivor.com. This is a real key, so the app mounts
// <ClerkProvider> (see lib/clerk.ts hasRealClerkKey) and the authenticated
// app surface is active. NEXT_PUBLIC_* is inlined at build time from
// apps/web/.env.local, so this must match that build value.
// The matching CLERK_SECRET_KEY (sk_live_…) is stored as a Worker secret (not here).
"NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY": "pk_live_Y2xlcmsubWVuaXZvci5jb20k",
"NEXT_PUBLIC_CLERK_SIGN_IN_URL": "/sign-in",
"NEXT_PUBLIC_CLERK_SIGN_UP_URL": "/sign-up",
"NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL": "/reels",
"NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL": "/reels",
// Rally Letters (listmonk on box 1): public double opt-in list
// `menivor-updates`. Not secrets; /api/newsletter uses only the public API.
// Free /tools AI generators call Railyard Relay (Claude Haiku). RELAY_API_KEY is a Worker secret.
"RELAY_URL": "https://relay.ereboslab.com",
"LISTMONK_URL": "https://letters.ereboslab.com",
"LISTMONK_LIST_UUID": "50ee04eb-c698-49bf-ba60-2ad4664b39ec",
// Browser error reporting (GlitchTip on box 2, project "menivor-web").
// Public ingest key, not a secret. NEXT_PUBLIC_* is inlined at build
// time from apps/web/.env.local, so this must match that build value;
// this entry only covers the Workers runtime env (see .env.example).
"NEXT_PUBLIC_GLITCHTIP_DSN": "https://6fcb22b8f5ef487ab3ca52bbcfb6d334@errors.ereboslab.com/3",
// Server-only (never NEXT_PUBLIC_, never baked into the client bundle):
// a DNS-only (grey-clouded, not proxied) record for the same Menivor API
// origin, added 2026-11-16 specifically so this Worker's own server-side
// fetches skip our Cloudflare zone's Bot Fight Mode (which cannot be
// bypassed by any WAF rule and has 403'd every same-zone Worker
// subrequest to api.menivor.com's `/launch/status`, forcing the
// marketing hero into DEGRADED_PUBLIC_POSTURE on every request — see
// src/shared/launch-posture/server.ts and plans/menivor.md 2026-11-16
// ~15:12 UTC). Browsers keep using NEXT_PUBLIC_API_BASE (api.menivor.com)
// unchanged; only this Worker's own outbound fetches use this origin.
"API_ORIGIN_BASE": "https://api-origin.menivor.com/api/v1",
// Scribase Auth (email-code sign-in, additive next to Clerk — see
// app/api/auth/email-code/route.ts, lib/scribase-auth.ts). Project
// `ereboslab/menivor-auth` on the self-hosted Scribase control plane;
// this is the project's public anon-role key (same trust level as a
// Supabase anon key, not a secret). CLERK_SECRET_KEY (already a Worker
// secret, see above) does the actual find-or-create + sign-in ticket.
"SCRIBASE_AUTH_URL": "https://ereboslab-menivor-auth-production-ce5ccd4e.scribase.com",
"SCRIBASE_AUTH_ANON_KEY": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzY3JpYmFzZSIsInJlZiI6ImVyZWJvc2xhYi1tZW5pdm9yLWF1dGgtcHJvZHVjdGlvbiIsInJvbGUiOiJhbm9uIiwiaWF0IjoxNzA0MDY3MjAwLCJleHAiOjIwMTk0MjcyMDB9.U2WDXBBO-zDP6K8bW8BG4SVoLjpana6xdW-iKOw61yk"
}
}