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
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.
43 lines
1.8 KiB
TypeScript
43 lines
1.8 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { ScanLine } from "lucide-react";
|
|
|
|
import { AppTopBar } from "@/components/app-shell/AppTopBar";
|
|
import { CaptureHome } from "./_components/CaptureHome";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Capture",
|
|
description: "Turn a website, web game or app store listing into a promo video, then into ads.",
|
|
robots: { index: false, follow: false },
|
|
};
|
|
|
|
type SearchParams = Record<string, string | string[] | undefined>;
|
|
|
|
/**
|
|
* Capture: paste a website, web game, App Store or Google Play link and get a
|
|
* recorded promo video in 9:16 and 16:9, then turn it into reels and ads.
|
|
* `?url=` prefills the link; nothing runs until the user submits.
|
|
*/
|
|
export default async function CapturePage({ searchParams }: { searchParams: Promise<SearchParams> }) {
|
|
const params = await searchParams;
|
|
const raw = Array.isArray(params.url) ? params.url[0] : params.url;
|
|
const initialUrl = typeof raw === "string" && /^https?:\/\//i.test(raw) ? raw.slice(0, 2048) : "";
|
|
return (
|
|
<main className="min-h-dvh">
|
|
<AppTopBar />
|
|
<section className="container max-w-6xl py-8">
|
|
<div className="mb-2 flex items-center gap-2">
|
|
<ScanLine className="h-6 w-6 text-primary" aria-hidden />
|
|
<h1 className="text-2xl font-semibold">Capture</h1>
|
|
</div>
|
|
<p className="mb-6 max-w-3xl text-sm text-muted-foreground">
|
|
Paste a link to a website, a playable web game, an App Store app or a Google Play app. Menivor records a
|
|
smooth scroll-through or real gameplay, or builds a slideshow from the store listing, in the formats you
|
|
pick. Then turn the recording into captioned, narrated or avatar ads that run through the normal reel
|
|
pipeline.
|
|
</p>
|
|
<CaptureHome initialUrl={initialUrl} />
|
|
</section>
|
|
</main>
|
|
);
|
|
}
|