yourclip
v0.1.2
Published
CLI for querying YourClip video answers from your terminal or agent workflows.
Maintainers
Readme
YourClip CLI
Query YourClip from the terminal and get exact YouTube clips back as JSON.
Usage
npx yourclip "best travel headphones for long flights"
npx yourclip --pretty "how to fix joy-con drift"
npx yourclip --open "best camera for youtube beginners"The published bin works via:
npx yourclip ...- global installs like
npm install -g yourclip - symlinked entrypoints used by
node_modules/.bin/yourclipand agent launchers
Options
--prettyformats JSON output.--openopens the returned share URL in your default browser.--api-base-url <url>overrides the default API base URL (https://yourclip.ai).
--open resolves URLs in this order:
- top-level
share_url featured_stream.share_urlfeatured_stream.watch_full_urlprimary_result.playback.share_urlprimary_result.playback.watch_url
API base URL
You can point the CLI at any of these equivalent forms:
YOURCLIP_API_BASE_URL=https://yourclip.ai
YOURCLIP_API_BASE_URL=https://yourclip.ai/v1
YOURCLIP_API_BASE_URL=https://agentcdn-api-yourclip-weykrwoh5a-uc.a.run.app/yourclipThe CLI normalizes them to the correct answers endpoint automatically.
Output
The CLI prints the full YourClip answer object to stdout so it can be piped into scripts, agents, or other tooling.
