Commit graph

29 commits

Author SHA1 Message Date
victormanuel.caverogracia
59ec005d3a fix(build): remove untracked openConsentManager references from Landing.jsx 2026-09-07 11:45:43 +02:00
victormanuel.caverogracia
ca9ecd6e67 perf: optimize pagespeed - lazy load app, fix video CLS and compress logo 2026-09-07 11:30:33 +02:00
juancarlos.cavero
e21cab22fb feat(legal): dmca agent, california rights, refunds and a notice-and-action page
Five gaps in the published package, all of them things the texts either
promised or needed:

- DMCA. Section 9 implemented the DSA notice-and-action mechanism, which does
  not grant the US safe harbor. Adds the designated agent under 512(c)(2), what
  a notification must contain, the counter-notification of 512(g) and the
  misrepresentation liability of 512(f). Publishing this is only half of it:
  the designation still has to be filed at dmca.copyright.gov.
- California. The privacy policy had no CCPA/CPRA section at all. Says plainly
  that we do not sell or share, and that the reframing detects faces to know
  where to crop but never to identify anyone, which is the question a CPRA
  reader asks next.
- Refunds. New /refunds and /reembolsos: 14 days from any charge, refunded in
  full, no usage deducted. Section 12 now says the commercial policy is more
  generous than the statutory withdrawal right and is the one that applies,
  because two clauses answering differently about the same 14 days is what a
  dispute is made of.
- Notice and action. The art. 16 mechanism lived inside a terms clause, which
  reads poorly against "easy to access". Now its own page in both languages,
  linked from the footer, the hub and section 9.
- Signup. LoginModal created the account without linking the terms or the
  privacy policy: a magic-link signup never passes the footer.

docs/dsa-notice-and-action.md is the half nobody outside sees: acknowledge the
same working day, decide in 72 hours, the art. 17 statement of reasons, and a
written three-strike rule, since "reasonably implemented" is the test and an
unwritten policy fails it. It also records why arts. 15 and 20-28 do not apply
to us (hosting service, micro enterprise), so nobody builds them by mistake.

Claude-Session: https://claude.ai/code/session_01WyFE2wXi8quZR6nLRRLDgE
2026-08-29 17:19:11 +02:00
juancarlos.cavero
d9152221fd docs(dashboard): name Gemini 3.1 Flash-Lite in landing, pricing and SEO copy 2026-08-26 00:30:51 +02:00
juancarlos.cavero
119a6da8be feat(seo): canvas screenshot on the n8n page, and link it from the landing
The page opened with a TL;DR box, which is the wrong lead for a page
whose subject is a workflow: the canvas shows in one glance what four
paragraphs were describing. Screenshot in, summary box out, and the
TL;DR block in render.js is now optional so other pages can make the
same call.

Two nodes in act 3 sat on identical coordinates after the queue node
landed, so the template opened with overlapping labels on import.

The landing named n8n in the hero without linking anywhere; it now
points at the workflow page, in the app and in the crawler fallback
that has to mirror it.
2026-08-21 21:41:58 +02:00
juancarlos.cavero
aa0c841b47 feat(landing): mention MCP in the hero description
The hero now pitches the agent audience too: 'also a clipping tool for ai
agents: claude, chatgpt and n8n drive it over mcp', linking to /mcp. Same
sentence added to the crawler-visible fallback copy (landing-fallback.js
must stay in sync with Landing.jsx).
2026-08-20 02:10:08 +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
40f530f9aa feat(landing): surface the CLI wherever the agent surface is described
Feature card, FAQ answer, crawler fallback, /mcp and the automation
page all name pip install openshorts alongside MCP and the REST API.
2026-08-05 15:04:39 +02:00
juancarlos.cavero
9f3bedecde feat(seo): five demand-backed pages + honest agent-access comparison on /mcp
New static pages, each re-housing demand GSC already shows landing on the
homepage: no-watermark clip generator (the AI-answer gap: unwatermarked
free clipping only exists self-hosted), open-source AI video generator
(splits the text-to-video intent honestly), podcast-to-shorts (the SPLIT
layout as the capability no competitor page can show), YouTube-to-Shorts
converter (link import is free here, paid at Opus Clip), and an
automation recipe page (API + signed webhooks + n8n shape).

