caelum0x d56639a594
Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
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

232 lines
7.4 KiB
TypeScript

import type { Metadata } from "next";
import Link from "next/link";
import { ArrowRight } from "lucide-react";
import {
SITE_URL,
breadcrumbLd,
compactSeoDescription,
graphDocument,
itemListLd,
} from "@/lib/seo";
import { BYOK_PROVIDERS } from "@/lib/byok";
import { JsonLd } from "@/components/marketing/seo/JsonLd";
import { Breadcrumbs } from "@/components/marketing/seo/Breadcrumbs";
import { MenivorMark } from "@/components/brand/MenivorMark";
import { GROK_BOT_PATH } from "@/lib/grok-bot";
import {
agentMcpBody,
calendarBody,
publishGroupTitle,
socialPublishBody,
} from "@/lib/marketing/publishing-cards";
import { getLaunchPosture } from "@/src/shared/launch-posture/server";
const TITLE = "Menivor integrations: API, MCP, webhooks, publishing and more";
function pageDescription(publishingOpen: boolean): string {
return compactSeoDescription(
publishingOpen
? "Every way to connect Menivor: TikTok, Instagram and YouTube publishing, the REST API, signed webhooks, a remote MCP server for AI agents, the free Grok Bot template, the Chop editor, and your own provider keys."
: "Every way to connect Menivor: the REST API, signed webhooks, a remote MCP server, the free Grok Bot template, and the Chop editor. Direct publishing is not open yet, so you download a reel and post it yourself.",
);
}
export async function generateMetadata(): Promise<Metadata> {
const posture = await getLaunchPosture();
const description = pageDescription(posture.publishingOpen);
return {
title: TITLE,
description,
alternates: { canonical: "/integrations" },
openGraph: {
type: "website",
url: `${SITE_URL}/integrations`,
siteName: "Menivor",
title: TITLE,
description,
},
};
}
interface Integration {
readonly name: string;
readonly body: string;
readonly href: string;
readonly cta: string;
readonly external?: boolean;
readonly mark?: boolean;
}
function integrationGroups(
publishingOpen: boolean,
): ReadonlyArray<{ readonly title: string; readonly items: readonly Integration[] }> {
return [
{
title: publishGroupTitle(publishingOpen),
items: [
{
name: "TikTok, Instagram and YouTube Shorts",
body: socialPublishBody(publishingOpen),
href: "/connections",
cta: "Connect accounts",
},
{
name: "Content calendar",
body: calendarBody(publishingOpen),
href: "/calendar",
cta: "Open the calendar",
},
],
},
{
title: "Build on Menivor",
items: [
{
name: "REST API",
body: "Create reels, poll jobs, upload media and read performance over HTTPS with an x-api-key header.",
href: "/api-docs",
cta: "Read the API reference",
},
{
name: "Personal API keys",
body: "Mint and revoke keys for scripts, the MCP server and the Chop editor.",
href: "/account/api-keys",
cta: "Manage API keys",
},
{
name: "Webhooks",
body: "Get signed callbacks when a job finishes or fails, with delivery history and test sends.",
href: "/developer",
cta: "Set up webhooks",
},
{
name: "MCP server for AI agents",
body: agentMcpBody(publishingOpen),
href: "/mcp",
cta: "Connect an agent",
},
{
name: "Grok Bot template",
body: "Add the free Menivor Launch Reels template to Grok Bot. Give it an X launch post or a product link and it returns three reels in 9:16 with different hooks, after you approve the cost.",
href: GROK_BOT_PATH,
cta: "Add to Grok Bot",
external: true,
mark: true,
},
],
},
{
title: "Edit and import",
items: [
{
name: "Chop, the Menivor editor",
body: "Free desktop editor for macOS, Windows and Linux. Open a Menivor reel to fine-tune it, add captions and voiceover, and send the result back.",
href: "/editor",
cta: "Get Chop",
},
{
name: "Import from a URL",
body: "Paste a product or article link and get a hook-first reel draft from its content.",
href: "/import",
cta: "Import a URL",
},
],
},
{
title: "Providers and accounts",
items: [
{
name: "Bring your own provider keys",
body: `Route generation through your own ${BYOK_PROVIDERS.slice(0, 6)
.map((provider) => provider.name)
.join(", ")} and other accounts for a metered routing fee.`,
href: "/settings/provider-keys",
cta: "Add provider keys",
},
{
name: "SSO and SCIM",
// MN7a: SSO is set up per team on Enterprise until self-serve SSO ships.
body: "Single sign-on and SCIM provisioning for teams on Enterprise plans.",
href: "/settings/sso",
cta: "Contact sales",
},
{
name: "Model catalog",
body: "Compare the video, voice and image models Menivor routes to, with per-unit prices.",
href: "/models",
cta: "Browse models",
},
],
},
];
}
export default async function IntegrationsPage() {
const posture = await getLaunchPosture();
const groups = integrationGroups(posture.publishingOpen);
const crumbs = [
{ name: "Home", path: "/" },
{ name: "Integrations", path: "/integrations" },
];
const all = groups.flatMap((group) => group.items);
const jsonLd = graphDocument([
breadcrumbLd(crumbs),
itemListLd(all.map((item) => ({ name: item.name, path: item.href }))),
]);
return (
<div className="container py-16 lg:py-20">
<JsonLd data={jsonLd} />
<div className="mx-auto max-w-5xl">
<Breadcrumbs crumbs={crumbs} />
<h1 className="text-balance text-4xl font-bold tracking-tight sm:text-5xl">Integrations</h1>
<p className="mt-4 max-w-2xl text-pretty text-lg text-muted-foreground">
Everything Menivor connects to today, each with the page where you set it up.
</p>
{groups.map((group) => (
<section key={group.title} className="mt-12">
<h2 className="mb-4 text-2xl font-bold tracking-tight">{group.title}</h2>
<div className="grid gap-4 sm:grid-cols-2">
{group.items.map((item) => (
<IntegrationCard key={item.name} item={item} />
))}
</div>
</section>
))}
</div>
</div>
);
}
const CARD_CLASS =
"group flex flex-col rounded-xl border border-border bg-card p-5 transition-colors hover:border-primary/60";
function IntegrationCard({ item }: { readonly item: Integration }) {
const inner = (
<>
<div className="flex items-center gap-2">
{item.mark ? <MenivorMark className="size-5 text-primary" title="Menivor" /> : null}
<h3 className="font-semibold text-foreground">{item.name}</h3>
</div>
<p className="mt-1.5 flex-1 text-sm text-pretty text-muted-foreground">{item.body}</p>
<span className="mt-4 inline-flex items-center gap-1 text-sm font-medium text-primary">
{item.cta}
<ArrowRight className="size-4 transition-transform group-hover:translate-x-0.5" aria-hidden />
</span>
</>
);
if (item.external) {
return (
<a href={item.href} target="_blank" rel="noopener" className={CARD_CLASS}>
{inner}
</a>
);
}
return (
<Link href={item.href} className={CARD_CLASS}>
{inner}
</Link>
);
}