From 40f530f9aa74b3ad00b961e9b8e45eec04d9d61b Mon Sep 17 00:00:00 2001
From: "juancarlos.cavero"
Because the API is one POST, scheduling is whatever scheduler you already have. A cron job that submits the latest episode URL every Monday, a GitHub Action on your podcast repo, or an agent that watches a feed. The webhook does -the second half, so nothing stays running in between.
+the second half, so nothing stays running in between. If you would rather not +write the curl, the CLI wraps it: +uvx openshorts process "$EPISODE_URL" \\
+ --webhook https://your-server.com/hooks/openshorts \\
+ --webhook-secret "$SECRET"
API and MCP calls draw from the same minute balance as the dashboard. There @@ -960,6 +964,19 @@ request:
-d '{"url": "https://youtube.com/watch?v=...", "acknowledged": true, "webhook_url": "https://your-server.com/hooks/openshorts"}' +Yes, a zero-dependency one on PyPI. It talks to the same REST surface as +everything else, so the terminal, the dashboard and the agents can never +disagree about what a job did:
+pip install openshorts # or: uvx openshorts
+
+export OPENSHORTS_API_KEY=osk_...
+openshorts process "https://youtube.com/watch?v=..." --wait
+openshorts clips <job_id>
+openshorts publish <job_id> 0 --platforms tiktok,youtube
+Point OPENSHORTS_API_URL at http://localhost:8000
+and the same binary drives a self-hosted instance with no key.
Pass webhook_url when starting a job and OpenShorts sends
exactly one POST when the job finishes or fails, with clip titles and download
diff --git a/dashboard/src/Landing.jsx b/dashboard/src/Landing.jsx
index 231a612..9e3265e 100644
--- a/dashboard/src/Landing.jsx
+++ b/dashboard/src/Landing.jsx
@@ -142,8 +142,8 @@ export default function Landing({ onLaunchApp }) {
},
{
icon: Bot,
- title: "MCP Server & API for AI Agents",
- description: "Connect Claude, ChatGPT or n8n to an always-on endpoint and automate clipping end to end: no dashboard, no machine of yours running."
+ title: "MCP Server, API & CLI for AI Agents",
+ description: "Connect Claude, ChatGPT or n8n to an always-on endpoint, or run pip install openshorts and clip from the terminal. Same pipeline, no dashboard needed."
},
{
icon: Sparkles,
@@ -216,7 +216,7 @@ export default function Landing({ onLaunchApp }) {
},
{
question: "Can I automate OpenShorts from Claude, ChatGPT or n8n?",
- answer: "Yes. OpenShorts has a native MCP server at mcp.openshorts.app/mcp plus a REST API with per-user keys and completion webhooks, so an AI agent can run the whole flow: submit a video URL, wait for processing, list the clips and publish them to TikTok, Instagram or YouTube. This is where the hosted service shines: an agent needs an endpoint that is always on, and the hosted one is, with the API key created in your account page in one click. The self-hosted edition serves the same /mcp endpoint, but only while your own machine is running. Full guide at openshorts.app/mcp."
+ answer: "Yes. OpenShorts has a native MCP server at mcp.openshorts.app/mcp plus a REST API with per-user keys and completion webhooks, so an AI agent can run the whole flow: submit a video URL, wait for processing, list the clips and publish them to TikTok, Instagram or YouTube. This is where the hosted service shines: an agent needs an endpoint that is always on, and the hosted one is, with the API key created in your account page in one click. The self-hosted edition serves the same /mcp endpoint, but only while your own machine is running. There is also a zero-dependency CLI (pip install openshorts) and an importable n8n workflow. Full guide at openshorts.app/mcp."
},
{
question: "What are the system requirements to run OpenShorts?",