Commit graph

147 commits

Author SHA1 Message Date
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
d19739925a fix: Remove "Made with by Upload-Post" credit from app footer
A second instance of the footer credit was still rendering inside the
authed app view (App.jsx). Drop it together with the now-empty footer
strip so the credit is gone from both Landing and App.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 12:33:46 +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
521ba638b9 fix: Drop "URL or file" mention from clip generator subtitle
The clip generator subtitle leaked "URL" into the copy even when YouTube
URL ingest is disabled by DISABLE_YOUTUBE_URL. Make the line neutral so
it reads correctly in both modes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 12:10:53 +02:00
juancarlos.cavero
12c1b8e1d5 feat: Require ownership attestation before processing a video
- MediaInput shows a checkbox the user must tick before Generate enables
- Frontend sends acknowledged=true alongside URL/file payload
- /api/process rejects with 400 if attestation is missing, and records
  IP/UA/timestamp/source on the job for legal record-keeping

Defensive posture for the public deployment: shifts responsibility to
the user via an explicit affirmative act, even without login.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 11:55:12 +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
a7d54f2158 feat: Add AI Agent sidebar tab linking to skill-autoshorts repo
Introduces a new sidebar entry that explains the autonomous clipping
workflow (drop videos → AI clippers cut → user validates → auto-publish)
and warns that source footage must already be in vertical 9:16 format.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 16:52:05 +02:00
juancarlos.cavero
9575b774d0 fix: Auto Edit no longer throws "setCompositionParams is not defined"
handleAutoEdit referenced setCompositionParams and setShowPreviewModal — neither exists in ResultCard, leftovers from a prior refactor. Align it with handleSubtitle/handleHook: accumulate the generated effects into activeLayers and re-render the clip via renderInBrowser.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 07:09:49 +02:00
juancarlos.cavero
42ca76c48b feat: Make Upload-Post API key required and warn on every screen
Treat the Upload-Post key as mandatory like the Gemini key: block /api/process when either is missing, mark the Settings section as Required, and show a persistent banner plus a header pill on every screen until both keys are configured. The missing-key modal now lets the user paste each key inline.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 07:05:41 +02:00
juancarlos.cavero
9c9342c499 feat: Add Remotion integration for animated subtitles, hooks and effects
Replace static FFmpeg post-processing with Remotion-powered browser rendering:
- Animated word-by-word subtitles (pop, karaoke, glow styles) with real-time preview
- Hook overlays with entrance animations (spring, fade, slide-up)
- Video effects layer (zoom, brightness, contrast, saturate)
- Browser-side rendering via @remotion/web-renderer (WebCodecs)
- Editable transcript text in subtitle modal
- Layers accumulate across operations (subtitles + hook rendered together)
- Gemini EffectsConfig endpoint for structured JSON instead of fragile FFmpeg strings
- Render service (Node.js) as alternative server-side renderer
- New API endpoints: /api/clip/transcript, /api/effects/generate, /api/render

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 14:00:11 +02:00
juancarlos.cavero
ccf86d61a9 feat: Add weekly content scheduler with timezone support
Schedule all generated clips across consecutive days with a single click.
Includes IANA timezone selector, platform picker, progress tracking,
and redirects to Upload-Post calendar after scheduling.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 22:53:31 +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
d128fcab95 feat: Add competitor comparison, cost breakdown, showcase, and fix gender voice selection
- README: Add comparison table vs Opus Clip, CapCut, Vizard, Klap, Descript
- README: Add cost breakdown section highlighting free tiers (Gemini, Upload-Post)
- README: Add AI Shorts showcase with gallery examples
- 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 selected voice when actor gender changes (male now defaults to male voices)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:30:10 +01:00
juancarlos.cavero
8f4bc542ce feat: Add OG image and update meta tags for AI UGC features
- Add 1200x630 OG image for social sharing previews
- Update title, description, OG and Twitter meta tags to include AI Shorts
- Add AI UGC features to JSON-LD structured data

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 10:13:23 +01:00
juancarlos.cavero
37bd3b0352 feat: Add API key modal when Gemini key is missing
Shows a popup with setup instructions for Gemini (required) and
Upload-Post (optional) when user tries to generate clips without
an API key configured.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 09:20:24 +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
29681bab82 added video ugc generator 2026-03-15 20:41:35 +01:00
juancarlos.cavero
e87fb7e556 feat(seo): Implement GEO and SEO optimizations for clip generator keywords
- Added targeted keywords (free clip generator, AI clip generator)
- Created robots.txt to explicitly allow AI bots
- Created sitemap.xml for better indexing
- Applied Princeton GEO methods to landing page content
- Ignored multi-agent skills directories
2026-03-11 12:50:17 +01:00
juancarlos.cavero
249936d3c7 Fix silent thumbnail generation failure and switch to gemini-3.1-flash
Thumbnail generation errors were silently swallowed, returning an empty
200 response and leaving the UI stuck on "Your thumbnails will appear here".
Now surfaces actual error messages to the user. Switched model from
gemini-3-pro-image-preview to gemini-3.1-flash-image-preview.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:13:17 +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
a901bd6933 Add session recovery and subtitle customization UI
- Session recovery: persist job state to localStorage, auto-restore on
  page refresh with recovery banner (1h TTL matching server retention)
