{"id":23442138,"url":"https://github.com/glaumar/poptranslate","last_synced_at":"2026-05-05T23:32:09.201Z","repository":{"id":181569953,"uuid":"666761047","full_name":"glaumar/PopTranslate","owner":"glaumar","description":"Translate the text selected by the mouse in wayland","archived":false,"fork":false,"pushed_at":"2023-12-13T14:09:50.000Z","size":1268,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T21:48:31.267Z","etag":null,"topics":["cpp","kde","linux","qt","translator","wayland"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/glaumar.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-07-15T13:42:48.000Z","updated_at":"2025-03-29T22:33:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"d405c0a5-50e7-42c2-9a4a-f1a7c569f39c","html_url":"https://github.com/glaumar/PopTranslate","commit_stats":null,"previous_names":["glaumar/poptranslate"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/glaumar/PopTranslate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaumar%2FPopTranslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaumar%2FPopTranslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaumar%2FPopTranslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaumar%2FPopTranslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glaumar","download_url":"https://codeload.github.com/glaumar/PopTranslate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaumar%2FPopTranslate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cpp","kde","linux","qt","translator","wayland"],"created_at":"2024-12-23T17:28:49.105Z","updated_at":"2026-05-05T23:32:09.187Z","avatar_url":"https://github.com/glaumar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[简体中文](./README.zh-CN.md)\n\n# ![](./data/io.github.glaumar.PopTranslate.png) PopTranslate\nPopTranslate is a translator running under wayland, which can translate the text selected by the mouse and display the result in a pop-up window (only Plasma Wayland is currently supported)\n\n# Why write yet another translator?\nGoldenDict, Crow Translate and other translation software are very useful, but due to the wayland protocol restrictions, they cannot register global shortcut keys, and cannot read the clipboard and mouse position in the background (resulting in the inability to pop up a window near the mouse and translate)\n# Screenshots\n\n![](./screenshots/Screenshot1.png)\n\n![](./screenshots/Screenshot2.png)\n\n![](./screenshots/Screenshot3.png)\n\n# Global Shortcuts\n\n`Meta + G` to translate the text selected by the mouse\n\n`Meta + Ctrl + G` recognizes and translates the text in the screenshot\n\n# Installation\n## Arch Linux (AUR)\n```bash\nparu -S poptranslate\n```\n\n## Other (Flatpak)\nGet flatpak package from [release page](https://github.com/glaumar/PopTranslate/releases)\n\n# Dependencies\n- [CMake](https://cmake.org/) \u003e= 3.26\n- [Qt](https://www.qt.io/) \u003e= 5.15\n- [Extra CMake Modules](https://github.com/KDE/extra-cmake-modules)\n- [KDE Frameworks](https://api.kde.org/frameworks/index.html) \u003e= 5.108 with at least the following modules:\n    - KGlobalAccel\n    - KGuiAddons\n    - KWayland\n    - KWindowSystem\n    - KWidgetsAddons\n    - KXmlGui\n- [QOnlineTranslator](https://github.com/crow-translate/QOnlineTranslator) - provides free usage of Google, Yandex and Bing translate API\n- [QCoro](https://qcoro.dvratil.cz/)\n- [Tesseract OCR](https://github.com/tesseract-ocr/tesseract) \u003e= 5.0.0\n- [tessdata](https://github.com/tesseract-ocr/tessdata) \n\n\n## Flatpak Runtime and SDK\n- org.kde.Platform = \"5.15-22.08\"\n- org.kde.Sdk = \"5.15-22.08\"\n\n# Build\n\n## CMake\n### Build\n```bash\ncmake -B build -DCMAKE_INSTALL_PREFIX=/usr\ncmake --build build --target poptranslate\n```\n\n### Generate deb package\n```bash\ncd build \u0026\u0026 cpack -C CPackConfig.cmake\n```\n\n## Flatpak\n\n### Install runtime and sdk\n```bash\nflatpak install org.kde.Platform/x86_64/5.15-22.08\nflatpak install org.kde.Sdk/x86_64/5.15-22.08\n```\n\n### Build \n```bash\nflatpak-builder build_flatpak  io.github.glaumar.PopTranslate.yml --force-clean\n```\n\n### Generate flatpak package\n```bash\nflatpak build-export export build_flatpak\n\nflatpak build-bundle export PopTranslate.flatpak io.github.glaumar.PopTranslate --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo\n```\n\n## Generate pacman package\n```bash\ngit clone https://aur@aur.archlinux.org/poptranslate.git \ncd poptranslate \u0026\u0026 makepkg -s\n```\n\n---\n![](https://badges.pufler.dev/visits/glaumar/PopTranslate)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglaumar%2Fpoptranslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglaumar%2Fpoptranslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglaumar%2Fpoptranslate/lists"}