Commit graph

35 commits

Author SHA1 Message Date
juancarlos.cavero
83ad817a31 feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel
claude.ai and ChatGPT connect to a remote MCP server by URL and expect the
server to run the login: RFC 9728/8414 discovery under /.well-known/,
dynamic client registration (public clients, PKCE S256 mandatory), an
authorization endpoint and a token endpoint. The consent screen is the
dashboard (#/oauth/authorize) because the session JWT lives in localStorage
on the frontend host; the API bounces there and mints the code on a
session-authenticated POST. Redeeming the code mints an ordinary osk_ API
key named after the client and returns it as the access token, so every
existing auth, quota and ownership rule applies unchanged and the user
disconnects an app by revoking that key. The /mcp 401 now carries
WWW-Authenticate: Bearer resource_metadata=... so clients find the flow.

Dashboard: a "Connect an agent" card (Account in cloud, Settings when
self-hosted) with copy-ready setup for claude.ai, ChatGPT, Claude Code,
Claude Desktop, Cursor, n8n and curl; the clip generator links to it. The
/mcp page, README and CLAUDE.md describe the URL-only connection.
2026-08-27 01:17:49 +02:00
juancarlos.cavero
006c9ad8b4 docs(readme): open with the stacked two-speaker layout, original beside the result 2026-08-26 22:31:05 +02:00
juancarlos.cavero
ed2aeb53c4 docs: name the real Gemini model and list all 7 MCP tools in README/CLAUDE.md 2026-08-26 00:27:06 +02:00
juancarlos.cavero
27b120093b docs(readme): add optional NVIDIA GPU setup section 2026-08-25 11:48:10 +02:00
psociety
fea6364ffb
docs(readme): fix placeholder clone URL
Squash-merge of #6 by @psociety
2026-08-20 17:48:37 +01:00
juancarlos.cavero
ab86e41846 feat(skills): cross-agent metadata for the Agent Skills ecosystems
The skill already follows the open standard; this adds the OpenClaw
block (emoji, primaryEnv) and the Hermes block (category, tags) plus
version and homepage, all ignored by agents that don't read them.
README gains the per-agent install commands: copy for Claude Code,
GitHub-direct for Hermes, ClawHub for OpenClaw.
2026-08-06 09:34:07 +02:00
juancarlos.cavero
78deea2b15 feat(agents): zero-dependency CLI and agent skill over the same API
pip install openshorts / uvx openshorts: process, status --watch, clips,
quota and publish, all against the REST surface the dashboard and MCP
already use, so nothing can drift. Auth and target via env vars; the
self-hosted case is the same binary pointed at localhost with no key.

skills/openshorts/SKILL.md teaches skill-capable agents the async loop
(quota, submit, signed webhook, publish) including the self-host 401/404
convention and the rights acknowledgement. The skills/ ignore narrows to
third-party installs so the published skill is versioned. README wires
up CLI, skill and the n8n example under the automation section.
2026-08-05 14:52:44 +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
f10655fd1c feat(agents): the pipeline as a platform — API keys, MCP server, webhooks
Agents don't forget to come back; humans do. Make the whole pipeline
drivable without the dashboard:

- API keys (osk_...): sha256-stored tokens minted from the account page.
  get_current_user_optional resolves them like a session, so metering,
  entitlement, priority and job ownership apply to agents with zero
  endpoint changes. Key management refuses API-key auth (a leaked key
  cannot mint replacements).
- MCP server at /mcp: stateless Streamable-HTTP JSON-RPC, no SDK
  dependency. Six tools (process_video, get_job_status, list_clips,
  get_quota, add_subtitles, publish_clip) that call back into this same
  app in-process via ASGITransport with the caller's auth headers, so
  MCP can never drift from REST behavior. Cloud requires a key;
  self-host stays BYOK-open.
- Completion webhooks: webhook_url (+ optional HMAC webhook_secret) on
  /api/process, SSRF-checked at submit AND delivery, fired once after
  the R2 archive so payloads carry durable links, survives redeploys
  via the resume manifest.
- Dashboard: API keys card in the account page (create once-shown key,
  list, revoke).
- Tests pin BILLING_ENABLED=0 in conftest so the suite no longer
  depends on the developer's personal .env.
2026-08-03 22:33:16 +02:00
juancarlos.cavero
ccaa06a862 docs(readme): stop advertising against our own pricing page
The README opened with "Free & open source... No watermarks, no limits" and
the comparison table listed Price: Free, Watermark: Never, Upload limits:
None. openshorts.app was mentioned only as a gallery link. Anyone arriving
at the site from here expected an unlimited free tool, which is exactly what
the paid plans charge to remove, and the numbers show it: 1.7% of users come
back, identically whether their clips succeeded or failed.

Self-hosting really is free with no watermark and no limits, so that claim
stays. What changes is that the hosted service now exists on this page, with
the two costs it actually covers named up front: the GPU (about 50s per
8-minute video against 5-8 min on CPU) and the managed API keys.

- Lead with a two-column table: self-hosted vs hosted, price, speed, keys,
  limits, setup, data.
- Qualify the three competitor-table rows that read as unconditional.
- Add the hosted option to "How Much Does It Cost?".
2026-07-27 10:39:40 +02:00
juancarlos.cavero
6ec6935532 fix(cloud): harden paid-mode surface + source-available license for cloud/
Security fixes on the hosted/paid surface (all no-op in self-host / BYOK):
- upload path traversal: basename() client filenames in /api/process,
  /api/thumbnail/upload, /api/thumbnail/analyze fallback, /api/thumbnail/generate
  (face/bg + session_id) so "../" can't escape UPLOAD_DIR
- SSRF: saasshorts subpage scraper now follow_redirects=False + assert_public_url
  per hop (was open to 302 -> 169.254.169.254 metadata)
- metering: reserve+commit/release on /api/render, /api/subtitle, /api/hook and a
  fixed guard cost on /api/thumbnail/upload transcription (were entitlement-gated
  but unmetered -> unlimited off-quota compute)
- entitlement: SaaSShorts generate/actor-options/actor-upload now require a plan
  in cloud; /api/edit ignores body api_key in cloud (no gate/meter bypass)
- multi-tenant IDOR: stamp user_id on thumbnail_sessions/saas_jobs and reject
  non-owners (404) across status/mutation/publish/post endpoints
- DoS: bounded/streamed reads on actor-upload and thumbnail uploads
- retry_job_id routed through _safe_under

Frontend: raw fetch -> apiFetch on the now-gated/owner-checked endpoints so the
bearer token attaches.

License: cloud/ is now source-available under the OpenShorts Commercial License
(self-host/personal use allowed; no competing hosted service). Core stays MIT.
2026-07-16 17:30:12 +02:00
juancarlos.cavero
fe87af6dd5 docs: Remove clip-generator screenshot from README and repo
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 14:57:22 +02:00
juancarlos.cavero
ef1c3eaa68 docs: Drop "long YouTube videos" framing from README
Mirror the Landing/index.html cleanup so the public README stops
marketing the tool as a YouTube downloader. Mentions of YouTube as
a publishing destination, YouTube Studio feature, and the embedded
tutorial link remain — those aren't inducement.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 12:16:52 +02:00
juancarlos.cavero
c6d5d51094 docs: Mark Upload-Post API key as required in README
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 16:00:03 +02:00
juancarlos.cavero
dc93df40b0 docs: Add Star History chart to README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 14:01:12 +02:00
juancarlos.cavero
d82baac2cd fix: Update stars and last commit badges to correct repo
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:26:50 +01:00
mutonby
d77d8dca84
added video to readme 2026-03-24 17:25:39 +01:00
juancarlos.cavero
fc4f45da5a fix: Use raw URL for video embed in README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:23:47 +01:00
juancarlos.cavero
854ca468d7 docs: Replace demo GIF with MP4 video in README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:21:16 +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
b085eca299 docs: Add screenshots for all features
- Clip Generator (dashboard + clip results)
- AI Shorts (setup with Low Cost/Premium)
- YouTube Studio (title + thumbnail workflow)
- UGC Gallery (videos tab with badges)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 21:31:26 +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
8d9d791117 new readme, fix youtube studio errors 2026-02-28 02:55:34 +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
20466a3e9f added save videos in s3 2025-12-24 01:16:30 +01:00
juancarlos.cavero
f9b43b3648 improve video preview and added new recognition system MediaPipe lib 2025-12-21 03:09:34 +01:00
juancarlos.cavero
35f213ced9 added video to readme 2025-12-20 20:43:24 +01:00
juancarlos.cavero
5fffea7943 added video to readme 2025-12-20 20:41:04 +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
57eafe6a36 updated readme 2025-12-19 16:16:19 +01:00
juancarlos.cavero
a5649a3987 added docker compose, and youtube url process 2025-12-19 13:47:23 +01:00
kamilstanuch
25b49e0407 Update README.md 2025-08-19 13:36:42 +02:00
kamil
1672bcce52 chore: Update README to reflect project name change to AutoCrop-Vertical and add demo GIF 2025-08-19 13:32:46 +02:00
kamil
b485854920 feat: Add error handling and logging to video processing script for improved robustness 2025-08-19 12:58:39 +02:00