Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chedrik-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
chedrik-cli
Command-line client for Chedrik — the cheapest subtitles API for AI agents and content factories.
Status
v0.1.0 — early preview. chedrik login and chedrik logs are functional.
chedrik render prints a placeholder + a ready-to-run curl snippet while we
ship the long-running render endpoint.
Install
Once published to npm:
npm install -g chedrik-cli # or
pnpm add -g chedrik-cli # or
bun add -g chedrik-cliUntil then, grab the latest tarball from your dashboard at https://app.chedrik.com/dashboard/cli and install it locally:
npm install -g ./chedrik-cli-0.1.0.tgz
chedrik --version # → 0.1.0Or run directly from source (Node 18+):
git clone https://github.com/chedrik/cli && cd cli
pnpm install && pnpm build
node ./dist/index.js loginAuthenticate
chedrik login
# Paste your sk_live_… key from /dashboard/api-keys
# or, non-interactively:
chedrik login --key sk_live_xxxxxxxxxxxxThe key is written to ~/.chedrik/config.json with file mode 600. Override
the API base for staging with --api-base or the CHEDRIK_API_BASE env var.
Commands
| Command | Description |
|---|---|
chedrik login |
Validate and store an API key locally |
chedrik logs --limit 50 --status 200 |
Show recent API requests; --status accepts an HTTP status code |
chedrik render |
Placeholder — prints a curl snippet for the HTTP /v1/render endpoint |
chedrik --version |
Print CLI version |
chedrik --help |
Show help |
Environment variables
CHEDRIK_API_KEY— overrides the stored API key, useful in CICHEDRIK_API_BASE— overrides the stored API base URL
License
MIT.