/mcp gains a checked comparison table: Opus Clip shipped MCP in July
2026, so the claim that survives is flat-minute billing and self-hosted
agent access with no meter, not MCP existence. All competitor claims
carry checked dates.
2026-08-04 17:58:25 +02:00
juancarlos.cavero
4c94c29964 feat(seo): close the internal-link gaps around the static cluster
The rendered React landing had zero links to the static SEO pages, so
Googlebot's rendered homepage dropped the whole cluster; the static
pages' nav and footer missed /mcp and the /alternatives hub; and the
crawler fallback missed both too. Every surface now links the full set
with descriptive anchors.
2026-08-04 14:19:28 +02:00
juancarlos.cavero
7eab5649a6 feat(landing): surface the agent API as a hosted-first benefit
The MCP server existed everywhere except the one page most visitors
see. Feature card + FAQ on the landing (mirrored in the SEO fallback,
which must stay in sync with Landing.jsx), and a new row in the README
edition table framing it honestly: both editions serve /mcp, but an
agent needs an endpoint that is always on, and only the hosted one is.
2026-08-04 00:02:16 +02:00
juancarlos.cavero
be1093bd4c feat(pricing): sell the GPU, the keys and the setup instead of the software
The pricing page asked people to pay for things our own MIT repo already
gives away for free (no watermark, no limits), and then closed with a
"Self-host free" button competing with the checkout right below the plans.
Nothing named the two costs self-hosting actually has: our GPU and the
managed API keys.

- Name the real hosted value on every plan card, free included, since free
  runs on the same GPU with the same bundled key: ~50s per 8-min video vs
  5-8 min on CPU. Add the missing no-watermark bullet to the paid tiers.
- Turn the landing's "Two ways to use OpenShorts" cards into a real
  side-by-side: GPU vs your CPU, our key vs your keys, we maintain it vs
  you maintain it.
- Add a detailed hosted vs self-hosted table to the standalone #/pricing,
  which had no equivalent. It lives there rather than in PricingSection so
  it does not duplicate the landing block sitting right above it.
- Realign both copies of the billing FAQ and the open-source trust card.

Retention is 1.7% and identical whether clips succeed or fail, so the plans
have to earn their price on running costs, not on features we open source.
2026-07-27 10:21:58 +02:00
juancarlos.cavero
bc71cb57a3 feat(disk): topes de tamaño para output/ y uploads/ + quitar el badge de trial
Con volumen persistente el barrido por antigüedad (1h) acota la edad de lo
guardado pero no su tamaño: una tanda de vídeos largos puede llenar el disco
dentro de la misma ventana. Se añaden topes duros (OUTPUT_MAX_GB=25,
UPLOADS_MAX_GB=15) que borran lo más antiguo hasta bajar del límite; los clips
están archivados en R2 y se rehidratan solos, así que solo cuesta una descarga.

Además el barrido saltaba a borrar output/thumbnails, que respalda un mount de
StaticFiles: borrarlo dejaba /thumbnails devolviendo 500 hasta el siguiente
arranque.

Y fuera el badge '3-Day Trial' de la landing, que ya no aplica.
2026-07-20 22:09:26 +02:00
juancarlos.cavero
d2fd9d3d1b fix(landing): jerarquía del hero — badge visible de 'no credit card' y la subida como enlace secundario
Dos píldoras grandes seguidas competían entre sí, y el argumento que
desactiva la objeción principal (no hace falta tarjeta) iba escondido en
un párrafo gris. Ahora el CTA manda, debajo va la badge verde y 'or upload
a video' baja a enlace.
2026-07-20 21:32:40 +02:00
juancarlos.cavero
6cb8551aa4 fix(landing): 'paste a video link' — el ingest no es solo youtube 2026-07-20 21:29:54 +02:00
juancarlos.cavero
e0b43dee83 feat(landing): input de URL en el hero — la landing arranca el producto, no la página de precios
El CTA del hero mandaba a #pricing: pedía plantearse pagar antes de ver
nada, justo el muro que el plan free venía a quitar (7.7% de los registros
pasaban). Ahora el hero acepta un enlace, lo guarda y abre la app con la
URL ya cargada en MediaInput; el login se pide al generar, no antes.
No se auto-envía: la casilla de derechos sobre el vídeo la marca el usuario.
2026-07-20 19:14:17 +02:00
juancarlos.cavero
9fd1cacb0c feat(billing): free plan (20 min/mes sin tarjeta) + retirar trial + opt-in galería UGC
- Plan free resuelto en metering (sin fila Stripe): 20 min/mes para cuentas
  Google, período sintético de mes natural con reset automático
