diff --git a/dashboard/src/Landing.jsx b/dashboard/src/Landing.jsx index 33fe682..5f3e124 100644 --- a/dashboard/src/Landing.jsx +++ b/dashboard/src/Landing.jsx @@ -603,11 +603,9 @@ export default function Landing({ onLaunchApp }) { GitHub Features FAQ + Terms & Privacy -
- Made with ❤️ by Upload-Post -
); diff --git a/dashboard/src/Legal.jsx b/dashboard/src/Legal.jsx new file mode 100644 index 0000000..bc515a1 --- /dev/null +++ b/dashboard/src/Legal.jsx @@ -0,0 +1,159 @@ +import React from 'react'; +import { ArrowLeft } from 'lucide-react'; + +const LAST_UPDATED = '2026-05-06'; +const ISSUES_URL = 'https://github.com/mutonby/openshorts/issues'; + +function Section({ title, children }) { + return ( +
+

{title}

+
{children}
+
+ ); +} + +export default function Legal() { + const handleBack = () => { + window.location.hash = ''; + }; + + return ( +
+
+
+ +
+
+ +
+

Terms & Privacy

+

Last updated: {LAST_UPDATED}

+ +
+

+ OpenShorts is a free, open-source AI clip generator. There are no accounts, no payments, and we + do not persistently store the videos you upload or the clips we generate. By using the Service + you agree to the points below. +

+
+ +
+

+ The Service is offered for free, on a best-effort basis, with no warranties of any kind and no + guarantee of uptime, accuracy, or fitness for any particular purpose. To the maximum extent + permitted by law, we are not liable for any damages arising from your use of the Service. +

+
+ +
+

+ Before processing a video, you must affirmatively 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: +

+
    +
  • You own all rights to the content, or have a valid license or permission to process it;
  • +
  • The content does not infringe any third-party copyright, trademark, privacy, or other right;
  • +
  • The content is not unlawful, defamatory, or otherwise prohibited.
  • +
+

+ If you submit content you do not have rights to, that is your responsibility, not ours. You + agree to indemnify OpenShorts and its contributors against any third-party claim arising from + content you submitted. +

+
+ +
+
    +
  • + Uploaded videos and generated clips: deleted with + their job, typically within 1 hour. Not backed up off-server in our hosted deployment. +
  • +
  • + Attestation record (IP, user-agent, timestamp, source):{' '} + kept in memory with the job and discarded when the job is purged (≈1 hour). Used only to + evidence the ownership confirmation in case of a takedown or dispute. +
  • +
  • + Standard server access logs: retained up to 30 days + for debugging and abuse prevention. +
  • +
  • + API keys (Gemini, ElevenLabs, Upload-Post): stored + encrypted in your browser's localStorage. They are + sent as request headers when a feature needs them, used to call the relevant third party, + and never written to our database or disk. +
  • +
+

We do not sell, rent, or share your data with third parties for advertising or any unrelated purpose.

+
+ +
+

+ When you use a feature that requires it, OpenShorts forwards relevant data to the third-party + API for which you provided a key — Google Gemini (AI analysis), ElevenLabs (optional dubbing), + Upload-Post (optional social posting). Those services have their own terms and privacy policies + which apply in addition to this notice. +

+
+ +
+

+ Under the GDPR / UK GDPR you have the right to access, rectify, erase, restrict, object to, or + port your personal data. Because we do not hold accounts and job data is purged within an hour, + most requests are auto-satisfied by the retention schedule. For anything else, file a request + via{' '} + + GitHub Issues + + . You may also lodge a complaint with your local supervisory authority (in Spain: AEPD,{' '} + + aepd.es + + ). +

+
+ +
+

+ If you believe content processed through the Service infringes your copyright, open an issue at{' '} + + {ISSUES_URL} + {' '} + with: identification of the work, identification of the allegedly infringing material (job ID, + URL, or sufficient detail to locate it), your contact information, and a statement that you are + authorized to act on behalf of the rights holder. Note that uploaded content is typically + deleted within 1 hour, so most takedowns are auto-resolved by retention. +

+
+ +
+

+ OpenShorts is open source and may be self-hosted. This notice applies only to the hosted + version we operate. Self-hosted instances are operated by their respective administrators, and + their data handling, retention, and policies are their responsibility, not ours. +

+
+ +
+

+ We may update this notice from time to time; the "Last updated" date above reflects the most + recent revision. Continued use after a change constitutes acceptance. For any other question, + please use{' '} + + GitHub Issues + + . +

+

This notice is governed by the laws of Spain.

+
+
+
+ ); +} diff --git a/dashboard/src/components/MediaInput.jsx b/dashboard/src/components/MediaInput.jsx index 1bfa9ed..6919bcf 100644 --- a/dashboard/src/components/MediaInput.jsx +++ b/dashboard/src/components/MediaInput.jsx @@ -121,7 +121,7 @@ export default function MediaInput({ onProcess, isProcessing }) { className="mt-0.5 accent-primary cursor-pointer" /> - I confirm I own this content or have the rights to process it. I am responsible for any content I submit. + I confirm I own this content or have the rights to process it. I am responsible for any content I submit. See our e.stopPropagation()}>Terms & Privacy. diff --git a/dashboard/src/main.jsx b/dashboard/src/main.jsx index 870ae20..7bd9579 100644 --- a/dashboard/src/main.jsx +++ b/dashboard/src/main.jsx @@ -3,16 +3,20 @@ import { createRoot } from 'react-dom/client' import './index.css' import App from './App.jsx' import Landing from './Landing.jsx' +import Legal from './Legal.jsx' function Root() { - const [showApp, setShowApp] = useState(() => { - return window.location.hash === '#app' || localStorage.getItem('openshorts_skip_landing') === '1'; - }); + const resolveView = () => { + const hash = window.location.hash; + if (hash === '#legal') return 'legal'; + if (hash === '#app' || localStorage.getItem('openshorts_skip_landing') === '1') return 'app'; + return 'landing'; + }; + + const [view, setView] = useState(resolveView); useEffect(() => { - const handleHashChange = () => { - setShowApp(window.location.hash === '#app'); - }; + const handleHashChange = () => setView(resolveView()); window.addEventListener('hashchange', handleHashChange); return () => window.removeEventListener('hashchange', handleHashChange); }, []); @@ -20,13 +24,11 @@ function Root() { const handleLaunchApp = () => { localStorage.setItem('openshorts_skip_landing', '1'); window.location.hash = '#app'; - setShowApp(true); + setView('app'); }; - if (showApp) { - return ; - } - + if (view === 'legal') return ; + if (view === 'app') return ; return ; }