{"id":51002855,"url":"https://github.com/dmzlingyin/LOCR","last_synced_at":"2026-07-08T16:00:35.749Z","repository":{"id":62393903,"uuid":"487454954","full_name":"dmzlingyin/LOCR","owner":"dmzlingyin","description":"A lightweight but powerful OCR tool.","archived":false,"fork":false,"pushed_at":"2022-11-01T03:36:39.000Z","size":53549,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-19T15:35:03.941Z","etag":null,"topics":["cli","command-line","go","golang-tools","ocr"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmzlingyin.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}},"created_at":"2022-05-01T05:37:32.000Z","updated_at":"2025-07-21T23:47:26.000Z","dependencies_parsed_at":"2022-11-01T05:16:18.680Z","dependency_job_id":null,"html_url":"https://github.com/dmzlingyin/LOCR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmzlingyin/LOCR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmzlingyin%2FLOCR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmzlingyin%2FLOCR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmzlingyin%2FLOCR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmzlingyin%2FLOCR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmzlingyin","download_url":"https://codeload.github.com/dmzlingyin/LOCR/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmzlingyin%2FLOCR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35270196,"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-07-08T02:00:06.796Z","response_time":61,"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":["cli","command-line","go","golang-tools","ocr"],"created_at":"2026-06-20T17:00:21.336Z","updated_at":"2026-07-08T16:00:35.743Z","avatar_url":"https://github.com/dmzlingyin.png","language":"Go","funding_links":[],"categories":["OCR and Screen Reading"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n     \u003cimg src=\"https://github.com/dmzlingyin/LOCR/blob/main/docs/demo.gif\" width=\"506\" alt=\"fx preview\"\u003e\n\u003c/p\u003e\n\n# Introduction\n\nEnglish | [简体中文](README_zh-CN.md)\n\nLOCR(Lightweight OCR) is a tool that can detect the image and extract the text automatically when the clipboard changed.\n\n# Features\n\n* Cross platform supports: macOS, Linux (X11), and Windows.\n* Chinese and English support(feel free to add your language).\n\n# Dependency\n\n* go 1.16+\n* OCR server(not nesessary for offline version):\n    - [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)(Recommend)\n    - [tesseract](https://github.com/tesseract-ocr/tesseract)\n    - [EasyOCR](https://github.com/JaidedAI/EasyOCR)\n    - [ocrserver](https://github.com/otiai10/ocrserver)\n\n# Installation\n\n```go\ngit clone https://github.com/dmzlingyin/LOCR.git\ncd LOCR\ngo build\n./install.sh\n```\nthen you can type locr on you terminal to use it.\n\n# Examples\nIf you use locr normaly, just run it. If you just want to extract text from an image, see follow:\n```shell\ncat xxx.jpg | locr -f\n\n# save to file\ncat xxx.jpg | locr -f \u003e text.txt\n```\n\n# TODO\n\n- [x] hotkey\n- [ ] offline version","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmzlingyin%2FLOCR","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmzlingyin%2FLOCR","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmzlingyin%2FLOCR/lists"}