videogen/apps/web/.env.example
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

100 lines
5.3 KiB
Plaintext

# ReelForge web — copy to `.env.local` and fill in real values.
# cp .env.example .env.local
# NEVER commit `.env.local`. NEXT_PUBLIC_* values are exposed to the browser
# by design; do not put real secrets in NEXT_PUBLIC_* vars.
# ---------------------------------------------------------------------------
# Backend API
# ---------------------------------------------------------------------------
# Base URL of the ReelForge v1 API (must include the /api/v1 prefix).
# Deployed production origin: https://api.menivor.com/api/v1
# Use the localhost value below only when running the FastAPI backend locally.
NEXT_PUBLIC_API_BASE=http://localhost:8080/api/v1
# Pricing page fallback only (used when the API cannot be read at render time).
# The live catalog from GET /billing/monthly-plans always wins. "1" = monthly
# and yearly plans on sale, "month" = monthly only, unset = "Not on sale yet".
NEXT_PUBLIC_MONTHLY_PLANS_ON_SALE=
# Public app-level API key sent as the `x-api-key` header when no Clerk JWT
# and no device-session key are available. Safe to expose; scope it to the
# frontend. Leave BLANK to rely on the zero-signup device session
# (src/shared/device, which exchanges an install id at POST /auth/device for a
# per-install key) plus per-request Clerk tokens — the default posture.
NEXT_PUBLIC_APP_API_KEY=
# Cloudflare Turnstile site key for the anonymous reel-preview box (paste a
# link, see a real preview before sign-up -- app/domains/reel_preview on the
# API). Leave BLANK until a real widget exists: the preview card renders with
# no visible challenge and the API's own per-IP rate limit
# (app/services/ratelimit.py, 8/hour) is the sole abuse control in that mode.
# Creating the widget needs a Cloudflare dashboard token scoped
# Account.Turnstile:Edit (the DNS-only token already in use here does not
# carry that scope) -- owner-only step; pair with TURNSTILE_SECRET_KEY in the
# API's own env once created (see infra-box/env/menivor.env.example).
NEXT_PUBLIC_TURNSTILE_SITE_KEY=
# ---------------------------------------------------------------------------
# Clerk auth (email + Google). Keys from the Clerk dashboard.
# Publishable key is browser-safe; the secret key is server-only.
# ---------------------------------------------------------------------------
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
# Clerk route hints (optional overrides; defaults match app/ structure).
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
# Optional Clerk Frontend API proxy (see README "Clerk Frontend API proxy").
# Leave empty to use the FAPI domain in the publishable key.
# ---------------------------------------------------------------------------
# Scribase Auth: email-code sign-in, additive next to Clerk above (see
# app/api/auth/email-code/route.ts, lib/scribase-auth.ts). Anon-role key,
# not a secret. Empty => the email-code form 503s and the page falls back
# to Clerk's own widget only.
# ---------------------------------------------------------------------------
SCRIBASE_AUTH_URL=
SCRIBASE_AUTH_ANON_KEY=
NEXT_PUBLIC_CLERK_PROXY_URL=
# Google Search Console HTML-tag verification token. Paste only the token
# value, not the full <meta> element.
GOOGLE_SITE_VERIFICATION=
# ---------------------------------------------------------------------------
# TypeSafe / Jev (server-only) — powers the Winning Hook Finder
# (POST /api/v1/growth/rank-hooks). SERVER-ONLY secret: NOT a NEXT_PUBLIC_* var,
# so it never reaches the browser. On Cloudflare set it as a Worker secret
# (`wrangler secret put TYPESAFE_API_KEY`); locally put it in `.env.local`.
# When BLANK the route degrades gracefully to a transparent text heuristic
# (engine: "heuristic") and logs a warning — it never fakes Jev output.
TYPESAFE_API_KEY=
# Optional overrides (defaults: https://api.typesafe.ai/v1 and jev-latest).
# TYPESAFE_BASE_URL=
# TYPESAFE_MODEL=
# ---------------------------------------------------------------------------
# Newsletter (server-only) — POST /api/newsletter proxies the footer signup to
# our self-hosted listmonk (infra-box/stacks/listmonk) public subscription API.
# LISTMONK_LIST_UUID = UUID of the public, double-opt-in `menivor-updates` list
# (printed by stacks/listmonk/bootstrap.py). No listmonk admin credentials are
# needed or read by the web app. When blank the route returns 503 with a clear
# "not switched on yet" message. On Cloudflare: plain Worker vars are fine.
LISTMONK_URL=
LISTMONK_LIST_UUID=
# MN7a: SSO & SCIM settings stay hidden and show "contact sales" until real SSO
# ships (MN7b). Set to 1 only together with MENIVOR_SSO_ENABLED=1 on the API.
NEXT_PUBLIC_MENIVOR_SSO_ENABLED=
# ---------------------------------------------------------------------------
# Browser error reporting (GlitchTip on box 2, Sentry-compatible). Public
# ingest key, baked in at build time; must be passed on the build command
# (see wrangler.jsonc/DEPLOY.md), not just set here, because Next.js inlines
# NEXT_PUBLIC_* at `next build`/`opennextjs-cloudflare build`. Unset means the
# client-side reporter (src/shared/observability) stays off.
# ---------------------------------------------------------------------------
NEXT_PUBLIC_GLITCHTIP_DSN=https://6fcb22b8f5ef487ab3ca52bbcfb6d334@errors.ereboslab.com/3
NEXT_PUBLIC_GLITCHTIP_RELEASE=