cyanxxy/Open OCR CLI
Extract text or structured data from images and PDFs in GitHub Actions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| inputs | Newline-separated files, directories, or globs to extract. | yes | — |
| provider | gemini, kimi, muse, openrouter, or openai-compatible. | — | gemini |
| model | Optional provider model ID. | no | — |
| api-key-env | Optional environment-variable name containing the provider credential. | no | — |
| base-url | Optional base URL for preview or OpenAI-compatible providers. | no | — |
| gateway | direct or cloudflare. | — | direct |
| cloudflare-account-id | Optional Cloudflare account ID; defaults to CLOUDFLARE_ACCOUNT_ID. | no | — |
| cloudflare-gateway-id | Optional AI Gateway ID; defaults to CLOUDFLARE_AI_GATEWAY_ID. | no | — |
| cloudflare-provider | Optional Cloudflare custom-provider slug for Kimi, Muse, or compatible APIs. | no | — |
| cloudflare-token-env | Environment-variable name containing the token for an authenticated AI Gateway. | — | CLOUDFLARE_AI_GATEWAY_TOKEN |
| cloudflare-byok | Use a provider credential stored by Cloudflare AI Gateway. | — | false |
| cloudflare-byok-alias | Optional Cloudflare stored-key alias. | no | — |
| mode | simple, template, or agentic. | — | simple |
| preset | Optional structured extraction preset. | no | — |
| format | markdown, json, csv, or all. | — | markdown |
| output | Output file or directory. | — | gemini-ocr-output |
| version | open-ocr-cli npm version to execute. | — | latest |
| dry-run | Validate inputs and planned outputs without credentials, requests, or writes. | — | false |
Outputs
no outputs