{"id":17355005,"url":"https://github.com/cosmtrek/imgctl","last_synced_at":"2025-03-27T14:50:13.821Z","repository":{"id":79216759,"uuid":"604609754","full_name":"cosmtrek/imgctl","owner":"cosmtrek","description":"A command-line interface to control images with ease.","archived":false,"fork":false,"pushed_at":"2023-02-22T00:39:34.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T13:12:47.994Z","etag":null,"topics":["cli","image","ocr"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cosmtrek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-21T12:27:36.000Z","updated_at":"2024-09-06T18:12:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f154d84-acbc-44d8-8b1c-273709438fc1","html_url":"https://github.com/cosmtrek/imgctl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmtrek%2Fimgctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmtrek%2Fimgctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmtrek%2Fimgctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmtrek%2Fimgctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmtrek","download_url":"https://codeload.github.com/cosmtrek/imgctl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245866690,"owners_count":20685479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","image","ocr"],"created_at":"2024-10-15T17:41:58.521Z","updated_at":"2025-03-27T14:50:13.780Z","avatar_url":"https://github.com/cosmtrek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imgctl\n\nA command-line interface to control images with ease.\n\n## 🚀 Installation\n\nYou can install `imgctl` via go:\n\n```bash\ngo install github.com/cosmtrek/imgctl/cmd/imgctl@latest\n```\n\n## 🔧 Usage\n\nTo see the available commands, run `imgctl --help`.\n\n\n### 📜 Extracting text from an image\n\nTo extract text from an image using the default OCR service (Tencent), run:\n\n```bash\nexport TENCENT_OCR_SECRET_ID=your_secret_id\nexport TENCENT_OCR_SECRET_KEY=your_secret_key\n\nimgctl ocr\n```\n\nIf the image file path is not set, the program will read the image from the **clipboard**.\n\nTo use a specific image file, run:\n\n```bash\nimgctl ocr --image /path/to/image.jpg\n```\n\nFor a full list of available options for the ocr command, run `imgctl ocr --help`.\n\n## 📝 License\n\nThis project is licensed under the Apache License 2.0. See the [LICENSE](./LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmtrek%2Fimgctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmtrek%2Fimgctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmtrek%2Fimgctl/lists"}