{"id":24129497,"url":"https://github.com/luandro/llama-ocr-cli","last_synced_at":"2026-06-14T07:34:37.157Z","repository":{"id":263293892,"uuid":"889922787","full_name":"luandro/llama-ocr-cli","owner":"luandro","description":"CLI for llama-ocr","archived":false,"fork":false,"pushed_at":"2024-11-17T15:38:21.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T05:18:20.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luandro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-17T15:31:06.000Z","updated_at":"2024-11-17T15:38:23.000Z","dependencies_parsed_at":"2024-11-17T16:39:08.702Z","dependency_job_id":"ddbd34cf-8e49-4f7f-ae90-1ffff02e44c0","html_url":"https://github.com/luandro/llama-ocr-cli","commit_stats":null,"previous_names":["luandro/llama-ocr-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luandro/llama-ocr-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luandro%2Fllama-ocr-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luandro%2Fllama-ocr-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luandro%2Fllama-ocr-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luandro%2Fllama-ocr-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luandro","download_url":"https://codeload.github.com/luandro/llama-ocr-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luandro%2Fllama-ocr-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34313515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-11T19:33:05.442Z","updated_at":"2026-06-14T07:34:37.137Z","avatar_url":"https://github.com/luandro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# llama-ocr-cli\n\nA command-line interface for performing OCR on images using llama-ocr.\n\n## Installation\n\n```bash\nnpm install -g llama-ocr-cli\n```\n\n## Prerequisites\n\nYou need a Together AI API key to use this tool. You can either:\n- Set it as an environment variable: `TOGETHER_API_KEY=your-key-here`\n- Pass it as a command line argument: `--api-key your-key-here`\n\n## Usage\n\nBasic usage:\n```bash\nllama-ocr image.jpg\n```\n\nWith explicit API key:\n```bash\nllama-ocr image.jpg --api-key your-key-here\n```\n\nSave output to file:\n```bash\nllama-ocr image.jpg -o output.md\n```\n\n### Options\n\n- `-k, --api-key \u003ckey\u003e`: Together AI API key (overrides environment variable)\n- `-o, --output \u003cfile\u003e`: Output file for the extracted text (defaults to stdout)\n- `-V, --version`: Output the version number\n- `-h, --help`: Display help information\n\n## Development\n\n1. Clone the repository\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Build the project:\n```bash\nnpm run build\n```\n\n4. Run in development mode:\n```bash\nnpm run dev\n```\n\n## Publishing\n\nThis package is automatically published to npm when a new GitHub release is created. The GitHub Action workflow will:\n1. Build the package\n2. Publish to npm registry\n\nTo publish a new version:\n1. Update version in package.json\n2. Create a new release on GitHub\n3. The GitHub Action will automatically publish to npm\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluandro%2Fllama-ocr-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluandro%2Fllama-ocr-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluandro%2Fllama-ocr-cli/lists"}