Example Apps
Create Shorts Web App
Dropbox → Mosaic → Short-form video downloader built with React, Vite & shadcn.
create-shorts-post-to-socials/
is a React + Vite playground that lets you pick a video from Dropbox, process it with Mosaic, then download the finished short – no backend required.
1 · What it does
- Lists Dropbox folders / files (filters video extensions)
- Uploads the selected file to Mosaic and runs an agent (Webinar, Talking-Head or free-form prompt)
- Polls run status every 5 s
- Shows
<video>
preview and download buttons for each output.
2 · Environment variables (.env.local
)
3 · Install & run
4 · User workflow
5 · Customising
• Add real “post to socials” by wiring an OAuth token exchange after processing completes.
• Extend agent list – fetch from your MCP server’s list_agents
tool or hard-code more IDs.
• All UI components are shadcn – run npx shadcn-ui@latest add button
to scaffold additional primitives.