- TRIAL_DAYS=0 para nuevos checkouts; trials en curso grandfathered
- Watermark drawtext en clips free (pasada única post-render, sobrevive
  subtítulos/hooks); thumbnails IA solo de pago
- Anti-abuso: 3 jobs/día por cuenta, 5 por IP, rate-limit de probes,
  contador mensual de GB de proxy con alerta Telegram a 100 GB
- Clips free caducan a 7 días (purge_free_expired); purge_expired respeta
  a cancelados que ahora son free
- Galería UGC pública pasa a opt-in (share_to_gallery, antes publicaba
  producto+guion de todos los usuarios sin permiso)
- Emails: clips listos (con star-ask) y sin-minutos (cooldown 24h)
- Frontend: card Free en pricing, copy sin trial (landing/legal/gates),
  StarBanner en resultados y TopUpModal, upsell de watermark
2026-07-20 00:26:21 +02:00
juancarlos.cavero
e50db9f607 seo: keyword-rich h1, clipping/clipper terms, FAQ schema sync + remove crop overlay
- H1 restores 'free open source ai clip generator' keeping the redesign tagline
- Hero subline recovers the AI UGC keyword and adds 'online'
- Add clipping/clipper mentions (top non-brand GSC queries with zero on-page presence)
- FAQ schema: dual pricing answer synced with visible FAQ, dateModified bumped
- Remove orange crop-window overlay from the Smart Crop demo
2026-07-17 12:25:14 +02:00
victormanuel.caverogracia
7ea3ad5308 seo: keyword phrase back in hero subline
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 10:14:24 +02:00
victormanuel.caverogracia
aa676a7814 redesign: Lumen design system across landing, app and paywall
Full visual rework to a single locked design system (design.md, Lumen
Night Foundry): dark violet canvas, molten-brass accent, Instrument
Serif + Geist + JetBrains Mono, hairline cards, zero gradients and
zero glassmorphism.

- Landing: marquee hero with real vertical demo clip in an instrument
  bezel, meter strip, smart-crop before/after section, cloud-first
  copy (start free trial primary, self-host demoted to secondary),
  text density cut, SEO surfaces preserved (single h1, ids, FAQs,
  comparison table intact)
- App: workbench restyle — sidebar with mono ordinals, unified header,
  settings/ai-agent/dashboard views on shared tokens; per-feature
  gradient identities retired
- Shared UI: new Modal, SegmentedControl and StepIndicator replace 8+
  duplicated modal shells and 2 wizard steppers
