clipwright/dashboard/src/Legal.jsx
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

245 lines
14 KiB
JavaScript

import React from 'react';
import { ArrowLeft } from 'lucide-react';
const LAST_UPDATED = '2026-07-15';
const ISSUES_URL = 'https://github.com/mutonby/openshorts/issues';
const SUPPORT_EMAIL = 'info@openshorts.app';
function Section({ title, children }) {
return (
<section className="mb-10">
<h2 className="font-display lowercase text-xl text-ink mb-3">{title}</h2>
<div className="text-ink2 leading-relaxed space-y-3 text-sm">{children}</div>
</section>
);
}
function A({ href, children, external }) {
return (
<a
className="underline underline-offset-2 hover:text-brass transition-colors"
href={href}
{...(external ? { target: '_blank', rel: 'noopener noreferrer' } : {})}
>
{children}
</a>
);
}
export default function Legal() {
const handleBack = () => {
window.location.hash = '';
};
return (
<div className="min-h-screen bg-paper text-ink2">
<header className="border-b border-rule sticky top-0 bg-paper z-10">
<div className="max-w-[65ch] mx-auto px-6 py-3 flex items-center">
<button onClick={handleBack} className="btn-quiet">
<ArrowLeft size={16} /> Back
</button>
</div>
</header>
<main className="max-w-[65ch] mx-auto px-6 py-12">
<h1 className="font-display lowercase text-3xl md:text-4xl text-ink mb-3">Terms & Privacy</h1>
<p className="readout mb-12">Last updated: {LAST_UPDATED}</p>
<Section title="The short version">
<p>
OpenShorts is an AI clip generator. There are two ways to use it:
</p>
<ul className="list-disc pl-6 space-y-2">
<li>
<strong className="text-ink">Self-hosted (free):</strong> the open-source software, run on
your own machine with your own API keys. No account, no payment, no data held by us.
</li>
<li>
<strong className="text-ink">Hosted at openshorts.app:</strong> we run everything for
you. It requires an account and offers a free plan and paid subscriptions; we store the
videos you generate subject to the retention rules below.
</li>
</ul>
<p>By using the hosted Service you agree to the terms below.</p>
</Section>
<Section title="Accounts & sign-in">
<p>
The hosted Service requires an account. You can sign in with a magic link sent to your email or
with Google. We store your email address to operate your account and authenticate you. You are
responsible for keeping access to your inbox / Google account secure.
</p>
</Section>
<Section title="Free plan, paid plans & billing">
<p>
Paid plans are <strong className="text-ink">Starter ($12/mo · 100 min)</strong>,{' '}
<strong className="text-ink">Creator ($29/mo · 300 min)</strong> and{' '}
<strong className="text-ink">Pro ($59/mo · 750 min)</strong>, each also available annually (two
months free). "Minutes" are minutes of input video processed per billing period; additional
minutes can be bought as one-off top-ups.
</p>
<p>
<strong className="text-ink">Free plan:</strong> accounts signed in with Google get{' '}
<strong className="text-ink">20 minutes</strong> of video processing per calendar month at no
cost and with no payment method required. Free clips carry a watermark and are stored for{' '}
<strong className="text-ink">7 days</strong>, after which they are deleted. Free allowances,
limits and features may change; the free plan may not be available to accounts we reasonably
believe are abusing it (e.g. duplicate accounts).
</p>
<p>
<strong className="text-ink">Auto-renewal:</strong> paid subscriptions renew automatically each
period (monthly or yearly) at the then-current price until you cancel.
</p>
<p>
<strong className="text-ink">Legacy trials:</strong> subscriptions started before the free plan
existed may include a 3-day free trial under the terms shown at their sign-up; those trials
convert or cancel per Stripe's standard flow.
</p>
<p>
Payments are processed by <strong className="text-ink">Stripe</strong>. We never see or store
your full card details. Prices are in USD and exclude any applicable taxes/VAT, which are added
at checkout where required.
</p>
</Section>
<Section title="Cancellation & refunds">
<p>
You can cancel anytime from your account (or Stripe's billing portal). On cancellation your plan
stays active until the end of the current paid period; we do not charge you again after that.
</p>
<p>
Except where required by law, payments are <strong className="text-ink">non-refundable</strong>{' '}
and we do not prorate partial periods. To avoid being charged for a period you don't want, cancel
before it renews (and, for the trial, before it ends).
</p>
<p>
<strong className="text-ink">EU/EEA consumers:</strong> the Service is digital content/services
supplied immediately. By starting to use it (including during the trial) you request immediate
performance and acknowledge that you lose the 14-day right of withdrawal once performance has
begun, to the extent permitted by law.
</p>
</Section>
<Section title="You are responsible for what you upload">
<p>
Before processing a video you must confirm — via the checkbox in the upload interface — that you
own the content or have the rights to process it. By doing so you represent and warrant that:
</p>
<ul className="list-disc pl-6 space-y-2">
<li>You own all rights to the content, or have a valid license or permission to process it;</li>
<li>The content does not infringe any third-party copyright, trademark, privacy, or other right;</li>
<li>The content is not unlawful, defamatory, or otherwise prohibited.</li>
</ul>
<p>
If you submit content you do not have rights to, that is your responsibility. You agree to
indemnify OpenShorts and its contributors against any third-party claim arising from content you
submitted. We may suspend or terminate accounts that abuse the Service or infringe others' rights.
</p>
</Section>
<Section title="What we store, and for how long">
<ul className="list-disc pl-6 space-y-2">
<li>
<strong className="text-ink">Account data:</strong> your email address and your subscription
status and usage (minutes used). Kept while your account exists.
</li>
<li>
<strong className="text-ink">Generated videos:</strong> the clips you create are stored in
encrypted cloud storage and available in your library <strong className="text-ink">while your
subscription is active, plus 7 days after it ends</strong>, then permanently deleted.
</li>
<li>
<strong className="text-ink">Uploaded/source files &amp; working data:</strong> deleted from
our processing servers shortly after the job finishes (typically within 1 hour).
</li>
<li>
<strong className="text-ink">Billing data:</strong> handled by Stripe; we keep a reference
to your Stripe customer/subscription, not your card.
</li>
<li>
<strong className="text-ink">Optional add-on keys (ElevenLabs, fal.ai):</strong> for BYOK
features, stored encrypted in your browser and sent as request headers only when needed —
never written to our database.
</li>
<li>
<strong className="text-ink">Server access logs:</strong> retained up to 30 days for
debugging and abuse prevention.
</li>
</ul>
<p>We do not sell, rent, or share your data with third parties for advertising or any unrelated purpose.</p>
</Section>
<Section title="Subprocessors">
<p>To provide the hosted Service we share the minimum necessary data with a small number of
trusted service providers, each acting on our behalf:</p>
<ul className="list-disc pl-6 space-y-2">
<li><strong className="text-ink">A payments provider</strong> — payments &amp; subscriptions.</li>
<li><strong className="text-ink">A cloud infrastructure &amp; storage provider</strong> — hosting and storing your generated videos.</li>
<li><strong className="text-ink">An AI provider</strong> — video analysis, titles and thumbnails.</li>
<li><strong className="text-ink">A social-publishing provider</strong> — posting to TikTok, Instagram &amp; YouTube (only when you connect them).</li>
<li><strong className="text-ink">An email provider</strong> — transactional email (sign-in links, notices).</li>
</ul>
<p>Each is bound by its own terms and privacy policy. We can identify the specific providers to
you on request where required by law.</p>
</Section>
<Section title="Service is provided as-is">
<p>
The Service is provided on a best-effort basis with no warranties of any kind and no guarantee of
uptime, accuracy, or fitness for a particular purpose. To the maximum extent permitted by law, our
aggregate liability is limited to the amount you paid us in the 3 months before the claim, and we
are not liable for indirect or consequential damages. Availability of specific features may vary
over time and is not guaranteed.
</p>
</Section>
<Section title="Your rights (EU / EEA / UK)">
<p>
Under the GDPR / UK GDPR you may access, rectify, erase, restrict, object to, or port your
personal data. You can delete your account and its data — including your video library — by
emailing{' '}
<A href={`mailto:${SUPPORT_EMAIL}`}>{SUPPORT_EMAIL}</A>. You may
also lodge a complaint with your local supervisory authority (in Spain: AEPD,{' '}
<A href="https://www.aepd.es" external>
aepd.es
</A>
).
</p>
</Section>
<Section title="Copyright takedowns">
<p>
If you believe content processed through the Service infringes your copyright, email{' '}
<A href={`mailto:${SUPPORT_EMAIL}`}>{SUPPORT_EMAIL}</A> with:
identification of the work, identification of the allegedly infringing material (enough detail to
locate it), your contact information, and a statement that you are authorized to act for the
rights holder.
</p>
</Section>
<Section title="Self-hosted instances">
<p>
OpenShorts is open source and may be self-hosted. This notice applies to the hosted version we
operate at openshorts.app. Self-hosted instances are run by their administrators, whose data
handling and policies are their own responsibility, not ours.
</p>
</Section>
<Section title="Changes & contact">
<p>
We may update this notice; the "Last updated" date reflects the latest revision. For material
changes affecting paid subscribers we'll give reasonable notice. Continued use after a change
constitutes acceptance. Questions:{' '}
<A href={`mailto:${SUPPORT_EMAIL}`}>{SUPPORT_EMAIL}</A> or{' '}
<A href={ISSUES_URL} external>
GitHub Issues
</A>
.
</p>
<p>These terms are governed by the laws of Spain.</p>
</Section>
</main>
</div>
);
}