SEO: medir las páginas SEO, convertirlas y ampliar el cluster de comparativas (#86)

* feat(seo): measure the SEO pages, convert from them, and widen the cluster

The audit of 17-sep-2026 found the static SEO surface ranking at positions
1.8-4 with a 0.2-1.6% CTR while leaking every click it earned: the pages
carried no analytics at all (~424 clicks/month invisible, confirmed with
curl), the only link into the app was the fixed nav button, ten internal
links pointed at /cdn-cgi/l/email-protection, thirteen titles and
twenty-one descriptions were past the length Google renders, and every URL
in the sitemap claimed the same lastmod.

What changes, and how it is verified:

- Analytics (render.js). The shim, the %VITE_OPENPANEL_*% gate and
  ANALYTICS_HOSTS are ported verbatim from index.html, plus the init call
  the SPA makes from lib/consent.js — first-party measurement is exempt
  from prior consent and always on, so there is nothing to ask here. Vite
  only rewrites index.html and these files are emitted assets, so the
  plugin substitutes the placeholders itself; unset still yields an inert
  page. Verified by building with and without the variables.

- Body CTA (render.js, per-page copy in pages.js). Rendered between the
  TL;DR and the body, with the text that fits each page's argument, and
  never on legal pages or the 404. The link carries utm_* so
  lib/attribution.js can post the click with the signup, and fires a
  SeoCtaClick event so the CTA can be told apart from the nav button.

- Broken mailto links (legal.js). 46 plain-text addresses rewritten as
  <a href="mailto:...">. Cloudflare Scrape Shield turns the bare address
  into a /cdn-cgi/l/email-protection link, which is a 404 for crawlers.

- Titles and descriptions. Every title is now <=60 characters and every
  description <=160, measured across all 35 emitted pages rather than
  eyeballed (/gta-5-clips, merged the same week, was over on both). The
  check is part of the verification, not a one-off.

- Resume the job after sign-in (App.jsx). Pressing "get free clips" with no
  session opened the login modal and dropped the request: the magic link
  lands on a fresh document, so the pasted URL was gone. The request is now
  written down before the redirect and replayed after it, through the same
  handleProcess, so the isSignedIn -> isManaged -> keysMissing gate that
  decides billing is untouched: an unentitled account still lands on
  #/pricing, with the request parked until it pays. Files cannot be
  serialised, so those resume only within the same document.

- Gallery surface (app.py). The gallery head had no canonical; the JSON-LD
  was built from html.escape() output, producing &amp;amp;/&amp;quot; and
  valid-JSON-but-wrong names; the video page's nav and CTAs were relative
  hrefs on the api host, where "/" is a 404 (the app is on www). JSON-LD is
  now serialised as JSON with <> and & escaped as unicode, both pages carry
  their canonical, and cross-host links are absolute. Verified by rendering
  both routes with a monkeypatched gallery: the JSON parses and a title
  with quotes, an ampersand and markup survives round-trip.

- New comparison pages (pages.js): /opus-clip-pricing, /opus-clip-free-
  alternative, /opus-ai, /opus-pro, /vizard-ai-video-to-text,
  /submagic-reviews and a Spanish index at /alternativas. They target
  buying-intent variants (opus clips pricing, opus clip free trial, opus ai,
  opus pro, is vizard ai free) that the existing pages do not answer, read
  every price from data.js, and join the related-page ring, the footer and
  the landing links. /alternatives/vizard also gained the brand Q&A ("Is
  Vizard AI free?"), since "vizard ai" is how its volume is spelled.

Build: npm run build green (35 HTML files, all metadata in range, all
JSON-LD parseable). Tests: pytest tests/ -q, 777 passed, 19 skipped.

* fix(seo): CTA sin UTM interno, tutorial no pisa el job reanudado, mailto en el agente DMCA

- El CTA de las paginas SEO enlazaba al mismo origen con utm_*, lo que
  sobrescribia la atribucion real del visitante en lib/attribution.js y
  partia la sesion en OpenPanel. El evento SeoCtaClick sigue midiendo el clic.
- Alta nueva con un enlace aparcado: no abrir el tutorial intro encima del
  job que se reanuda solo.
- LoginModal solo promete 'tu video esta guardado' cuando el payload es una
  URL; un File no sobrevive al magic link en otra pestana.
- Los dos info@upload-post.com del agente DMCA tambien en mailto.

---------

Co-authored-by: victormanuel.caverogracia <>
This commit is contained in:
Víctor Cavero 2026-09-17 19:26:04 +02:00 committed by GitHub
parent 60fa37a969
commit 27d4916ca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 1231 additions and 134 deletions

93
app.py
View file

@ -5914,6 +5914,33 @@ async def saasshorts_post_to_socials(req: SaaSPostRequest, request: Request):
raise HTTPException(status_code=500, detail=str(e))
# The gallery and the per-video pages are rendered by this API service, but the
# app they advertise lives on www. A relative href on `api.` host resolves
# against `api.`, where `/` is not the app (it is a 404), so every link that
# crosses hosts is written absolute. `www.openshorts.app/gallery` and
# `/video/...` 301 to the api host (dashboard/nginx.conf), so the api host is
# the final domain for those two and the app host is final for everything else.
APP_HOST = "https://www.openshorts.app"
GALLERY_HOST = "https://api.openshorts.app"
def _json_ld(payload: dict) -> str:
"""Serialise a JSON-LD payload for an inline <script> block.
`html.escape()` is the wrong tool here: inside JSON-LD it produces
`&amp;quot;` and friends, which is still valid JSON *text* but no longer
means what it said, so the crawler reads a literal entity instead of a
quote. The right escaping for this context is JSON's own, plus `<>` and `&`
as unicode escapes so a title can never close the script tag.
"""
return (
json.dumps(payload, ensure_ascii=False)
.replace("<", "\\u003c")
.replace(">", "\\u003e")
.replace("&", "\\u0026")
)
@app.get("/gallery", response_class=HTMLResponse)
async def gallery_html_page():
"""SEO gallery page with all generated UGC videos."""
@ -5924,7 +5951,11 @@ async def gallery_html_page():
cards_html = ""
ld_items = []
for i, v in enumerate(videos):
title = html_mod.escape(v.get("title", "Untitled"))
# Two versions of the same string on purpose: the HTML one is escaped
# for markup, the JSON-LD one is serialised as JSON. Escaping once and
# reusing the result in both places is what produced `&amp;amp;`.
raw_title = v.get("title", "Untitled")
title = html_mod.escape(raw_title)
video_url = v.get("video_url", "")
actor_url = v.get("actor_url", "")
video_id = v.get("video_id", "")
@ -5951,9 +5982,29 @@ async def gallery_html_page():
</div>
</a>'''
ld_items.append(f'{{"@type":"ListItem","position":{i+1},"url":"https://openshorts.app/video/{video_id}","name":"{title}"}}')
ld_items.append(
{
"@type": "ListItem",
"position": i + 1,
# The apex 301s to www, which 301s to here: name the host the
# page is actually served from.
"url": f"{GALLERY_HOST}/video/{video_id}",
"name": raw_title,
}
)
ld_json = f'{{"@context":"https://schema.org","@type":"CollectionPage","name":"AI UGC Video Gallery","mainEntity":{{"@type":"ItemList","numberOfItems":{len(videos)},"itemListElement":[{",".join(ld_items)}]}}}}'
ld_json = _json_ld(
{
"@context": "https://schema.org",
"@type": "CollectionPage",
"name": "AI UGC Video Gallery",
"mainEntity": {
"@type": "ItemList",
"numberOfItems": len(videos),
"itemListElement": ld_items,
},
}
)
return f'''<!DOCTYPE html>
<html lang="en">
@ -5962,6 +6013,7 @@ async def gallery_html_page():
<title>AI UGC Video Gallery | OpenShorts</title>
<meta name="description" content="Browse {len(videos)} AI-generated UGC marketing videos. Create viral TikTok and Instagram Reels for your SaaS product.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="{GALLERY_HOST}/gallery">
<meta property="og:title" content="AI UGC Video Gallery | OpenShorts">
<meta property="og:type" content="website">
<meta property="og:description" content="Browse AI-generated UGC marketing videos for SaaS products.">
@ -5977,11 +6029,11 @@ h1{{font-size:28px;font-weight:700;padding:40px 20px 0;text-align:center}}
</style>
</head>
<body>
<nav><strong style="font-size:18px">OpenShorts</strong><a href="/" class="cta">Create Your Video</a></nav>
<nav><strong style="font-size:18px">OpenShorts</strong><a href="{APP_HOST}/" class="cta">Create Your Video</a></nav>
<h1>AI-Generated UGC Videos</h1>
<p class="subtitle">{len(videos)} videos generated · Low Cost & Premium modes</p>
<div class="grid">{cards_html}</div>
<div style="text-align:center;padding:40px"><a href="/" class="cta">Create Your Own UGC Video</a></div>
<div style="text-align:center;padding:40px"><a href="{APP_HOST}/" class="cta">Create Your Own UGC Video</a></div>
</body></html>'''
@ -5995,8 +6047,12 @@ async def video_html_page(video_id: str):
if not meta:
raise HTTPException(status_code=404, detail="Video not found")
title = html_mod.escape(meta.get("title", "Untitled"))
caption = html_mod.escape(meta.get("caption", ""))
# Raw values feed the JSON-LD (serialised as JSON by _json_ld) while the
# escaped ones feed the markup; they are not interchangeable.
raw_title = meta.get("title", "Untitled")
raw_caption = meta.get("caption", "")
title = html_mod.escape(raw_title)
caption = html_mod.escape(raw_caption)
narration = html_mod.escape(meta.get("full_narration", ""))
video_url = meta.get("video_url", "")
actor_url = meta.get("actor_url", "")
@ -6010,7 +6066,21 @@ async def video_html_page(video_id: str):
created = meta.get("created_at", "")
actor_desc = html_mod.escape(meta.get("actor_description", ""))
ld_json = f'{{"@context":"https://schema.org","@type":"VideoObject","name":"{title}","description":"{caption}","thumbnailUrl":"{actor_url}","contentUrl":"{video_url}","uploadDate":"{created}","duration":"PT{int(duration)}S","width":1080,"height":1920,"inLanguage":"{language}"}}'
ld_json = _json_ld(
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": raw_title,
"description": raw_caption,
"thumbnailUrl": actor_url,
"contentUrl": video_url,
"uploadDate": created,
"duration": f"PT{int(duration)}S",
"width": 1080,
"height": 1920,
"inLanguage": language,
}
)
mode_label = "Low Cost" if mode == "lowcost" else "Premium"
@ -6020,6 +6090,7 @@ async def video_html_page(video_id: str):
<meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>{title} - AI UGC Video | OpenShorts</title>
<meta name="description" content="{caption} {hashtags}">
<link rel="canonical" href="{GALLERY_HOST}/video/{video_id}">
<meta property="og:type" content="video.other">
<meta property="og:title" content="{title}">
<meta property="og:description" content="{caption}">
@ -6050,7 +6121,7 @@ h1{{font-size:22px;font-weight:700;margin-bottom:8px}}
</style>
</head>
<body>
<nav><strong>OpenShorts</strong><a href="/gallery">Gallery</a><span style="color:#3f3f46">›</span><span style="color:#e4e4e7;font-size:14px">{title}</span></nav>
<nav><strong>OpenShorts</strong><a href="{GALLERY_HOST}/gallery">Gallery</a><span style="color:#3f3f46">›</span><span style="color:#e4e4e7;font-size:14px">{title}</span></nav>
<div class="container">
<div><video src="{video_url}" poster="{actor_url}" controls autoplay playsinline style="aspect-ratio:9/16;object-fit:cover"></video></div>
<div>
@ -6060,8 +6131,8 @@ h1{{font-size:22px;font-weight:700;margin-bottom:8px}}
<div class="section"><h2>Script</h2><p>{narration}</p></div>
<div class="section"><h2>Actor</h2><p>{actor_desc}</p></div>
{f'<div class="section"><h2>Product</h2><p><a href="{product_url}" style="color:#8b5cf6" target="_blank">{product}</a></p></div>' if product_url else ''}
<a href="/gallery">← Back to Gallery</a>
<br><a href="/" class="cta">Create Your Own</a>
<a href="{GALLERY_HOST}/gallery">← Back to Gallery</a>
<br><a href="{APP_HOST}/" class="cta">Create Your Own</a>
</div>
</div>
</body></html>'''

View file

@ -18,8 +18,11 @@
<link rel="stylesheet" href="/fonts.css" />
<!-- Primary SEO Meta Tags -->
<title>OpenShorts - Open Source AI Clip Generator | Free Self-Hosted, Cloud from $12/mo</title>
<meta name="description" content="Open source AI clip generator. Turn long videos into viral 9:16 shorts for TikTok, Reels and Shorts. Self-host free under MIT, or use the cloud from $12/month with 20 free minutes." />
<!-- Title and description are kept under 60 and 160 characters (measured, not
eyeballed): Google truncates past roughly that width, and a truncated
description is a worse answer than a shorter deliberate one. -->
<title>OpenShorts - Free Open Source AI Clip Generator (MIT)</title>
<meta name="description" content="Open source AI clip generator: turn long videos into 9:16 shorts for TikTok, Reels and Shorts. Self-host free under MIT, or cloud from $12/month." />
<meta name="author" content="OpenShorts" />
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
<!-- Canonical must match the host actually served. The apex redirects to www,

View file

@ -145,6 +145,22 @@ export const COMPETITORS = {
name: 'Vizard',
checked: '2026-07-27',
entryPrice: '$19.99/month',
// "vizard ai" is the spelling most of its search volume uses, so the page
// answers the brand question explicitly instead of hoping the comparison
// table catches the query on its own.
brandAlias: 'also written Vizard AI',
brandBlurb:
'Vizard (written Vizard AI in most searches, and served from vizard.ai) is a browser-based clipper: it transcribes the video, finds candidate moments and hands you a timeline to fix them in. That transcription pass is also its video-to-text feature, so a transcript comes out of the same job as the clips.',
extraFaq: [
{
q: 'Is Vizard AI free?',
a: 'Partly. Vizard has a free plan that allows 120 upload minutes and 10 exports. Its paid plans start at $19.99/month. OpenShorts self-hosted is free with no watermark and no usage cap, and OpenShorts Cloud gives 20 watermarked minutes a month with paid plans from $12/month.',
},
{
q: 'What is Vizard AI used for?',
a: 'Turning long recordings into short vertical clips, with an emphasis on editing them afterwards: it finds the moments, transcribes them and gives you a timeline for the captions and the clip boundaries. It is also used as a video-to-text tool, because the transcript comes out of the same job.',
},
],
tiers: [['Creator and higher tiers', 'From $19.99/month, scaling by minutes processed']],
gotcha:
'Vizard is built around a browser editing timeline, so it sits between a pure auto-clipper and a full editor. That is useful if you intend to hand-adjust every clip, and overhead if you do not.',
@ -163,7 +179,9 @@ export const COMPETITORS = {
submagic: {
name: 'Submagic',
checked: '2026-07-27',
entryPrice: '$14–20/month depending on billing period and listing',
// Short enough to survive inside a 160-character meta description; the
// annual/monthly spread is spelled out in the tiers below.
entryPrice: '$14/month annual',
tiers: [
['Free', '3 videos per month, watermarked'],
['Starter', 'From $14/month annual, around $20/month monthly, for roughly 30 videos'],

View file

@ -147,6 +147,13 @@ export const LANDING_FALLBACK = `<div id="seo-content" style="background:oklch(1
<a style="${S.a}" href="/youtube-to-shorts-converter">YouTube to Shorts converter</a> &middot;
<a style="${S.a}" href="/how-openshorts-works">How it works</a> &middot;
<a style="${S.a}" href="/alternatives">All alternatives compared</a> &middot;
<a style="${S.a}" href="/alternativas">Alternativas (ES)</a> &middot;
<a style="${S.a}" href="/opus-clip-pricing">Opus Clip pricing</a> &middot;
<a style="${S.a}" href="/opus-clip-free-alternative">Free Opus Clip alternative</a> &middot;
<a style="${S.a}" href="/opus-ai">Opus AI</a> &middot;
<a style="${S.a}" href="/opus-pro">Opus Pro</a> &middot;
<a style="${S.a}" href="/vizard-ai-video-to-text">Vizard AI video to text</a> &middot;
<a style="${S.a}" href="/submagic-reviews">Submagic review</a> &middot;
<a style="${S.a}" href="/mcp">MCP server &amp; API</a> &middot;
<a style="${S.a}" href="/automate-shorts-api">Automate shorts via API</a> &middot;
<a style="${S.a}" href="/n8n-youtube-shorts-automation">n8n template: channel on autopilot</a>

View file

@ -29,7 +29,7 @@ const TERMS_EN = `
<p>OpenShorts Cloud (openshorts.app) is operated by TONVI TECH SL, a company
incorporated in Spain, CIF B-19780394, with registered address at Calle Puerta
del Mar 18, 5th floor, 29005 Málaga, Spain ("OpenShorts", "we", "us"). You can
reach us at info@openshorts.app. These Terms of Service ("Terms") govern your
reach us at <a href="mailto:info@openshorts.app">info@openshorts.app</a>. These Terms of Service ("Terms") govern your
use of the hosted service at openshorts.app.</p>
<p>The open-source edition of OpenShorts that you can download and run on your
own hardware is licensed separately under the MIT License and is not covered by
@ -52,7 +52,7 @@ subscriptions and top-ups billed through Stripe.</p>
<p>You must be at least 16 years old, or the age of digital consent in your
country if it is higher. You are responsible for everything done through your
account and your API keys. Keep your access credentials confidential and tell
us at info@openshorts.app if you believe your account has been compromised.</p>
us at <a href="mailto:info@openshorts.app">info@openshorts.app</a> if you believe your account has been compromised.</p>
<h2>4. Your content stays yours</h2>
<p>You keep all ownership of the videos you submit. By submitting content, you
@ -104,7 +104,7 @@ submit), we engage only the sub-processors listed in our
apply appropriate security measures, and we delete the content under the
retention rules in Section 13 or earlier on your instruction. If you need a
countersigned Data Processing Agreement for your business, request it at
info@openshorts.app. When you self-host OpenShorts with your own keys, your
<a href="mailto:info@openshorts.app">info@openshorts.app</a>. When you self-host OpenShorts with your own keys, your
content flows directly between your own instance and the AI provider under
your own agreement with them. On OpenShorts Cloud that is not the case even
when you supply your own provider key: the request is made by our servers,
@ -172,7 +172,7 @@ may block re-registration by the same person after a termination for abuse.</p>
<p>The full procedure, with what a notice needs and how to challenge a removal,
is on its own page: <a href="/report-content">Report Illegal Content</a>.</p>
<p>If you believe content processed or hosted through the service infringes
your rights, email info@openshorts.app (our point of contact for users and
your rights, email <a href="mailto:info@openshorts.app">info@openshorts.app</a> (our point of contact for users and
authorities under Articles 11 and 12 DSA) with: your name and contact details,
the work you own, the exact URL or identifier of the infringing material, a
statement in good faith that the use is unauthorised, and your signature. We
@ -186,10 +186,10 @@ Article 16 DSA.</p>
following agent to receive notifications of claimed infringement under 17
U.S.C. § 512(c)(2):</p>
<p>Copyright Agent, TONVI TECH SL, Calle Puerta del Mar 18, 5th floor, 29005
Málaga, Spain. Email: info@upload-post.com.</p>
Málaga, Spain. Email: <a href="mailto:info@upload-post.com">info@upload-post.com</a>.</p>
<p>That address is the one on file with the US Copyright Office for this
company, which operates openshorts.app and upload-post.com. Notices sent to
info@openshorts.app are acted upon too, but the address above is the formal
<a href="mailto:info@openshorts.app">info@openshorts.app</a> are acted upon too, but the address above is the formal
channel.</p>
<p>A notification must be in writing and include: a physical or electronic
signature of the owner or of a person authorised to act for them; identification
@ -242,7 +242,7 @@ exercise it you will pay the proportional part of the service already provided,
and the right is lost once the service has been fully performed (Articles 98.8,
103.a and 108 of the Spanish Consumer Act, implementing Directive 2011/83/EU).
Automatic renewals of an ongoing subscription do not open a new withdrawal
period. To withdraw, email info@openshorts.app or use the model form we include
period. To withdraw, email <a href="mailto:info@openshorts.app">info@openshorts.app</a> or use the model form we include
in your confirmation email; refunds are issued to the original payment method
within 14 days.</p>
<p>Separately from this right, our <a href="/refunds">refund policy</a> returns
@ -304,7 +304,7 @@ consumer protection rules of your country of residence. Disputes are submitted
to the courts of Málaga, Spain — except that if you are a consumer, you keep
the right to sue and be sued in the courts of your own domicile, and you may
use the consumer mediation and arbitration bodies available in your country of
residence. Complaints route: write to info@openshorts.app first; most issues
residence. Complaints route: write to <a href="mailto:info@openshorts.app">info@openshorts.app</a> first; most issues
are fixed in days.</p>
`
@ -313,7 +313,7 @@ const TERMS_ES = `
<p>OpenShorts Cloud (openshorts.app) es un servicio prestado por TONVI TECH SL,
sociedad española con CIF B-19780394 y domicilio en Calle Puerta del Mar 18,
5ª planta, 29005 Málaga, España ("OpenShorts", "nosotros"). Puedes escribirnos
a info@openshorts.app. Estos Términos de Servicio ("Términos") regulan el uso
a <a href="mailto:info@openshorts.app">info@openshorts.app</a>. Estos Términos de Servicio ("Términos") regulan el uso
del servicio alojado en openshorts.app.</p>
<p>La edición de código abierto de OpenShorts que puedes descargar y ejecutar
en tu propio hardware se licencia por separado bajo la Licencia MIT y no está
@ -335,7 +335,7 @@ de pago facturadas a través de Stripe.</p>
<h2>3. Requisitos y cuentas</h2>
<p>Debes tener al menos 16 años, o la edad de consentimiento digital de tu país
si es mayor. Eres responsable de todo lo que se haga con tu cuenta y tus claves
API. Mantén tus credenciales en secreto y avísanos en info@openshorts.app si
API. Mantén tus credenciales en secreto y avísanos en <a href="mailto:info@openshorts.app">info@openshorts.app</a> si
crees que tu cuenta está comprometida.</p>
<h2>4. Tu contenido sigue siendo tuyo</h2>
@ -389,7 +389,7 @@ recurrimos únicamente a los subencargados listados en la
almacenamiento y entrega), aplicamos medidas de seguridad apropiadas y
eliminamos el contenido según las reglas de la cláusula 13 o antes si nos lo
pides. Si tu empresa necesita un contrato de encargo de tratamiento firmado,
solicítalo en info@openshorts.app. Cuando autoalojas OpenShorts con tus
solicítalo en <a href="mailto:info@openshorts.app">info@openshorts.app</a>. Cuando autoalojas OpenShorts con tus
propias claves, tu contenido fluye directamente entre tu instancia y el
proveedor de IA bajo tu propio acuerdo con él. En OpenShorts Cloud eso no es
así ni siquiera si aportas tu propia clave de proveedor: la petición la hacen
@ -463,7 +463,7 @@ abuso.</p>
impugnar una retirada, está en su propia página:
<a href="/reportar-contenido">Reportar Contenido Ilícito</a>.</p>
<p>Si crees que contenido procesado o alojado a través del servicio infringe
tus derechos, escribe a info@openshorts.app (nuestro punto de contacto para
tus derechos, escribe a <a href="mailto:info@openshorts.app">info@openshorts.app</a> (nuestro punto de contacto para
usuarios y autoridades según los artículos 11 y 12 de la DSA) indicando: tu
nombre y datos de contacto, la obra de la que eres titular, la URL o el
identificador exacto del material infractor, una declaración de buena fe de que
@ -478,10 +478,10 @@ de la DSA.</p>
siguiente agente para recibir notificaciones de presunta infracción conforme al
17 U.S.C. § 512(c)(2):</p>
<p>Copyright Agent, TONVI TECH SL, Calle Puerta del Mar 18, 5ª planta, 29005
Málaga, España. Email: info@upload-post.com.</p>
Málaga, España. Email: <a href="mailto:info@upload-post.com">info@upload-post.com</a>.</p>
<p>Esa es la dirección que consta en el Copyright Office estadounidense para
esta empresa, que opera openshorts.app y upload-post.com. Las notificaciones
enviadas a info@openshorts.app también se atienden, pero el canal formal es la
enviadas a <a href="mailto:info@openshorts.app">info@openshorts.app</a> también se atienden, pero el canal formal es la
dirección anterior.</p>
<p>La notificación debe hacerse por escrito e incluir: la firma física o
electrónica del titular o de quien esté autorizado a actuar en su nombre; la
@ -536,7 +536,7 @@ pero si lo ejerces abonarás la parte proporcional del servicio ya prestado, y
el derecho se pierde una vez el servicio se ha ejecutado por completo
(artículos 98.8, 103.a y 108 del TRLGDCU, que transponen la Directiva
2011/83/UE). Las renovaciones automáticas de una suscripción en curso no abren
un nuevo plazo de desistimiento. Para desistir, escribe a info@openshorts.app o
un nuevo plazo de desistimiento. Para desistir, escribe a <a href="mailto:info@openshorts.app">info@openshorts.app</a> o
usa el formulario modelo que incluimos en tu email de confirmación; los
reembolsos se emiten al medio de pago original en un máximo de 14 días.</p>
<p>Al margen de este derecho, nuestra <a href="/reembolsos">política de
@ -604,7 +604,7 @@ disputas se someten a los juzgados y tribunales de Málaga, España — con la
salvedad de que, si eres consumidor, conservas el derecho a demandar y ser
demandado ante los tribunales de tu propio domicilio, y puedes acudir a los
sistemas de mediación y arbitraje de consumo de tu país de residencia. Vía de
reclamación: escribe primero a info@openshorts.app; la mayoría de los problemas
reclamación: escribe primero a <a href="mailto:info@openshorts.app">info@openshorts.app</a>; la mayoría de los problemas
se resuelven en días.</p>
`
@ -612,7 +612,7 @@ const PRIVACY_EN = `
<h2>1. Who is responsible</h2>
<p>The data controller is TONVI TECH SL (CIF B-19780394), Calle Puerta del Mar
18, 5th floor, 29005 Málaga, Spain — the company behind OpenShorts
(openshorts.app). For anything about your data, write to info@openshorts.app.
(openshorts.app). For anything about your data, write to <a href="mailto:info@openshorts.app">info@openshorts.app</a>.
This policy is also available in <a href="/privacidad">Spanish</a>; for
residents of Spain, the Spanish version prevails in case of discrepancy.</p>
@ -664,7 +664,7 @@ random uuid) with these events so we can tell first-time from repeat use; we
do <em>not</em> send your email address. No advertising pixels, no cross-site
tracking, nothing shared with anyone. Basis: your consent (Art. 6.1.a GDPR and
Art. 22.2 of Law 34/2002); withdraw it at any time in the banner or by
emailing info@openshorts.app.</p>
emailing <a href="mailto:info@openshorts.app">info@openshorts.app</a>.</p>
<h3>Security and anti-abuse</h3>
<p>Server logs, IP-based rate limits and fraud signals, kept to protect the
service and its users. Basis: legitimate interest (Art. 6.1.f). Application
@ -792,7 +792,7 @@ that enforces it, is in the public repository at
<h2>6. Your rights</h2>
<p>You can ask us for access, rectification, erasure, restriction, portability
of your data, and object to processing based on legitimate interest — email
info@openshorts.app or info@openshorts.app from your account address; we answer
<a href="mailto:info@openshorts.app">info@openshorts.app</a> or <a href="mailto:info@openshorts.app">info@openshorts.app</a> from your account address; we answer
within one month. Two of these you can exercise yourself, right now, without
asking anyone: <strong>Account → Download my data</strong> gives you a JSON
file with everything our database holds about you plus a download link for
@ -834,7 +834,7 @@ characteristics about you, so the right to limit its use does not arise.</p>
have it corrected, to have it deleted, and not to be discriminated against for
exercising any of these rights: we do not offer a worse service, a higher price
or fewer features to anyone who does. Exercise them by emailing
info@openshorts.app from your account address, or delete everything yourself
<a href="mailto:info@openshorts.app">info@openshorts.app</a> from your account address, or delete everything yourself
with <strong>Account → Delete account</strong>. We verify a request by the
control you have over the account email, which is the same credential you sign
in with, and we answer within 45 days. An authorised agent may act for you if
@ -844,7 +844,7 @@ they provide your written permission.</p>
<p>The service is not directed at children. You must be at least 16, or the
age of digital consent in your country if higher, to create an account, and
you are asked to confirm that when you sign up. If you believe a minor has
created an account, write to info@openshorts.app and we will delete it.</p>
created an account, write to <a href="mailto:info@openshorts.app">info@openshorts.app</a> and we will delete it.</p>
<h2>8 bis. AI-generated content</h2>
<p>Dubbing, AI Shorts and AI thumbnails produce synthetic content. We mark
@ -870,7 +870,7 @@ const PRIVACY_ES = `
<p>El responsable es TONVI TECH SL (CIF B-19780394), Calle Puerta del Mar 18,
5ª planta, 29005 Málaga, España — la empresa detrás de OpenShorts
(openshorts.app). Para cualquier cuestión sobre tus datos, escribe a
info@openshorts.app. Esta política está también disponible en
<a href="mailto:info@openshorts.app">info@openshorts.app</a>. Esta política está también disponible en
<a href="/privacy">inglés</a>; para residentes en España prevalece la versión
en castellano en caso de discrepancia.</p>
@ -924,7 +924,7 @@ primer uso del uso recurrente; <em>no</em> enviamos tu dirección de email. Sin
píxeles publicitarios, sin seguimiento entre sitios, sin compartir nada con
nadie. Base: tu consentimiento (art. 6.1.a RGPD y art. 22.2 de la Ley
34/2002); puedes retirarlo cuando quieras en el banner o escribiendo a
info@openshorts.app.</p>
<a href="mailto:info@openshorts.app">info@openshorts.app</a>.</p>
<h3>Seguridad y antiabuso</h3>
<p>Registros del servidor, límites de uso por IP y señales de fraude,
conservados para proteger el servicio y a sus usuarios. Base: interés legítimo
@ -1062,7 +1062,7 @@ realmente la aplica, está en el repositorio público en
<h2>6. Tus derechos</h2>
<p>Puedes pedirnos acceso, rectificación, supresión, limitación y portabilidad
de tus datos, y oponerte a los tratamientos basados en interés legítimo — basta
un email a info@openshorts.app o a info@openshorts.app desde la dirección de tu
un email a <a href="mailto:info@openshorts.app">info@openshorts.app</a> o a <a href="mailto:info@openshorts.app">info@openshorts.app</a> desde la dirección de tu
cuenta; respondemos en el plazo de un mes. Dos de ellos puedes ejercerlos tú
mismo, ahora y sin pedir permiso a nadie: <strong>Cuenta → Descargar mis
datos</strong> te entrega un fichero JSON con todo lo que nuestra base de datos
@ -1106,7 +1106,7 @@ el derecho a limitar su uso no llega a nacer.</p>
rectifique, a que se elimine y a no sufrir discriminación por ejercer
cualquiera de estos derechos: no damos peor servicio, ni precio más alto, ni
menos funciones a quien los ejerce. Se ejercen escribiendo a
info@openshorts.app desde la dirección de tu cuenta, o eliminándolo todo tú
<a href="mailto:info@openshorts.app">info@openshorts.app</a> desde la dirección de tu cuenta, o eliminándolo todo tú
mismo desde <strong>Cuenta → Eliminar cuenta</strong>. Verificamos la solicitud
por el control que tienes sobre el email de la cuenta, que es la misma
credencial con la que accedes, y respondemos en 45 días. Un agente autorizado
@ -1116,7 +1116,7 @@ puede actuar por ti si aporta tu permiso por escrito.</p>
<p>El servicio no está dirigido a menores. Para crear una cuenta debes tener al
menos 16 años, o la edad de consentimiento digital de tu país si es mayor, y
se te pide confirmarlo al registrarte. Si crees que un menor ha creado una
cuenta, escribe a info@openshorts.app y la eliminaremos.</p>
cuenta, escribe a <a href="mailto:info@openshorts.app">info@openshorts.app</a> y la eliminaremos.</p>
<h2>8 bis. Contenido generado por IA</h2>
<p>El doblaje, AI Shorts y las miniaturas con IA producen contenido sintético.
@ -1148,8 +1148,8 @@ openshorts.app is:</p>
<li><strong>Tax ID (CIF):</strong> B-19780394</li>
<li><strong>Registered address:</strong> Calle Puerta del Mar 18, 5th floor,
29005 Málaga, Spain</li>
<li><strong>Contact:</strong> info@openshorts.app (general and legal notices)
and info@openshorts.app (data protection)</li>
<li><strong>Contact:</strong> <a href="mailto:info@openshorts.app">info@openshorts.app</a> (general and legal notices)
and <a href="mailto:info@openshorts.app">info@openshorts.app</a> (data protection)</li>
</ul>
<h2>Purpose of the site</h2>
@ -1170,7 +1170,7 @@ service belong to their respective owners.</p>
<p>TONVI TECH SL acts as a hosting and processing provider for content
submitted by its users, within the liability regime of Articles 14–17 LSSI-CE
and Regulation (EU) 2022/2065 (DSA). Notices about allegedly unlawful content
can be sent to info@openshorts.app, which is our single point of contact for
can be sent to <a href="mailto:info@openshorts.app">info@openshorts.app</a>, which is our single point of contact for
users and authorities; see Section 9 of the <a href="/terms">Terms of
Service</a> for the procedure.</p>
@ -1189,8 +1189,8 @@ openshorts.app es:</p>
<li><strong>CIF:</strong> B-19780394</li>
<li><strong>Domicilio:</strong> Calle Puerta del Mar 18, 5ª planta, 29005
Málaga, España</li>
<li><strong>Contacto:</strong> info@openshorts.app (general y avisos legales)
y info@openshorts.app (protección de datos)</li>
<li><strong>Contacto:</strong> <a href="mailto:info@openshorts.app">info@openshorts.app</a> (general y avisos legales)
y <a href="mailto:info@openshorts.app">info@openshorts.app</a> (protección de datos)</li>
</ul>
<h2>Objeto del sitio</h2>
@ -1212,7 +1212,7 @@ procesados a través del servicio pertenecen a sus respectivos titulares.</p>
procesamiento del contenido remitido por sus usuarios, dentro del régimen de
responsabilidad de los artículos 14 a 17 de la LSSI-CE y del Reglamento (UE)
2022/2065 (DSA). Los avisos sobre contenido presuntamente ilícito pueden
dirigirse a info@openshorts.app, nuestro punto único de contacto para usuarios
dirigirse a <a href="mailto:info@openshorts.app">info@openshorts.app</a>, nuestro punto único de contacto para usuarios
y autoridades; el procedimiento se describe en la cláusula 9 de los
<a href="/terminos">Términos de Servicio</a>.</p>
@ -1230,10 +1230,10 @@ stored or transmitted through openshorts.app is illegal, including content that
infringes copyright, trademarks, image rights or privacy. You do not need an
account and you do not need a lawyer.</p>
<p>If your complaint is about your own account, your billing or your data, this
is the wrong page: write to info@openshorts.app and say what you need.</p>
is the wrong page: write to <a href="mailto:info@openshorts.app">info@openshorts.app</a> and say what you need.</p>
<h2>How to send a notice</h2>
<p>Email <strong>info@openshorts.app</strong> with the subject line
<p>Email <strong><a href="mailto:info@openshorts.app">info@openshorts.app</a></strong> with the subject line
<strong>Illegal content report</strong>, in English or Spanish. So that we can
act on it without having to come back to you, the notice needs:</p>
<ul>
@ -1264,7 +1264,7 @@ sender. Accounts that repeatedly upload infringing material are terminated.</p>
grounds, you get a statement of reasons under Article 17 DSA: what we removed,
the facts we relied on, the legal or contractual ground, whether an automated
system was involved, and how to challenge the decision.</p>
<p>To challenge it, reply to that message or write to info@openshorts.app. A
<p>To challenge it, reply to that message or write to <a href="mailto:info@openshorts.app">info@openshorts.app</a>. A
person reviews it, not a filter. You also keep two routes that do not depend on
us at all: an out-of-court dispute settlement body certified under Article 21
DSA, and the courts. Nothing on this page limits either.</p>
@ -1276,7 +1276,7 @@ Act, section 9 of our <a href="/terms">Terms of Service</a> names our designated
agent and lists what section 512(c)(3) requires the notification to contain.</p>
<h2>Point of contact</h2>
<p>info@openshorts.app is our single point of contact for users (Article 12
<p><a href="mailto:info@openshorts.app">info@openshorts.app</a> is our single point of contact for users (Article 12
DSA) and for Member State authorities, the Commission and the European Board
for Digital Services (Article 11 DSA). We accept communications in Spanish and
in English. The service is operated by TONVI TECH SL, CIF B-19780394, Calle
@ -1291,10 +1291,10 @@ de que un contenido procesado, almacenado o transmitido a través de
openshorts.app es ilícito, incluidos los que infringen derechos de autor,
marcas, derechos de imagen o privacidad. No necesitas tener cuenta ni abogado.</p>
<p>Si tu problema es con tu cuenta, tu facturación o tus datos, esta no es la
página: escribe a info@openshorts.app y cuéntanos qué necesitas.</p>
página: escribe a <a href="mailto:info@openshorts.app">info@openshorts.app</a> y cuéntanos qué necesitas.</p>
<h2>Cómo enviar una notificación</h2>
<p>Escribe a <strong>info@openshorts.app</strong> con el asunto
<p>Escribe a <strong><a href="mailto:info@openshorts.app">info@openshorts.app</a></strong> con el asunto
<strong>Reporte de contenido ilícito</strong>, en español o en inglés. Para que
podamos actuar sin tener que volver a preguntarte, la notificación necesita:</p>
<ul>
@ -1328,7 +1328,7 @@ estos motivos, recibes una declaración de motivos conforme al artículo 17 de l
DSA: qué hemos retirado, los hechos en que nos basamos, el fundamento legal o
contractual, si ha intervenido un sistema automatizado y cómo impugnar la
decisión.</p>
<p>Para impugnarla, responde a ese mensaje o escribe a info@openshorts.app. Lo
<p>Para impugnarla, responde a ese mensaje o escribe a <a href="mailto:info@openshorts.app">info@openshorts.app</a>. Lo
revisa una persona, no un filtro. Además conservas dos vías que no dependen de
nosotros: un órgano de resolución extrajudicial de litigios certificado
conforme al artículo 21 de la DSA, y los tribunales. Nada de esta página limita
@ -1342,7 +1342,7 @@ Millennium Copyright Act estadounidense, el apartado 9 de nuestros
designado y detalla lo que la sección 512(c)(3) exige que contenga.</p>
<h2>Punto de contacto</h2>
<p>info@openshorts.app es nuestro punto único de contacto para los usuarios
<p><a href="mailto:info@openshorts.app">info@openshorts.app</a> es nuestro punto único de contacto para los usuarios
(artículo 12 de la DSA) y para las autoridades de los Estados miembros, la
Comisión y la Junta Europea de Servicios Digitales (artículo 11 de la DSA).
Aceptamos comunicaciones en español y en inglés. El servicio lo opera TONVI
@ -1373,7 +1373,7 @@ made. Signing in and looking around is not using it.</li>
legal rights below may still get you money back.</p>
<h2>How to ask</h2>
<p>Email <strong>info@openshorts.app</strong> from the address your account
<p>Email <strong><a href="mailto:info@openshorts.app">info@openshorts.app</a></strong> from the address your account
uses and say you want a refund. We check the date of the charge and whether any
minutes were spent after it, and we reply the same working day.</p>
@ -1423,7 +1423,7 @@ miniatura. Entrar y mirar no cuenta como usarlo.</li>
de más abajo pueden devolverte dinero igualmente.</p>
<h2>Cómo pedirlo</h2>
<p>Escribe a <strong>info@openshorts.app</strong> desde la dirección de tu
<p>Escribe a <strong><a href="mailto:info@openshorts.app">info@openshorts.app</a></strong> desde la dirección de tu
cuenta y dinos que quieres el reembolso. Comprobamos la fecha del cargo y si se
gastaron minutos después, y respondemos el mismo día laborable.</p>
@ -1474,7 +1474,7 @@ export function legalPages() {
path: '/privacy',
title: 'Privacy Policy | OpenShorts',
description:
'What OpenShorts stores (email, billing reference, the videos you process), for how long, which providers touch it, and your GDPR rights. Nothing non-essential loads before you accept it.',
'What OpenShorts stores (email, billing reference, the videos you process), for how long, which providers touch it, and your GDPR rights.',
h1: 'Privacy Policy',
breadcrumb: [{ name: 'Privacy Policy' }],
published: PUBLISHED,
@ -1496,7 +1496,7 @@ export function legalPages() {
published: PUBLISHED,
updated: PUBLISHED,
tldr: [
'openshorts.app is operated by TONVI TECH SL, CIF B-19780394, Calle Puerta del Mar 18, 29005 Málaga, Spain — contact info@openshorts.app.',
'openshorts.app is operated by TONVI TECH SL, CIF B-19780394, Calle Puerta del Mar 18, 29005 Málaga, Spain — contact <a href="mailto:info@openshorts.app">info@openshorts.app</a>.',
],
body: LEGAL_EN,
},
@ -1504,7 +1504,7 @@ export function legalPages() {
path: '/terminos',
title: 'Términos de Servicio | OpenShorts',
description:
'Los términos de OpenShorts Cloud: tu contenido sigue siendo tuyo, sin entrenamiento de IA con tus vídeos, derechos de los consumidores de la UE y plazos de conservación.',
'Los términos de OpenShorts Cloud: tu contenido sigue siendo tuyo, sin entrenar IA con tus vídeos, derechos del consumidor UE y plazos de conservación.',
h1: 'Términos de Servicio',
breadcrumb: [{ name: 'Términos de Servicio' }],
published: PUBLISHED,
@ -1521,7 +1521,7 @@ export function legalPages() {
path: '/privacidad',
title: 'Política de Privacidad | OpenShorts',
description:
'Qué guarda OpenShorts (email, referencia de facturación, los vídeos que procesas), durante cuánto tiempo, qué proveedores intervienen y tus derechos RGPD. Sin rastreadores de terceros.',
'Qué guarda OpenShorts (email, referencia de facturación, los vídeos que procesas), cuánto tiempo, qué proveedores intervienen y tus derechos RGPD.',
h1: 'Política de Privacidad',
breadcrumb: [{ name: 'Política de Privacidad' }],
published: PUBLISHED,
@ -1545,7 +1545,7 @@ export function legalPages() {
updated: PUBLISHED,
lang: 'es',
tldr: [
'openshorts.app es un servicio de TONVI TECH SL, CIF B-19780394, Calle Puerta del Mar 18, 29005 Málaga, España — contacto info@openshorts.app.',
'openshorts.app es un servicio de TONVI TECH SL, CIF B-19780394, Calle Puerta del Mar 18, 29005 Málaga, España — contacto <a href="mailto:info@openshorts.app">info@openshorts.app</a>.',
],
body: LEGAL_ES,
},
@ -1559,7 +1559,7 @@ export function legalPages() {
published: PUBLISHED,
updated: PUBLISHED,
tldr: [
'Email info@openshorts.app with the subject "Illegal content report", the exact URL, why it is illegal, and your contact details.',
'Email <a href="mailto:info@openshorts.app">info@openshorts.app</a> with the subject "Illegal content report", the exact URL, why it is illegal, and your contact details.',
'We confirm receipt without undue delay, review it with human judgement, and tell you what we decided and why.',
'If we removed your content you get a statement of reasons and can challenge it, with the courts and an Article 21 dispute body always open to you.',
],
@ -1569,14 +1569,14 @@ export function legalPages() {
path: '/reportar-contenido',
title: 'Reportar Contenido Ilícito | OpenShorts',
description:
'Cómo reportar contenido ilícito o infractor en openshorts.app: qué debe contener la notificación, qué hacemos con ella y cómo impugnar una retirada. Artículo 16 DSA.',
'Cómo reportar contenido ilícito o infractor en openshorts.app: qué debe contener la notificación, qué hacemos con ella y cómo impugnar una retirada.',
h1: 'Reportar Contenido Ilícito',
breadcrumb: [{ name: 'Reportar Contenido Ilícito' }],
published: PUBLISHED,
updated: PUBLISHED,
lang: 'es',
tldr: [
'Escribe a info@openshorts.app con el asunto "Reporte de contenido ilícito", la URL exacta, por qué es ilícito y tus datos de contacto.',
'Escribe a <a href="mailto:info@openshorts.app">info@openshorts.app</a> con el asunto "Reporte de contenido ilícito", la URL exacta, por qué es ilícito y tus datos de contacto.',
'Confirmamos la recepción sin dilaciones indebidas, lo revisa una persona y te comunicamos qué decidimos y por qué.',
'Si te hemos retirado contenido recibes una declaración de motivos y puedes impugnarla, con los tribunales y un órgano del artículo 21 siempre abiertos.',
],
@ -1586,14 +1586,14 @@ export function legalPages() {
path: '/refunds',
title: 'Refund Policy | OpenShorts',
description:
'Charged in the last 14 days and have not used the service since? OpenShorts refunds it in full. What counts as used, how to ask, and how EU withdrawal rights cover the rest.',
'Charged in the last 14 days and have not used the service since? OpenShorts refunds it in full. What counts as used, and how to ask.',
h1: 'Refund Policy',
breadcrumb: [{ name: 'Refund Policy' }],
published: PUBLISHED,
updated: PUBLISHED,
tldr: [
'Charged in the last 14 days and have not used the service since? We refund it in full, no reason needed.',
'It covers your most recent charge only, and it is built for the renewal you did not notice. One email to info@openshorts.app.',
'It covers your most recent charge only, and it is built for the renewal you did not notice. One email to <a href="mailto:info@openshorts.app">info@openshorts.app</a>.',
'If you did spend minutes, the EU withdrawal right in section 12 of the Terms may still refund the part you did not use.',
],
body: REFUNDS_EN,
@ -1602,7 +1602,7 @@ export function legalPages() {
path: '/reembolsos',
title: 'Política de Reembolsos | OpenShorts',
description:
'¿Te han cobrado en los últimos 14 días y no has usado el servicio? OpenShorts te lo devuelve entero. Qué cuenta como usarlo, cómo pedirlo y qué cubre el desistimiento.',
'¿Te han cobrado en los últimos 14 días y no has usado el servicio? OpenShorts te lo devuelve entero. Qué cuenta como usarlo y cómo pedirlo.',
h1: 'Política de Reembolsos',
breadcrumb: [{ name: 'Política de Reembolsos' }],
published: PUBLISHED,
@ -1610,7 +1610,7 @@ export function legalPages() {
lang: 'es',
tldr: [
'¿Te hemos cobrado en los últimos 14 días y no has usado el servicio desde entonces? Te lo devolvemos entero, sin justificación.',
'Cubre solo tu último cargo, y está pensada para la renovación que no te sonó. Basta un email a info@openshorts.app.',
'Cubre solo tu último cargo, y está pensada para la renovación que no te sonó. Basta un email a <a href="mailto:info@openshorts.app">info@openshorts.app</a>.',
'Si sí gastaste minutos, el desistimiento del apartado 12 de los Términos puede devolverte la parte no consumida.',
],
body: REFUNDS_ES,

File diff suppressed because it is too large Load diff

View file

@ -102,6 +102,18 @@ td.os{color:var(--ink)}
.cluster a:hover{border-color:var(--rule2)}
.cluster strong{display:block;color:var(--ink);font-weight:500;margin-bottom:.15rem}
.cluster span{font-size:.85rem;color:var(--muted)}
.cta-box{border:1px solid var(--rule2);border-left:3px solid var(--brass);border-radius:10px;
background:var(--paper2);padding:1.25rem 1.4rem;margin:2rem 0;
display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;justify-content:space-between}
.cta-box .copy{flex:1 1 18rem}
.cta-box .label{font-family:var(--mono);font-size:.65rem;letter-spacing:.12em;
text-transform:uppercase;color:var(--brass);display:block;margin-bottom:.4rem}
.cta-box strong{display:block;font-family:var(--display);font-weight:400;font-size:1.2rem;
line-height:1.25;color:var(--ink);margin-bottom:.35rem}
.cta-box p{margin:0;font-size:.9rem;color:var(--muted)}
.cta-box .btn{background:var(--brass);color:oklch(17% 0.03 50);padding:.65rem 1.2rem;
border-radius:8px;font-size:.9rem;font-weight:500;text-decoration:none;white-space:nowrap}
.cta-box .btn:hover{color:oklch(17% 0.03 50);filter:brightness(1.06)}
footer.site{border-top:1px solid var(--rule);padding:2.5rem 0;font-size:.85rem;color:var(--muted)}
footer.site a{color:var(--muted)}
footer.site .row{display:flex;flex-wrap:wrap;gap:1.25rem;margin-bottom:1rem}
@ -205,14 +217,104 @@ const footer = (_related) => `
<a href="/gta-5-clips">GTA 5 clips</a>
<a href="/how-openshorts-works">How it works</a>
<a href="/alternatives">Alternatives compared</a>
<a href="/alternativas">Alternativas (ES)</a>
<a href="/mcp">MCP server and API</a>
<a href="/automate-shorts-api">Automate shorts</a>
</div>
<div class="row">
<a href="/opus-clip-pricing">Opus Clip pricing</a>
<a href="/opus-clip-free-alternative">Free Opus Clip alternative</a>
<a href="/opus-ai">Opus AI</a>
<a href="/opus-pro">Opus Pro</a>
<a href="/vizard-ai-video-to-text">Vizard AI video to text</a>
<a href="/submagic-reviews">Submagic review</a>
</div>
<p>OpenShorts self-hosted is free and open source under MIT. OpenShorts Cloud
is the hosted service: 20 free minutes a month, paid plans from $12/month.
Last updated ${esc(SITE.updated)}.</p>
</div></footer>`
/* Product analytics for the static pages.
*
* These pages are served straight from nginx and never hydrate React, so the
* consent manager that boots the tracker in the app (src/lib/consent.js) never
* runs here. Without this block their traffic is invisible: they were ranking
* at positions 1.8 to 4 and reporting nothing at all.
*
* The shim, the placeholder gate and ANALYTICS_HOSTS are the same ones
* index.html uses, on purpose — one deployment, one switch. The placeholders
* are substituted at build time by vite-plugin-seo.js (Vite only rewrites
* index.html, and these files are emitted as assets), so an unset
* VITE_OPENPANEL_* still yields an inert page: no init, no script, no request.
*
* The call is unconditional because first-party audience measurement is exempt
* from prior consent (AEPD/CNIL criteria) and is always on in the app too; the
* banner only gates marketing, of which there is none on these pages. */
const ANALYTICS = `
<script>
window.op = window.op || function () { var n = []; return new Proxy(function () { arguments.length && n.push([].slice.call(arguments)); }, { get: function (t, r) { return "q" === r ? n : function () { n.push([r].concat([].slice.call(arguments))); }; }, has: function (t, r) { return "q" === r; } }); }();
window.__osAnalyticsInit = (function () {
var started = false;
return function () {
if (started) return false;
var apiUrl = "%VITE_OPENPANEL_API_URL%";
var clientId = "%VITE_OPENPANEL_CLIENT_ID%";
var unset = function (v) { return !v || v.charAt(0) === "%"; };
if (unset(apiUrl) || unset(clientId)) return false;
var ANALYTICS_HOSTS = /^(www\\.)?openshorts\\.app$/;
if (!ANALYTICS_HOSTS.test(location.hostname)) return false;
started = true;
window.op("init", {
apiUrl: apiUrl,
clientId: clientId,
trackScreenViews: true,
trackOutgoingLinks: true,
trackAttributes: true,
});
var s = document.createElement("script");
s.src = "/op1.js";
s.defer = true;
s.async = true;
document.head.appendChild(s);
return true;
};
})();
window.__osAnalyticsInit();
</script>`
/* The body CTA. Until now the only link to the app on these pages was the fixed
* nav button, so a reader who finished the article had nothing to click: the
* pages sit at positions 1.8-4 with a 0.2-1.6% CTR and no path into the
* product. Copy is per page (`page.cta`) because the push differs — a reader
* on the no-watermark page is arguing about watermarks, not about editing.
*
* Plain same-origin link on purpose: utm_* here would overwrite the visitor's
* real acquisition source (google, reddit...) in lib/attribution.js and split
* the OpenPanel session. The inline handler reports the click with the page
* slug, which is what tells us whether the CTA or the nav button is doing the
* work. */
const DEFAULT_CTA = {
label: 'Try it',
title: 'Paste a link, get vertical clips',
body: '20 free minutes a month, no credit card. Or self-host it free under MIT.',
button: 'Get free clips',
}
const ctaBlock = (page) => {
const c = { ...DEFAULT_CTA, ...(page.cta || {}) }
const slug = page.path.replace(/^\//, '').replace(/\//g, '-') || 'home'
const href = `${SITE.url}/`
return `
<div class="cta-box">
<div class="copy">
<span class="label">${esc(c.label)}</span>
<strong>${esc(c.title)}</strong>
<p>${esc(c.body)}</p>
</div>
<a class="btn" href="${esc(href)}" onclick="window.op&amp;&amp;window.op('track','SeoCtaClick',{page:'${esc(page.path)}'})">${esc(c.button)}</a>
</div>`
}
/* Internal links are rendered as a visible block rather than a nav bar because
* an engine reading the raw HTML has no way to weight a nav differently from
* body copy — a described link is a stronger signal than a bare one. */
@ -226,8 +328,9 @@ const relatedBlock = (related) =>
)
.join('')}</div>`
export function renderPage(page, related = []) {
export function renderPage(page, related = [], { cta = true } = {}) {
const canonical = `${SITE.url}${page.path}`
const showCta = cta && !page.noindex
const crumbs = [
`<a href="${SITE.url}/">Home</a>`,
...(page.breadcrumb || []).map((c) =>
@ -247,6 +350,7 @@ ${page.noindex ? '' : `<link rel="canonical" href="${canonical}">\n`}<meta name=
}">
<link rel="icon" type="image/png" href="/logo-openshorts.png">
<link rel="stylesheet" href="/fonts.css">
${ANALYTICS}
<meta property="og:type" content="article">
<meta property="og:url" content="${canonical}">
<meta property="og:title" content="${esc(page.title)}">
@ -278,6 +382,7 @@ ${
</div>`
}
${page.tldr ? `<div class="tldr"><span class="label">TL;DR</span>${page.tldr.map((p) => `<p>${p}</p>`).join('')}</div>` : ''}
${showCta ? ctaBlock(page) : ''}
${page.body}
${relatedBlock(related)}
</div></main>

View file

@ -78,6 +78,57 @@ const TikTokIcon = ({ size = 16, className = "" }) => (
// meaningless to the user, so the selector shows connected networks instead.
const isAutoProfileId = (username) => /^os_[0-9a-f]/i.test(username || "");
/* The job a signed-out visitor started, parked until they come back signed in.
*
* Pressing "get free clips" without a session used to open the login modal and
* drop the work on the floor: the magic link lands on a fresh document, so the
* pasted URL was gone and the highest-intent step in the funnel ended in an
* empty form. The same is true of the Google round trip.
*
* So the request is written down before the redirect and replayed after it.
* localStorage rather than sessionStorage because the magic link usually opens
* in a new tab, and a TTL because a request parked last week is not what the
* user is doing now. File uploads cannot be serialised (a File is not JSON), so
* those are only resumed within the same document, via the in-memory fallback. */
const PENDING_JOB_KEY = 'os_pending_job';
const PENDING_JOB_TTL_MS = 60 * 60 * 1000;
let pendingJobInMemory = null;
function stashPendingJob(data) {
const stamp = Date.now();
const entry = { stamp, data: { ...data, payload: typeof data?.payload === 'string' ? data.payload : null } };
pendingJobInMemory = { stamp, data };
try {
localStorage.setItem(PENDING_JOB_KEY, JSON.stringify(entry));
} catch (_) { /* private mode: the in-memory copy still covers same-document flows */ }
return stamp;
}
function peekPendingJob() {
try {
const raw = localStorage.getItem(PENDING_JOB_KEY);
if (raw) {
const parsed = JSON.parse(raw);
if (parsed?.data?.payload && Date.now() - (parsed.stamp || 0) < PENDING_JOB_TTL_MS) {
return parsed;
}
localStorage.removeItem(PENDING_JOB_KEY);
}
} catch (_) { /* ignore */ }
// A File cannot survive a reload; this covers a sign-in that did not reload.
if (pendingJobInMemory && Date.now() - pendingJobInMemory.stamp < PENDING_JOB_TTL_MS) {
return pendingJobInMemory;
}
return null;
}
function clearPendingJob() {
pendingJobInMemory = null;
try {
localStorage.removeItem(PENDING_JOB_KEY);
} catch (_) { /* ignore */ }
}
const formatRetention = (seconds) => {
if (seconds >= 86400) return `${Math.round(seconds / 86400)} day${seconds >= 172800 ? 's' : ''}`;
if (seconds >= 3600) return `${Math.round(seconds / 3600)} hour${seconds >= 7200 ? 's' : ''}`;
@ -735,6 +786,13 @@ function App() {
if (qa === 'celebrate') { setTutorialPhase('celebrate'); return; }
if (localStorage.getItem('os_show_clip_tutorial') === '1') showTutorial = true;
if (localStorage.getItem('os_clip_tutorial') === 'coach') resumeCoach = true;
// A request parked before the sign-in redirect is about to resume on its
// own: opening the intro ("paste a link and generate") on top of a job
// that is already starting contradicts itself. Skip it for this signup.
if (showTutorial && peekPendingJob()) {
showTutorial = false;
localStorage.removeItem('os_show_clip_tutorial');
}
} catch (_) { /* ignore */ }
if (showTutorial) {
setTutorialPhase('intro');
@ -835,12 +893,19 @@ function App() {
const handleProcess = async (data, forceLowQuality = false) => {
// Hosted: must be signed in AND on an active plan/trial. Self-host: BYOK keys.
if (billingEnabled) {
if (!isSignedIn) { setShowLogin(true); return; }
// The billing gate below is unchanged: signed in, then entitled, then the
// processing path. The only new thing is the first branch remembering what
// the visitor asked for before sending them to sign in, so the resume
// effect can hand the exact same request back to this function and let it
// fall through the same gates.
if (!isSignedIn) { stashPendingJob(data); setShowLogin(true); return; }
if (!isManaged) { window.location.hash = '#/pricing'; return; }
} else if (keysMissing) {
setShowKeyModal(true);
return;
}
// Past every gate, so this request is really running: nothing left to resume.
clearPendingJob();
setStatus('processing');
setLogs(["Starting process..."]);
setResults(null);
@ -959,6 +1024,27 @@ function App() {
}
};
// Resume the job the visitor started before signing in. Runs on the render
// that first sees isSignedIn true — after a magic link or a Google round trip,
// i.e. a fresh document — and replays the request through handleProcess, so
// the entitlement gate still decides whether it actually runs: an unentitled
// account lands on #/pricing with the request still parked, and pays for it
// later. `resumedStamp` keeps one parked request from being replayed twice in
// the same document (the pricing redirect would otherwise loop on it).
const handleProcessRef = useRef(null);
const resumedStampRef = useRef(0);
useEffect(() => {
handleProcessRef.current = handleProcess;
});
useEffect(() => {
if (!billingEnabled || !isSignedIn) return;
const pending = peekPendingJob();
if (!pending || pending.stamp === resumedStampRef.current) return;
resumedStampRef.current = pending.stamp;
track('JobResumedAfterSignin', { props: { type: pending.data?.type || 'unknown' } });
handleProcessRef.current(pending.data);
}, [billingEnabled, isSignedIn]);
const handleReset = () => {
// Flush any pending edit-state sync before dropping the project: the clips
// themselves are already archived to R2 as they were edited.
@ -2187,7 +2273,7 @@ function App() {
onReframed={handleClipRerendered}
/>
)}
{showLogin && <LoginModal onClose={() => setShowLogin(false)} />}
{showLogin && <LoginModal onClose={() => setShowLogin(false)} queued={typeof peekPendingJob()?.data?.payload === 'string'} />}
{tutorialPhase && (
<ClipTutorial
phase={tutorialPhase}

View file

@ -780,7 +780,14 @@ export default function Landing({ onLaunchApp }) {
<a href="/youtube-to-shorts-converter" className="hover:text-ink transition-colors">youtube to shorts</a>
<a href="/how-openshorts-works" className="hover:text-ink transition-colors">how it works</a>
<a href="/alternatives" className="hover:text-ink transition-colors">alternatives</a>
<a href="/alternativas" className="hover:text-ink transition-colors">alternativas</a>
<a href="/alternatives/opus-clip" className="hover:text-ink transition-colors">vs opus clip</a>
<a href="/opus-clip-pricing" className="hover:text-ink transition-colors">opus clip pricing</a>
<a href="/opus-clip-free-alternative" className="hover:text-ink transition-colors">free opus clip alternative</a>
<a href="/opus-ai" className="hover:text-ink transition-colors">opus ai</a>
<a href="/opus-pro" className="hover:text-ink transition-colors">opus pro</a>
<a href="/vizard-ai-video-to-text" className="hover:text-ink transition-colors">vizard ai video to text</a>
<a href="/submagic-reviews" className="hover:text-ink transition-colors">submagic review</a>
<a href="/mcp" className="hover:text-ink transition-colors">mcp server & api</a>
<a href="/automate-shorts-api" className="hover:text-ink transition-colors">automate shorts</a>
<a href="/n8n-youtube-shorts-automation" className="hover:text-ink transition-colors">n8n workflow</a>

View file

@ -4,7 +4,10 @@ import { useAuth } from '../contexts/AuthContext';
import Modal from './ui/Modal';
// Sign-in modal: magic link (email) + Google OAuth.
export default function LoginModal({ onClose }) {
// `queued` says the visitor pressed "get free clips" before signing in and the
// request is parked: the work resumes by itself once they are back, and saying
// so is the difference between a sign-in wall and a saved job.
export default function LoginModal({ onClose, queued = false }) {
const { requestMagicLink, loginWithGoogle, googleAuthEnabled } = useAuth();
const [email, setEmail] = useState('');
const [sent, setSent] = useState(false);
@ -30,6 +33,15 @@ export default function LoginModal({ onClose }) {
<Modal isOpen onClose={onClose} eyebrow="ACCOUNT" title="Sign in to OpenShorts" size="md">
<p className="text-muted text-sm mb-6 lowercase">Access your plan and generate shorts with no API keys.</p>
{queued && (
<div className="flex items-start gap-2 border border-rule2 rounded-input bg-paper2 px-3 py-2 mb-5">
<Check size={14} className="mt-0.5 shrink-0 text-ok" />
<p className="text-xs text-ink2 leading-relaxed m-0">
Your video is saved. Sign in and the clips start on their own — you will not have to paste it again.
</p>
</div>
)}
{sent ? (
<div className="text-center py-6">
<span className="badge-ok px-3 py-1"><Check size={14} /> sent</span>

View file

@ -26,6 +26,8 @@ import { allows } from './consent';
// - ClipTutorialStarted — first-login tutorial: user hit Start
// - ClipTutorialSkipped — first-login tutorial dismissed (intro or coach)
// - ClipTutorialCompleted— first Clip Generator job finished with clips
// - JobResumedAfterSignin— a job started signed-out was replayed after the
// sign-in (App.jsx), instead of being dropped
// The Started → Redirected → Subscribed chain is what separates "never reached
// Stripe" from "reached Stripe and abandoned"; before 2-ago-2026 the modals
// emitted only their own *Checkout event and the difference was invisible.

View file

@ -15,6 +15,7 @@
* `/alternatives/opus-clip` without any server config change.
*/
import { loadEnv } from 'vite'
import { SITE } from './seo/data.js'
import { buildPages, relatedFor } from './seo/pages.js'
import { legalPages } from './seo/legal.js'
@ -94,13 +95,35 @@ const notFoundPage = () => ({
faq: [],
})
/* The analytics block in render.js carries the same %VITE_OPENPANEL_*%
* placeholders index.html does, but Vite only rewrites index.html: the pages
* below are emitted as raw assets and never pass through its HTML transform.
* Substituting here keeps one switch for the whole deployment: unset collapses
* to an empty string, the page's own `unset()` check catches that and nothing
* loads — the same inert result index.html gets from its unreplaced literal. */
const substituteAnalyticsEnv = (html, env) => {
const value = (name) => {
const v = env[`VITE_${name}`] || process.env[`VITE_${name}`] || ''
// A value containing the placeholder marker would defeat the unset() check.
return String(v).replace(/[%"]/g, '')
}
return html
.replace(/%VITE_OPENPANEL_API_URL%/g, value('OPENPANEL_API_URL'))
.replace(/%VITE_OPENPANEL_CLIENT_ID%/g, value('OPENPANEL_CLIENT_ID'))
}
export default function seoPlugin() {
const pages = buildPages()
let env = {}
return {
name: 'openshorts-seo',
apply: 'build',
configResolved(config) {
env = loadEnv(config.mode, config.envDir, 'VITE_')
},
transformIndexHtml(html) {
if (!html.includes('<div id="root"></div>')) {
// Fail loudly rather than shipping an empty homepage to AI crawlers
@ -126,19 +149,21 @@ export default function seoPlugin() {
// `try_files $uri.html` (added to nginx.conf) serves these at the
// clean path with a 200 and no redirect.
fileName: `${page.path.replace(/^\//, '')}.html`,
source: renderPage(page, relatedFor(page, pages)),
source: substituteAnalyticsEnv(renderPage(page, relatedFor(page, pages)), env),
})
}
// Legal pages (terms/privacy/legal notice, EN+ES): indexed and present in
// the sitemap and llms.txt, but OUT of the marketing interlinking ring —
// they are linked from the footer, where readers expect them.
// they are linked from the footer, where readers expect them. The body CTA
// is off here: nobody reading a refund policy needs a "get free clips"
// button in the middle of the withdrawal procedure.
const legal = legalPages()
for (const page of legal) {
this.emitFile({
type: 'asset',
fileName: `${page.path.replace(/^\//, '')}.html`,
source: renderPage(page, []),
source: substituteAnalyticsEnv(renderPage(page, [], { cta: false }), env),
})
}
@ -152,7 +177,10 @@ export default function seoPlugin() {
this.emitFile({
type: 'asset',
fileName: '404.html',
source: renderPage(notFoundPage(), relatedFor(pages[0], pages)),
source: substituteAnalyticsEnv(
renderPage(notFoundPage(), relatedFor(pages[0], pages), { cta: false }),
env
),
})
},
}