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.
136 lines
3.2 KiB
TypeScript
136 lines
3.2 KiB
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
const SITE_URL = "https://menivor.com";
|
|
|
|
/**
|
|
* Auth pages and app surfaces (signed-in or device-session) that must never be
|
|
* crawled. The public marketing surface (landing, pricing, the /editor landing,
|
|
* /showcase (templates section only), and every programmatic /tools,
|
|
* /features, /guides, /for, /make and /video-ads page) is allowed by the `/`
|
|
* rule. Prefixes match like robots.txt: "/ads" also covers "/ads/new"; none
|
|
* of them prefixes a marketing route.
|
|
*/
|
|
const DISALLOW = [
|
|
"/api/",
|
|
// Auth pages: nothing to rank, and they would compete with the landing page.
|
|
"/sign-in",
|
|
"/sign-up",
|
|
// The create flow and every signed-in or device-session app surface. The
|
|
// bare "/create" is matched exactly so "/creators/" profiles stay crawlable.
|
|
"/create$",
|
|
"/create/",
|
|
"/ab-lab",
|
|
"/account",
|
|
"/ad-studio",
|
|
"/admin",
|
|
"/ads",
|
|
"/agency",
|
|
"/analytics",
|
|
"/approvals",
|
|
"/avatars",
|
|
"/batch/",
|
|
"/beta",
|
|
"/billing",
|
|
"/blueprints",
|
|
"/brand$", // page only; /brand/* are public logo assets
|
|
"/broll",
|
|
"/calendar",
|
|
"/captions",
|
|
"/capture",
|
|
"/catalog",
|
|
"/channels",
|
|
"/characters",
|
|
"/clipmarket",
|
|
"/connections",
|
|
"/dashboard",
|
|
"/developer",
|
|
"/discover",
|
|
"/effects-lab",
|
|
"/film",
|
|
"/filtergraph",
|
|
"/gateway",
|
|
"/go",
|
|
"/hook-finder",
|
|
"/hook-lab",
|
|
"/ideas",
|
|
"/import",
|
|
"/inbox",
|
|
"/insights",
|
|
"/invite",
|
|
"/jobs",
|
|
"/marketplace",
|
|
"/media",
|
|
"/model-governance",
|
|
"/motion",
|
|
"/new",
|
|
"/notifications",
|
|
"/onboarding",
|
|
"/performance",
|
|
"/presets",
|
|
"/projects",
|
|
"/publish",
|
|
"/r/",
|
|
"/reels",
|
|
"/referral",
|
|
"/render",
|
|
"/retention-lab",
|
|
"/scheduled",
|
|
"/settings",
|
|
// NOTE: "/showcase" is intentionally NOT disallowed. Its real-reels wall and
|
|
// templates section (viral shot-template gallery) are public marketing
|
|
// content with no auth required and ship their own
|
|
// SoftwareApplication/Organization JSON-LD for indexing; only the "your
|
|
// completed reels" sub-section is sign-in gated client-side, so crawlers
|
|
// see the same safe, auth-free view as a logged-out visitor. See
|
|
// app/(marketing)/showcase/page.tsx.
|
|
"/spend",
|
|
"/studio",
|
|
"/team",
|
|
"/trend-lab",
|
|
"/trends",
|
|
"/uploads",
|
|
"/usage",
|
|
"/voices",
|
|
"/wallet",
|
|
"/workflows-lab",
|
|
"/workspace",
|
|
];
|
|
|
|
/**
|
|
* AI answer-engine crawlers. Explicitly allowing them is a low-cost GEO
|
|
* (generative-engine optimisation) play: the tools, features and guides pages
|
|
* are structured for citation in AI answers.
|
|
*/
|
|
const AI_CRAWLERS = [
|
|
"GPTBot",
|
|
"ClaudeBot",
|
|
"Claude-SearchBot",
|
|
"OAI-SearchBot",
|
|
"PerplexityBot",
|
|
"Google-Extended",
|
|
"Applebot-Extended",
|
|
];
|
|
|
|
/**
|
|
* Dynamic robots.txt (Next.js App Router). Allows crawling of the public
|
|
* marketing surface while disallowing the authenticated app surfaces.
|
|
*/
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: [
|
|
{
|
|
userAgent: "*",
|
|
allow: "/",
|
|
disallow: DISALLOW,
|
|
},
|
|
...AI_CRAWLERS.map((userAgent) => ({
|
|
userAgent,
|
|
allow: "/",
|
|
disallow: DISALLOW,
|
|
})),
|
|
],
|
|
sitemap: [`${SITE_URL}/sitemap.xml`, `${SITE_URL}/video-sitemap.xml`],
|
|
host: SITE_URL,
|
|
};
|
|
}
|