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.
550 lines
27 KiB
Python
550 lines
27 KiB
Python
"""Pure brief builders: what each weekly Megaphone video says and links to.
|
||
|
||
No network, no DB: inputs are plain data (Bidstage's weekly tender counts,
|
||
the run date), outputs are :class:`Brief` values the pipeline renders. Every
|
||
claim in a script comes from the input data or from facts that are true on
|
||
the live product (checked 2026-10-08), so nothing here invents numbers.
|
||
"""
|
||
|
||
from __future__ import annotations
|
||
|
||
import re
|
||
from dataclasses import dataclass, field
|
||
from datetime import date
|
||
from typing import Any, Iterable, Mapping, Sequence
|
||
from urllib.parse import urlencode, urlsplit, urlunsplit
|
||
|
||
MENIVOR_GALLERY_URL = "https://menivor.com/made-with-menivor"
|
||
|
||
COUNTRY_NAMES: dict[str, str] = {
|
||
"AT": "Austria", "BE": "Belgium", "BG": "Bulgaria", "CA": "Canada", "CH": "Switzerland",
|
||
"CY": "Cyprus", "CZ": "Czechia", "DE": "Germany", "DK": "Denmark", "EE": "Estonia",
|
||
"ES": "Spain", "FI": "Finland", "FR": "France", "GB": "the United Kingdom", "GR": "Greece",
|
||
"HR": "Croatia", "HU": "Hungary", "IE": "Ireland", "IS": "Iceland", "IT": "Italy",
|
||
"LT": "Lithuania", "LU": "Luxembourg", "LV": "Latvia", "MT": "Malta", "NL": "the Netherlands",
|
||
"NO": "Norway", "PL": "Poland", "PT": "Portugal", "RO": "Romania", "SE": "Sweden",
|
||
"SI": "Slovenia", "SK": "Slovakia", "US": "the United States",
|
||
}
|
||
|
||
_SPACES = re.compile(r"\s+")
|
||
_UNSAFE_ID = re.compile(r"[^a-z0-9-]+")
|
||
|
||
|
||
@dataclass(frozen=True)
|
||
class Brief:
|
||
"""One video to render."""
|
||
|
||
id: str
|
||
product: str
|
||
title: str
|
||
description: str
|
||
script: str
|
||
landing_url: str
|
||
page_path: str = "/"
|
||
capture_url: str = ""
|
||
footage_keys: tuple[str, ...] = ()
|
||
footage_builder: str = "" # "codeclip": render footage locally, upload via the API
|
||
background_id: str = "block-runner"
|
||
language: str = "en"
|
||
dub_to: str = ""
|
||
dub_voice: str = ""
|
||
tags: tuple[str, ...] = field(default_factory=tuple)
|
||
|
||
|
||
def week_id(day: date) -> str:
|
||
"""ISO week label, e.g. ``2026w41``."""
|
||
year, week, _ = day.isocalendar()
|
||
return f"{year}w{week:02d}"
|
||
|
||
|
||
def slug(text: str) -> str:
|
||
return _UNSAFE_ID.sub("-", text.lower()).strip("-")[:60]
|
||
|
||
|
||
def with_utm(url: str, *, campaign: str, content: str) -> str:
|
||
"""Append Megaphone UTM tags (keeps any existing query)."""
|
||
parts = urlsplit(url)
|
||
query = urlencode(
|
||
{"utm_source": "menivor", "utm_medium": "video", "utm_campaign": campaign, "utm_content": content}
|
||
)
|
||
joined = f"{parts.query}&{query}" if parts.query else query
|
||
return urlunsplit((parts.scheme, parts.netloc, parts.path, joined, parts.fragment))
|
||
|
||
|
||
def _clean(text: str, limit: int) -> str:
|
||
return _SPACES.sub(" ", str(text or "")).strip()[:limit]
|
||
|
||
|
||
def _short_buyer(name: str) -> str:
|
||
"""A buyer name short enough to read aloud (department tails dropped), else ""."""
|
||
text = _clean(name, 200)
|
||
for sep in (" – ", " - ", " (", ","):
|
||
if sep in text:
|
||
text = text.split(sep, 1)[0]
|
||
text = text.strip()
|
||
return text if 3 <= len(text) <= 40 else ""
|
||
|
||
|
||
SHORT_LABEL = 40
|
||
|
||
|
||
def category_name(label: str) -> str:
|
||
"""Bidstage's ``categoryName`` rule: long CPV labels are cut at a colon or comma."""
|
||
text = _clean(label, 200).rstrip(".")
|
||
if len(text) <= SHORT_LABEL:
|
||
return text
|
||
head = re.split(r"[:;(]", text)[0].strip()
|
||
if len(head) <= SHORT_LABEL:
|
||
return head
|
||
parts = [p.strip() for p in head.split(",") if p.strip()]
|
||
short = parts[0] if (" " in parts[0] or len(parts) < 2) else f"{parts[0]} and {parts[1]}"
|
||
return short[:SHORT_LABEL].rsplit(" ", 1)[0] if len(short) > SHORT_LABEL else short
|
||
|
||
|
||
def _label(text: str) -> str:
|
||
label = category_name(text)
|
||
return label[:1].lower() + label[1:] if label and not label[:2].isupper() else label
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Bidstage: "new tenders in <category> in <country>" every week
|
||
# --------------------------------------------------------------------------- #
|
||
def bidstage_candidates(
|
||
rows: Iterable[Mapping[str, Any]],
|
||
published_paths: set[str],
|
||
recent_ids: set[str],
|
||
day: date,
|
||
) -> list[dict[str, Any]]:
|
||
"""Weekly (country, CPV division) rows that have a live page, newest-first by count.
|
||
|
||
``rows`` come from the box query in ``deploy/megaphone/run-weekly.sh``:
|
||
``{country, div, n, label, buyers}`` for tenders PUBLISHED in the last 7
|
||
days and still open. Only pairs whose ``/tenders/<cc>/cpv-<div>000000``
|
||
page is in Bidstage's sitemap are kept (the page the video links to must
|
||
exist), and pairs used in recent weeks are skipped so the feed rotates.
|
||
"""
|
||
out: list[dict[str, Any]] = []
|
||
for row in rows:
|
||
country = str(row.get("country") or "").upper()
|
||
div = str(row.get("div") or "")
|
||
if len(country) != 2 or not re.fullmatch(r"\d{2}", div) or country not in COUNTRY_NAMES:
|
||
continue
|
||
path = f"/tenders/{country.lower()}/cpv-{div}000000"
|
||
pair_id = f"bidstage-{country.lower()}-cpv{div}"
|
||
if path not in published_paths or pair_id in recent_ids:
|
||
continue
|
||
try:
|
||
count = int(row.get("n") or 0)
|
||
except (TypeError, ValueError):
|
||
continue
|
||
label = _label(str(row.get("label") or ""))
|
||
if count < 5 or not label:
|
||
continue
|
||
buyers = [b for b in (_short_buyer(x) for x in (row.get("buyers") or [])) if b]
|
||
out.append({"country": country, "div": div, "n": count, "label": label, "buyers": buyers[:2],
|
||
"path": path, "pair_id": pair_id})
|
||
out.sort(key=lambda r: (-r["n"], r["pair_id"]))
|
||
return out
|
||
|
||
|
||
def bidstage_brief(candidate: Mapping[str, Any], day: date) -> Brief:
|
||
country = COUNTRY_NAMES[candidate["country"]]
|
||
label = candidate["label"]
|
||
n = int(candidate["n"])
|
||
week = week_id(day)
|
||
buyers = candidate.get("buyers") or []
|
||
buyer_line = ""
|
||
if len(buyers) >= 2:
|
||
buyer_line = f" Buyers this week include {buyers[0]} and {buyers[1]}."
|
||
elif buyers:
|
||
buyer_line = f" Buyers this week include {buyers[0]}."
|
||
script = (
|
||
f"{n} new public tenders for {label} were published in {country} this week."
|
||
f"{buyer_line}"
|
||
" Most suppliers never see them, because they are spread across official portals."
|
||
" Bidstage collects open government tenders from official EU, UK, US and Canadian feeds"
|
||
" and lists them by country and category, with deadlines and buyer names."
|
||
f" See this week's {label} tenders in {country} free at bidstage dot app."
|
||
)
|
||
vid = f"{candidate['pair_id']}-{week}"
|
||
landing = with_utm(f"https://bidstage.app{candidate['path']}", campaign=f"megaphone-{week}", content=vid)
|
||
title = f"{n} new {label} tenders in {country} this week"
|
||
description = (
|
||
f"New public tenders for {label} published in {country} in the week {week}, "
|
||
"from official procurement feeds. Made with Menivor."
|
||
)
|
||
return Brief(
|
||
id=vid, product="bidstage", title=_clean(title, 110), description=_clean(description, 300),
|
||
script=_clean(script, 900), landing_url=landing, page_path=candidate["path"],
|
||
capture_url=f"https://bidstage.app{candidate['path']}", tags=("tenders", candidate["country"].lower()),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Bidstage free live search: a real, bookmarkable, server-rendered search
|
||
# results page (no share-link or POST trick needed, unlike HomePlan) so the
|
||
# reel shows real open tenders. Earlier version of this brief led with a raw
|
||
# "1,643 to 13,780 in one week" count; that number was a pipeline-outage
|
||
# recovery (an ingest job had silently died and was restarted), not market
|
||
# growth, and read as a misleading growth claim once shown as a bare headline
|
||
# without that context (owner correction, 2026-11-11) — this version makes no
|
||
# count claim at all and only describes what the video actually demonstrates:
|
||
# a free, no-account search with real results.
|
||
# --------------------------------------------------------------------------- #
|
||
def bidstage_recovery_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title = "Search public tenders free, no account needed — Bidstage"
|
||
script = (
|
||
"Bidstage lists open public government tenders from TED, SAM dot gov, the UK,"
|
||
" Canada and the World Bank, updated every week."
|
||
" Search bricklayer right now and see real open matches, free, no account needed."
|
||
" Try your own trade or keyword at bidstage dot app."
|
||
)
|
||
vid = f"bidstage-recovery-{slug(title)}-{week}"
|
||
landing = with_utm(
|
||
"https://bidstage.app/tenders/search?q=bricklayer", campaign=f"megaphone-{week}", content=vid
|
||
)
|
||
description = (
|
||
"A real live search on Bidstage: search any trade or keyword and see real open "
|
||
"government tenders, free, no account needed. Made with Menivor."
|
||
)
|
||
return Brief(
|
||
id=vid, product="bidstage", title=_clean(title, 110), description=_clean(description, 300),
|
||
script=_clean(script, 900), landing_url=landing, page_path="/tenders/search",
|
||
capture_url="https://bidstage.app/tenders/search?q=bricklayer",
|
||
tags=("tenders", "free-search"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Scribase Mail Studio: "switch from Resend in one line"
|
||
# --------------------------------------------------------------------------- #
|
||
MAIL_SCRIPTS: tuple[tuple[str, str], ...] = (
|
||
(
|
||
"Switch from Resend in one line",
|
||
"Already sending email with the Resend SDK? Keep your code. Set one environment variable,"
|
||
" RESEND base URL, to mail-api dot scribase dot com, and the same SDK sends through Scribase Mail."
|
||
" Domains, webhooks, inbound email, broadcasts and templates work the same way."
|
||
" Scribase Mail Studio is open source, with a free plan. Start at mail dot scribase dot com.",
|
||
),
|
||
(
|
||
"Keep the Resend SDK, change the base URL",
|
||
"Moving off Resend usually means rewriting your email code. Not here."
|
||
" Scribase Mail speaks the Resend API, so the official Node, Python and Go SDKs work as they are."
|
||
" Point the base URL at mail-api dot scribase dot com and send."
|
||
" Open source, with a free plan. Try it at mail dot scribase dot com.",
|
||
),
|
||
)
|
||
|
||
|
||
def mail_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title, script = MAIL_SCRIPTS[day.isocalendar()[1] % len(MAIL_SCRIPTS)]
|
||
vid = f"mail-{slug(title)}-{week}"
|
||
return Brief(
|
||
id=vid, product="mail", title=title,
|
||
description="Scribase Mail Studio is a Resend-compatible email API: keep the Resend SDK and change one line. Made with Menivor.",
|
||
script=script, landing_url=with_utm("https://scribase.com/mail", campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/mail", footage_builder="codeclip", tags=("email", "resend"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Oxhan Atelier: brand teaser from existing footage
|
||
# --------------------------------------------------------------------------- #
|
||
OXHAN_SCRIPTS: tuple[tuple[str, str], ...] = (
|
||
(
|
||
"Oxhan Atelier Drop 01: forty numbered sweatshirts",
|
||
"You met me at a very Turkish time in my life. Oxhan Atelier Drop 01 is forty numbered"
|
||
" sweatshirts across five designs, each with its own serial on the label. When they are gone,"
|
||
" they are gone. Join the waitlist at oxhan atelier dot com.",
|
||
),
|
||
(
|
||
"Made in a very Turkish time",
|
||
"Kolonya on the console. Tea on the tray. And a piece with its own serial number."
|
||
" Oxhan Atelier Drop 01: five designs, forty pieces in total, numbered one to forty."
|
||
" Get on the list at oxhan atelier dot com.",
|
||
),
|
||
)
|
||
|
||
|
||
def oxhan_brief(day: date, footage_keys: Sequence[str]) -> Brief:
|
||
"""Script and footage rotate together: footage[i] was cut for OXHAN_SCRIPTS[i]."""
|
||
week = week_id(day)
|
||
index = day.isocalendar()[1] % len(OXHAN_SCRIPTS)
|
||
title, script = OXHAN_SCRIPTS[index]
|
||
keys = tuple(footage_keys)
|
||
chosen = (keys[index % len(keys)],) if keys else ()
|
||
vid = f"oxhan-{slug(title)}-{week}"
|
||
return Brief(
|
||
id=vid, product="oxhan", title=title,
|
||
description="Oxhan Atelier Drop 01: forty numbered pieces in five designs. Made with Menivor.",
|
||
script=script, landing_url=with_utm("https://oxhanatelier.com/", campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/", footage_keys=chosen, tags=("fashion", "drop01"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Al-Sat: free listings marketplace (Turkiye) -- show the real live site
|
||
# --------------------------------------------------------------------------- #
|
||
def alsat_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title = "Post a free listing on Al-Sat"
|
||
script = (
|
||
"Al-Sat is a free listings marketplace for Turkiye, built for eight categories:"
|
||
" vehicles, property, pre-owned goods, services, jobs, spare parts, machinery and tutoring."
|
||
" Posting a listing costs nothing, and browsing needs no account."
|
||
" See a real live listing right now and post your own free at al dash sat dot ereboslab dot com."
|
||
)
|
||
vid = f"alsat-{slug(title)}-{week}"
|
||
return Brief(
|
||
id=vid, product="alsat", title=title,
|
||
description="Al-Sat: a free, eight-category listings marketplace for Turkiye. Made with Menivor.",
|
||
script=_clean(script, 900),
|
||
landing_url=with_utm("https://alsat.ereboslab.com/", campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/", capture_url="https://alsat.ereboslab.com", tags=("marketplace", "turkiye"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# HomePlan: AI floor plan generator -- show a real generated plan, not a mockup
|
||
# --------------------------------------------------------------------------- #
|
||
HOMEPLAN_URL = "https://homeplan.subasiarhan3.workers.dev/"
|
||
#: A real plan generated via the live /api/generate ("2-bed 2-bath single-story,
|
||
#: 1400 sqft, open kitchen/living, attached garage"), re-encoded with the site's
|
||
#: own gzip share-link format (``lib/sharePlan.ts``) so ``capture_url`` opens
|
||
#: straight into the real editor showing real computed rooms/dimensions, not
|
||
#: the bare marketing homepage.
|
||
HOMEPLAN_SHARE_PLAN = (
|
||
"gz1:H4sIAAAAAAAC_61Y227jNhD9FUNPXdQQRFJXv23vixZFu15sH4qFIcdyLMQrZWU6sRHk30uK"
|
||
"tyEly5LTBNgsKXHOmaMZcjgv3kNZbbyF97jPK28u_ixevG1d08emrCgfPHuLMJx7O_7Hj17nHq1p"
|
||
"vn_fFPny25a9geIw8qO519T114O3-PfFK7nJoqLNmdmk58cCDPf5utiz8c9yfPIWwdw7t_8yJIK4"
|
||
"KYaVzL1cQ2AccGRp-Z7N0xWHM-atOYXxK5-cfWSTs-_-KJ_K6n72_ez3kt7tior976eyYlPvIInE"
|
||
"JoEwZEGSVHNYFxsOtkKGAhPsa96cV_IR4PGXeDL7QT_RgIS0iBj7cSogW2zgehz4XVhsYLtwEmaG"
|
||
"IRDKFFAWwN9EoAYOaggFX-d0t5Lu9fjLnvY5K6ZP2jnjbeqnuNdZFCA_tGEPO_Z4A3V28DiOUbXP"
|
||
"P-N96kfW017fs8DHmsMu3--fc-C1mVAEftMzWmyccZMwkojjKAMlJqDzJr8vQDCrsQ5kNXFSJnXC"
|
||
"IKxiNXM_IWGB84W9xPiBvOTDVcBtIUFX_DlhMcJtEhQnWjRl3XgL2hwLTbRdi3rXSlrCytBybC9P"
|
||
"LGj-nYYWE3sxjyewmu9Pw-tDe71YwC2oGB1lJbKtcNKAhfj4Q-tjuV5qBhwxKl5nkUgrirrlzxRD"
|
||
"qaETZvAnVv4Bq903RrmcdVzGWZcrl2Ew9Jy4NTaCkQZU8PITDURvO8TK1UELuOOJ0WeCGdIx41C5"
|
||
"kkYo7M0jo6WVxdt8f3ANRJcYTLAR92dC7y7cSe8-gyCouxYAguF43WbacTSZbiTrZptK2oG9o8cS"
|
||
"Dvr3MGDFjuI-G2ikTJc-hJuwfRj4Uq69xSi5LOOlbaDPTHjF_77NpZ8eOyA3dd2AA5IPxQHJdIz8"
|
||
"JFKVYd2UrIrNaVlXvBBgbzyXG8oP97l3V1dVcUe5GV3qgpqUoexYrVksyw0_4A80byh74_DMJj9U"
|
||
"tLYrWO1sSwVJKmzvjeAvAaXGWGqwflSVzAhuZplNTVaYOPFx8GZqTrU3gZ561SZHtG4k1NXnVKHQ"
|
||
"bUIhh0vYqYTTNrBsOk-j6FjV-Bs4RU49ich4PtZ1S5arN8b4tqkruuKM3JQLJqScyuq5zL4RZMSL"
|
||
"okJu-E2QW2Kj7ZGN6LEpzJbAp9jZlIVBEgRpGMRZu0HIcv1Qb3NQrC_FkF8GfBF4vNhvi3Vx2SL8"
|
||
"rqycCowQXRBw67mrt9uiWNF8vYc3gx_b6dknOc1AEz8N4A-yKRB5XcCjSYC7Jn1aMSWrDSDw6fNs"
|
||
"KadEsiVD6KG6rPjjRSAGvzneA-iP7Yijxn5s48SiXzEaIzQYm7Yr0BFaNAug0JjYmJG-6o3XNjK4"
|
||
"D6IvsSoPe1vhD2oCRlTkx67OkMJoArEhsG3KjXXr_EVNQOBYtBF80a3AXPiRUAnIGFo_QaSlHFtA"
|
||
"fmh5iCWwDN8JIqdWs2T17VgUFQD_m495b8YmQGL1XVvAWLS4RgFmBrAq73fUzZk_4eSJf7a-lNUE"
|
||
"kB_LpBkvNgL7E9ve2AmwhoL_Y6YubhkaP5y4YSB0k-DscLxVcIT_F8U1g5sUJ29WXONPVhzsX7Qu"
|
||
"9wWFO7SaaPcsP0j7owtP2JIR2LcOZfXg9gA_5-wEPc-W7JHEjTq4eLrCsd0EpMe10wcUM6IiDRPY"
|
||
"qEgccOn0hBBLxktMrCtJ1B9bk_ROp-s9SOIG8bMp4icWuJPfF8TnhVhZbepn2KxsJ9RtTPSNr1WG"
|
||
"5qooFiO39p602mqiE3-wZnfXEqsBT6YslRcGFq9RAM9B8R1Fm2G8E5GukwjO4ptMxJYO124v7urE"
|
||
"6o6HPp60OtVxxVv2N5DPnKvOZP4o0Ba6DdDWo2FzX15f_wOdKQbdbBsAAA"
|
||
)
|
||
|
||
|
||
def homeplan_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title = "HomePlan turns a sentence into a floor plan"
|
||
script = (
|
||
"HomePlan turns one sentence into a real floor plan: computed rooms, walls and doors,"
|
||
" not an AI generated picture. Describe the home, and get back real room dimensions"
|
||
" you can edit, a 3D view, and free exports, no sign up, no credit limit."
|
||
" It is open source and self hostable. See a real generated plan right now, and make"
|
||
" your own free."
|
||
)
|
||
vid = f"homeplan-{slug(title)}-{week}"
|
||
return Brief(
|
||
id=vid, product="homeplan", title=title,
|
||
description="HomePlan: describe a home, get a real computed floor plan with rooms, doors and exports. Made with Menivor.",
|
||
script=_clean(script, 900),
|
||
landing_url=with_utm(HOMEPLAN_URL, campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/", capture_url=f"{HOMEPLAN_URL}?plan={HOMEPLAN_SHARE_PLAN}",
|
||
tags=("floor-plan", "ai-cad"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Huddle: Slack-style team chat -- real footage of real new features, not a
|
||
# capture_url (the web client needs a signed-in session; Menivor Capture is a
|
||
# passive scroll/hover recorder with no login support). ``footage_keys`` is a
|
||
# real screen recording of Huddle's own live production backend
|
||
# (huddle-core.ereboslab.com): two real throwaway accounts, a real message
|
||
# sent live through the composer, and the real "Read by" sheet opened on a
|
||
# message that a second real account had actually read first (via the real
|
||
# GET /channels/:id/messages call, the same one every client makes on open).
|
||
# Same footage-injection pattern as ``oxhan_brief`` above, one key instead of
|
||
# a rotating set.
|
||
# --------------------------------------------------------------------------- #
|
||
HUDDLE_URL = "https://huddle-core.ereboslab.com/app/"
|
||
|
||
|
||
def huddle_brief(day: date, footage_keys: Sequence[str]) -> Brief:
|
||
week = week_id(day)
|
||
title = "Huddle just shipped read receipts and unread counts"
|
||
script = (
|
||
"Huddle just shipped real team chat upgrades: unread counts that clear the moment"
|
||
" you open a channel, a slash command palette with an admin console, and read"
|
||
" receipts, so you can see exactly who has read a message and when."
|
||
" It is async team chat built for small teams and founders, free to start and"
|
||
" self hostable. Try it free at huddle dash core dot ereboslab dot com slash app."
|
||
)
|
||
vid = f"huddle-{slug(title)}-{week}"
|
||
keys = tuple(footage_keys)
|
||
return Brief(
|
||
id=vid, product="huddle", title=title,
|
||
description=(
|
||
"Huddle: async team chat with real read receipts, unread counts and a slash "
|
||
"command palette. Made with Menivor."
|
||
),
|
||
script=_clean(script, 900),
|
||
landing_url=with_utm(HUDDLE_URL, campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/app", footage_keys=keys[:1], tags=("team-chat", "read-receipts"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# CalDesk AI: AI calorie/macro tracker (iOS) -- show the real marketing site,
|
||
# not a simulator capture. CalDesk is a native app (no logged-out web client
|
||
# to screen-record the way Huddle's is), but caldeskai.com is a real,
|
||
# server-rendered, public landing page with no login wall -- Menivor Capture's
|
||
# passive scroll/hover recorder works on it exactly like it does for
|
||
# ``alsat_brief``. Every claim below is pulled verbatim from the live page
|
||
# (checked 2026-11-07: hero copy, feature grid, "Free to start" pricing block,
|
||
# FAQ) so nothing here is invented or restates the portfolio's internal
|
||
# revenue numbers (which are separate and not shown to end users).
|
||
# --------------------------------------------------------------------------- #
|
||
CALDESK_URL = "https://caldeskai.com/"
|
||
|
||
|
||
def caldesk_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title = "CalDesk AI: snap your food, get instant calories and macros"
|
||
script = (
|
||
"Point your camera at any meal, and CalDesk AI estimates the calories and macros"
|
||
" in seconds. Every estimate is editable, so you review the portion before you save it."
|
||
" It also tracks protein, carbs and fat against your goals, water intake and your fasting"
|
||
" window, with a 400,000 plus food database and barcode scanning built in."
|
||
" It is free to start, with five AI photo scans a day and the full food database included."
|
||
" Get it free on the App Store at caldesk ai dot com."
|
||
)
|
||
vid = f"caldesk-{slug(title)}-{week}"
|
||
description = (
|
||
"CalDesk AI: snap a photo of your meal for an editable AI calorie and macro estimate, "
|
||
"plus barcode scanning, a 400K+ food database, and water/fasting tracking. Made with Menivor."
|
||
)
|
||
return Brief(
|
||
id=vid, product="caldesk", title=_clean(title, 110), description=_clean(description, 300),
|
||
script=_clean(script, 900),
|
||
landing_url=with_utm(CALDESK_URL, campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/", capture_url=CALDESK_URL, tags=("calorie-tracker", "ios"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Yokharita Web: Turkish grad-program finder + exam calculators -- a public,
|
||
# server-rendered, SEO-focused site, same low-effort-but-real capture_url
|
||
# pattern as alsat_brief/caldesk_brief. Every claim is pulled verbatim from
|
||
# the live homepage's own title/meta description (checked 2026-11-08): ALES-
|
||
# score program comparison, free TYT/AYT/KPSS/ALES net calculators, free
|
||
# subject practice questions. Script is English (the pipeline's fixed free
|
||
# primary voice); the real deliverable for Yokharita's actual Turkish
|
||
# audience is the Turkish dub below, same two-track pattern as menivor_brief's
|
||
# Spanish dub.
|
||
# --------------------------------------------------------------------------- #
|
||
YOKHARITA_URL = "https://yokharita.com/"
|
||
|
||
|
||
def yokharita_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title = "Yokharita: find your grad program by your ALES score"
|
||
script = (
|
||
"Compare every graduate program in Turkey side by side, filtered by your own"
|
||
" ALES score and each program's real admission requirements."
|
||
" Yokharita also gives you free TYT, AYT, KPSS and ALES net score calculators,"
|
||
" plus free subject practice questions, so you know which programs you actually"
|
||
" qualify for before you apply. It is completely free at yokharita dot com."
|
||
)
|
||
vid = f"yokharita-{slug(title)}-{week}"
|
||
description = (
|
||
"Yokharita: compare Turkish graduate programs by ALES score and admission "
|
||
"requirements, with free TYT/AYT/KPSS/ALES calculators and practice questions. "
|
||
"Made with Menivor."
|
||
)
|
||
return Brief(
|
||
id=vid, product="yokharita", title=_clean(title, 110), description=_clean(description, 300),
|
||
script=_clean(script, 900),
|
||
landing_url=with_utm(YOKHARITA_URL, campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/", capture_url=YOKHARITA_URL, dub_to="tr", dub_voice="tr-TR-EmelNeural",
|
||
tags=("exam-prep", "ales"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Kamiko: free 3D AI VTuber chat -- real, public, server-rendered /how-it-works
|
||
# page (no login wall), same capture_url pattern as caldesk_brief. Script is
|
||
# grounded in the live page's own title/meta (checked 2026-11-08): free to
|
||
# chat by text or voice, no download, no sign-up, VRM avatar, tap-to-wake
|
||
# clicker. Deliberately leaves out the site's own $KAMIKO/NVDAX memecoin
|
||
# framing (real but not what the owner has chosen to market this product on --
|
||
# plans/kamiko.md's 2026-11-06 SEO fix already repositioned copy toward the
|
||
# honest "free AI VTuber chat" intent, not the token).
|
||
# --------------------------------------------------------------------------- #
|
||
KAMIKO_URL = "https://kamiko.fun/how-it-works/"
|
||
|
||
|
||
def kamiko_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title = "Kamiko: chat with a free 3D AI VTuber, no download, no sign up"
|
||
script = (
|
||
"Kamiko is a free 3D AI VTuber you can chat with right now, right in your browser."
|
||
" Type to her or talk out loud, she answers in her own voice, no download and no"
|
||
" sign up required. Tap her to wake her up and play a quick clicker game while you"
|
||
" chat. Try it free at kamiko dot fun."
|
||
)
|
||
vid = f"kamiko-{slug(title)}-{week}"
|
||
description = (
|
||
"Kamiko: a free 3D AI VTuber you can chat with by text or voice, right in your "
|
||
"browser, no download or sign-up. Made with Menivor."
|
||
)
|
||
return Brief(
|
||
id=vid, product="kamiko", title=_clean(title, 110), description=_clean(description, 300),
|
||
script=_clean(script, 900),
|
||
landing_url=with_utm("https://kamiko.fun/", campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/how-it-works", capture_url=KAMIKO_URL, tags=("ai-vtuber", "chat"),
|
||
)
|
||
|
||
|
||
# --------------------------------------------------------------------------- #
|
||
# Menivor itself (+ a Spanish dub to show the dub format)
|
||
# --------------------------------------------------------------------------- #
|
||
MENIVOR_SCRIPTS: tuple[tuple[str, str], ...] = (
|
||
(
|
||
"This video was made with Menivor",
|
||
"This whole video was made with Menivor. It recorded the page, wrote the captions,"
|
||
" voiced the script with a free voice and cut it to nine by sixteen."
|
||
" Paste a link or a topic and get a reel in minutes, then dub it into another language in one click."
|
||
" Make yours at menivor dot com.",
|
||
),
|
||
(
|
||
"One link in, a reel out",
|
||
"Paste a link to your site, app or product page. Menivor records it, writes the script,"
|
||
" adds a voice and word by word captions, and gives you a vertical reel ready to post."
|
||
" Every product video on this page was made this way. Try it at menivor dot com.",
|
||
),
|
||
)
|
||
|
||
|
||
def menivor_brief(day: date) -> Brief:
|
||
week = week_id(day)
|
||
title, script = MENIVOR_SCRIPTS[day.isocalendar()[1] % len(MENIVOR_SCRIPTS)]
|
||
vid = f"menivor-{slug(title)}-{week}"
|
||
return Brief(
|
||
id=vid, product="menivor", title=title,
|
||
description="A reel made end to end with Menivor: page capture, script, free voice, captions. Made with Menivor.",
|
||
script=script, landing_url=with_utm("https://menivor.com/", campaign=f"megaphone-{week}", content=vid),
|
||
page_path="/", capture_url="https://menivor.com", dub_to="es", dub_voice="es-ES-ElviraNeural",
|
||
tags=("ai-video",),
|
||
)
|