Commit graph

4 commits

Author SHA1 Message Date
juancarlos.cavero
6835565dbf feat(seo): add a GTA 5 clips page for the gaming-VOD query cluster
Gaming is the biggest clip-producing category on the vertical platforms and
the one the generic pipeline pages describe worst: the source is a multi-hour
stream VOD, the gameplay fills the whole 16:9 frame, and the only face on
screen is a webcam box in a corner that a centre crop throws away.

The page is built on the two code paths that actually answer that (the
geometric webcam-inset detector and the WIDE layout) plus the arithmetic that
decides the category: per-minute credits against a source measured in hours.
It states the hard limit up front too, that moments are scored from the
transcript, so silent gameplay has nothing to score.

Emits a HowTo node alongside the Article, since the head query here is a
procedure and extraNodes was already supported but unused.

Sitemap lastmod becomes per-page while I am here: the new page is dated
2026-09-15 and stamping every other URL with that date because one page
changed is the fastest way to have a crawler stop trusting the field.
2026-09-15 22:27:18 +02:00
juancarlos.cavero
2900047b78 feat(legal): full legal corpus — Terms, Privacy, Legal Notice in EN+ES
Replaces the single thin Terms & Privacy SPA view with six indexed static
pages (/terms /privacy /legal-notice + /terminos /privacidad /aviso-legal)
built like the SEO pages, in the sitemap and llms.txt but out of the
marketing interlinking ring. The #legal SPA route becomes a hub linking to
them, so the text lives in exactly one place. Footer and the rights-
attestation checkbox now link to the real documents.

Drafted from a clause inventory of OpusClip/Klap/Vizard/Submagic legals
plus a 2026 Spanish/EU compliance review. Notable substance:
- LSSI art. 10 identity (TONVI TECH SL, Málaga) — was missing entirely.
- Rights warranty covers URL-instructed downloads explicitly and declares
  the attestation record (IP+UA+date) as evidence; DSA arts. 11-17
  notice-and-action with repeat-infringer policy.
- Explicit output ownership (clips are the user's; free-tier watermark as
  a written licence condition) and a no-AI-training commitment naming
  Gemini/ElevenLabs/Whisper — clauses none of the competitors have.
- EU withdrawal per CJEU C-234/25: SaaS is a digital service, the 14-day
  right survives with pro-rata payment (not the digital-content forfeit
  the old page used); renewals do not reopen it. 15-day renewal reminder
  duty (Ley 10/2025) stated.
- AI Act art. 50: dubbed clips declared as labelled/marked; users must
  not strip marks.
- Privacy: per-purpose legal bases, named processors, DPF+SCC transfers,
  real retention (7-day free clips, sub+7 days paid — matching
  cloud/config.py), AEPD analytics exemption documented, no cookie
  banner rationale.
- Spanish versions with prevalence clause (art. 60.1 TRLGDCU; AEPD has
  fined foreign-language-only policies). renderPage supports page.lang.
2026-08-19 22:06:11 +02:00
juancarlos.cavero
985761a340 fix(seo): permanent apex redirect, real 404s, and gallery links that resolve
Three routing fixes, all in nginx.conf so they live in version control.

Apex to www is now a 301. Traefik was answering 307 because Coolify generates
`redirectregex.permanent=false` and hardcodes it, so pinning the label would be
overwritten on the next deploy. Moving the redirect into the container means the
app's `redirect` setting in Coolify must be `both`, otherwise Traefik still
redirects the apex before nginx ever sees it. A temporary redirect consolidates
nothing, and every canonical on the site pointed through it.

Unknown paths now return 404 instead of 200 with the SPA shell. The app routes
entirely through the hash (#/pricing, #/auth/callback), which never reaches the
server, so nothing deep-links to a path and the fallback was load-bearing for
nothing. Answering 200 with byte-identical markup for every made-up path made
the site look like a single page duplicated infinitely. The 404 body is a
branded page generated by the same renderer, marked noindex and kept out of both
the sitemap and llms.txt.

/gallery and /video/* now 301 to api.openshorts.app, which is where those
server-rendered pages actually live. The README has linked them on the apex since
they were written, and the apex quietly served the landing page instead.

Verified against the production nginx config in a container: 15 real routes 200,
6 made-up paths 404, both gallery paths 301 to the API host, apex 301s to www
preserving path and query. Coolify's health check for this app is disabled and
would target /, which still returns 200.
2026-07-27 11:48:33 +02:00
juancarlos.cavero
ce67cdcdf5 feat(seo): make the site readable by AI crawlers
The dashboard is a client-rendered SPA, so the HTML served for / contained an
empty <div id="root"> and nothing else. Googlebot renders JavaScript and saw the
real landing page; GPTBot, ClaudeBot and PerplexityBot do not, and measured the
homepage as zero characters of text. That is why the site ranks #1 in Google for
its own name and is absent from AI answers. Verified: curl with a GPTBot UA
returned 13,651 bytes of markup and 0 characters of body text.

vite-plugin-seo.js fixes it at build time, with no runtime cost and no change to
how the app mounts:

- Injects crawler-visible homepage content into #root. React replaces it on
  mount, so users get the app unchanged. Homepage now serves 7,524 characters
  of text instead of 0.
- Emits eight standalone static pages: four "X alternative" comparisons plus
  free-ai-clip-generator, open-source-video-clipper, how-openshorts-works and an
  /alternatives hub. Commercial-investigation prompts are answered almost
  entirely out of comparison content, and informational pages are cited far more
  than product pages.
- Generates sitemap.xml (was one hand-written URL with a stale lastmod) and
  llms.txt from the same page list so the three cannot drift.

Also corrects three things that were actively misinforming engines:

- canonical pointed at the apex, which 302s to www. It named a URL that only
  ever redirects. Now www everywhere, matching what is served.
- The schema declared one SoftwareApplication at price 0. That is true of the
  self-hosted edition and false of the hosted one, so the whole product read as
  free. Split into SoftwareApplication (MIT, $0) and Service (Cloud, real
  AggregateOffer of $12-59), and the FAQ answers now name both prices together.
- Opus Clip was described as "$15-228/month" and the Cloud tier as a "3-day free
  trial". Both are stale. Competitor pricing now lives in seo/data.js with the
  date it was checked rendered next to it on the page.

nginx: try_files gains $uri.html before $uri/, so the generated pages resolve at
their clean path with a 200. Resolving them as directories makes nginx 301 to a
trailing slash, which would point every canonical at a redirect.

Verified against the production nginx config in a container: all 12 routes 200,
no redirects, all 9 JSON-LD graphs parse, React mounts with a clean console.
2026-07-27 10:56:15 +02:00