- New pricing paywall page (#/pricing): demo proof strip, honest trust
  signals, billing FAQ
- Routing: app logo links back to landing via #landing without
  resetting the skip-landing preference
- Responsive: audited and fixed at 320/375/414/768px (no horizontal
  scroll, tables scroll in-container, single-line CTAs)
- ScheduleWeekModal translated to English; ProcessingAnimation comment
  noise removed

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 02:41:22 +02:00
juancarlos.cavero
0f8e19f119 feat(ui): support email, in-app pricing link, landing pricing section
- App sidebar: Support card (mailto:info@openshorts.app) + "Plans & Pricing" link (billing-gated)
- Landing: embedded 3-tier pricing section (live from Stripe), Pricing nav link,
  hosted card mentions the saved video library — all gated on billingEnabled so
  self-host shows nothing broken
2026-07-16 17:43:28 +02:00
juancarlos.cavero
05578c5456 feat: add hosted paid mode (managed keys, Stripe trial, metering)
Adds an optional cloud/paid mode behind a BILLING_ENABLED flag. With the flag
off the app is byte-identical to today's self-hosted BYOK build (regression-zero).

Backend (cloud/ package, only imported when BILLING_ENABLED):
- Auth: magic link (Resend) + Google OAuth (authlib) + JWT sessions
- Stripe: hosted Checkout with 3-day card trial, Customer Portal, idempotent
  order-safe webhooks; 3 plans (Starter/Creator/Pro) resolved by lookup_key
- Postgres + SQLAlchemy async; atomic minute metering (reserve/commit/release,
  plan->topup FIFO, restart-safe) with sweeper
- Managed keys: Gemini + Upload-Post server-side for entitled users; paid-only
  (BYOK core header ignored on hosted); Upload-Post white-label per-user profiles
- Metering wired into /api/process (probe->reserve->402, priority queue) and
  thumbnail image generation (3 min/batch)
- yt-dlp residential PROXY_URL support + 720p cap for hosted YouTube downloads

Frontend:
- AuthContext, LoginModal, PricingSection (3-day trial), AccountPage, UsageMeter,
  TopUpModal, TrialGate/AdvancedBanner
- Paid-only UI: hide BYOK core inputs, trial prompts per tool
- Included (Clip Generator, YouTube Studio) vs BYOK (AI Shorts/dubbing: fal.ai +
  ElevenLabs) clearly separated; ThumbnailStudio + SaaShortsTab managed-aware
- Landing: free-self-host vs paid-hosted messaging

Verified end-to-end against real Postgres + Stripe test mode.
2026-07-14 13:04:43 +02:00
juancarlos.cavero
b8602fd841 feat: Add minimal Terms & Privacy page
- New Legal.jsx single-page notice covering AS-IS, user responsibility,
  retention (1h job purge), third-party APIs, GDPR rights, copyright
  takedown via GitHub Issues, self-hosted disclaimer
- main.jsx routes #legal to the Legal page; Landing footer adds the link
- Attestation checkbox now references the Terms & Privacy page
- Drop "Made with by Upload-Post" footer credit

Anchors the ownership attestation to a written notice and gives a
public surface for GDPR/DMCA contact, without inventing fake emails.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 12:31:15 +02:00
juancarlos.cavero
3f4c814e22 feat: Add DISABLE_YOUTUBE_URL flag and reframe marketing copy
- New env var DISABLE_YOUTUBE_URL gates URL ingest in /api/process (403)
- /api/config exposes the flag so MediaInput can hide the YouTube tab
- Landing.jsx and index.html (meta + JSON-LD) reworded around
  "your long-form videos" instead of marketing YouTube downloads,
  reducing inducement exposure on the public deployment

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 11:51:08 +02:00
juancarlos.cavero
f09cd0ca0c feat: Add Upload-Post branding, competitor table, showcase, and fix voice gender
- Landing: Add "Social media API" link to Upload-Post in features card
- Landing: Add "Made with ❤️ by Upload-Post" in footer
- Dashboard: Add "Made with ❤️ by Upload-Post" footer
- README: Add competitor comparison table (vs Opus Clip, CapCut, Vizard, Klap, Descript)
- README: Add cost breakdown section with free tiers
- README: Add AI Shorts showcase from gallery
- README: Add "Who Is This For?" section
- README: Add Docker, GitHub stars, last commit badges
- README: Expand social auto-publishing and scheduling info
- Fix: Reset voice selection when actor gender changes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:43:53 +01:00
juancarlos.cavero
86117d3f3e feat: AI Shorts low-cost mode, UGC gallery, universal business support
- Add Low Cost video mode (Hailuo 2.3 + VEED Lipsync ~$0.65) alongside Premium (Kling Avatar v2 ~$2)
- Add UGC video gallery with SEO pages (/gallery, /video/{id}) and JSON-LD structured data
- Make AI Shorts work for any business (URL optional, manual description supported)
- Add shared actor gallery on public S3 with prompt history
- Add custom actor photo upload
- Add Upload-Post social publishing to AI Shorts result step
- Add UGC Gallery tab with Videos + Avatars tabs
- Update landing page with 3-tools-in-1 section (Clip Generator, AI Shorts, YouTube Studio)
- Rename SaaS Shorts to AI Shorts, Dashboard to Clip Generator
- Add vite proxy for /gallery and /video routes
- Add image upload validation
- Remove hardcoded bucket names from code
- Update README with full documentation and screenshot references

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 20:29:23 +01:00
juancarlos.cavero
da90b5bff9 Update landing page and index.html
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 19:49:54 +01:00
juancarlos.cavero
7fe2b6fe1f fix landing 2026-03-07 14:41:54 +01:00
juancarlos.cavero
65d3ad24e3 Add SEO-optimized landing page with GEO optimization
- Landing page with hero, features, how-it-works, comparison table, FAQ, and CTA sections
- Full SEO meta tags, Open Graph, Twitter Cards, and JSON-LD structured data (SoftwareApplication, FAQPage, Organization)
- GEO-optimized content targeting AI search engines (citations, statistics, authoritative tone)
- API Keys section highlighting free tiers for Gemini (required), ElevenLabs and Upload-Post (optional)
- AI YouTube Thumbnail Studio feature showcased in landing and FAQ
- Gemini API key validation in ThumbnailStudio (blocks UI with warning when not configured)
- Landing page link in dashboard sidebar for easy navigation
- All references updated to Gemini 3.0 Flash and correct GitHub repo URL

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 17:51:12 +01:00