- Subtitle customization: font selection, text color presets + custom
  picker, border color/width slider, background box toggle with
  color/opacity controls, live preview in modal
- Backend: new SubtitleRequest fields (font_name, font_color,
  border_color, border_width, bg_color, bg_opacity), hex-to-ASS color
  conversion, outline vs box rendering modes
- Fix font size scaling from 0.5x to 0.85x for readable vertical video

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 19:49:27 +01:00
juancarlos.cavero
7fe2b6fe1f fix landing 2026-03-07 14:41:54 +01:00
juancarlos.cavero
8d9d791117 new readme, fix youtube studio errors 2026-02-28 02:55:34 +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
juancarlos.cavero
3946c49ad1 added youtube studio 2026-02-20 01:11:27 +01:00
juancarlos.cavero
03477d4353 Add ElevenLabs voice dubbing and improve project setup
- Add AI voice dubbing with ElevenLabs (30+ languages)
- Add TranslateModal component for language selection
- Auto-transcribe dubbed videos for subtitles in new language
- Add ElevenLabs API key settings in frontend
- Add async_upload parameter to Upload-Post integration
- Add MIT LICENSE file
- Add CLAUDE.md for AI-assisted development
- Update README with dubbing feature and badges

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:24:15 +01:00
juancarlos.cavero
d44dc3ed00 fix things 2026-01-23 18:15:55 +01:00
juancarlos.cavero
bf577494b7 Update hooks, fix captions, and ignore uploads 2026-01-23 14:53:57 +01:00
juancarlos.cavero
f13794f161 try fix youtube download 2025-12-22 23:57:03 +01:00
juancarlos.cavero
eb19101102 added auto schedule posts 2025-12-22 19:33:56 +01:00
juancarlos.cavero
d7b1d8b55c fix subtitles 2025-12-22 18:48:52 +01:00
juancarlos.cavero
c381c624be added subtitles 2025-12-22 18:21:17 +01:00
juancarlos.cavero
820239425c added auto editor with AI 2025-12-22 13:06:33 +01:00
juancarlos.cavero
6913e74f84 fix downloads 2025-12-21 23:38:50 +01:00
juancarlos.cavero
3c92d6ce67 improve video preview 2025-12-21 01:59:15 +01:00
juancarlos.cavero
5be810d606 added video cost to executions 2025-12-21 00:06:59 +01:00
juancarlos.cavero
f21edb6b44 add tracking 2025-12-20 14:13:56 +01:00
juancarlos.cavero
1121b7940f reafactor readme added instructions and texts 2025-12-20 13:48:22 +01:00
juancarlos.cavero
d60c376013 reafactor readme added instructions and texts 2025-12-20 04:59:38 +01:00
juancarlos.cavero
c40e5aaa1d addded encryption 2025-12-20 04:27:40 +01:00
juancarlos.cavero
4fce681840 addded encryption 2025-12-20 03:20:52 +01:00
juancarlos.cavero
1eec87f061 changed UI 2025-12-20 00:59:27 +01:00
juancarlos.cavero
6e005d7398 fix yt-dlp error in prod 2025-12-19 22:37:51 +01:00
juancarlos.cavero
a7ba51a2f1 fix some things for deploy to pro 2025-12-19 21:20:10 +01:00
juancarlos.cavero
d9c85f6aed added animation and fix some vite config 2025-12-19 21:00:19 +01:00
juancarlos.cavero
e5dd902e8a added upload to social networks and change to fast-whisper 2025-12-19 20:30:13 +01:00
juancarlos.cavero
d5121ed9dd added front-end and backend 2025-12-19 17:59:03 +01:00