{"id":16801283,"url":"https://github.com/ixrock/xtranslate","last_synced_at":"2025-04-10T05:41:30.691Z","repository":{"id":37073731,"uuid":"75981808","full_name":"ixrock/XTranslate","owner":"ixrock","description":"Easy translate text on web pages (chrome extension)","archived":false,"fork":false,"pushed_at":"2024-05-28T12:14:08.000Z","size":5101,"stargazers_count":107,"open_issues_count":1,"forks_count":27,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-05-29T03:43:35.630Z","etag":null,"topics":["browser-extension","chrome-extension","languages","productivity","translation"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/xtranslate/gfgpkepllngchpmcippidfhmbhlljhoo","language":"TypeScript","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/ixrock.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":"2016-12-08T22:51:42.000Z","updated_at":"2024-06-05T09:44:42.221Z","dependencies_parsed_at":"2024-05-28T14:56:15.609Z","dependency_job_id":null,"html_url":"https://github.com/ixrock/XTranslate","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/ixrock%2FXTranslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2FXTranslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2FXTranslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2FXTranslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ixrock","download_url":"https://codeload.github.com/ixrock/XTranslate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166242,"owners_count":21058475,"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":["browser-extension","chrome-extension","languages","productivity","translation"],"created_at":"2024-10-13T09:36:22.735Z","updated_at":"2025-04-10T05:41:30.680Z","avatar_url":"https://github.com/ixrock.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"XTranslate\n==========\nChrome-extension for translating foreign languages at the viewing web page context.\nTranslate from 100+ foreign languages to your native directly on web-site you're reading or\ninsert text in the action window (via extension's icon on chrome's toolbar).\n\n![Screenshot](https://github.com/ixrock/XTranslate/blob/master/screenshots/Untitled-1.jpg?raw=true)\n\nFeatures:\n-----------\n1) Many ways to get translation from texts within web page:\n- double-click on the word\n\nSelect text and get translation right after one of the following actions:\n- press hotkey defined in extension settings (`Alt + Shift + X` by default)\n- click on the XTranslate icon appeared near selected text\n- release mouse button after selecting a text (this option is turned off by default)\n- write text in the input fields, mouse-over it and press hotkey\n- open extension's window while text selected to get translation\n\nYou can get even some translation from images by mouse overing the image element and\npress hotkey (title or alt attributes will be used when applicable).\nWith this feature it is possible to get auto-translation by block of text at the page\njust by pressing the hotkey when mouse over it!\n\n1) Translate texts in **PDF** files _(disabled by default)_.\\\nThis option will replace default chrome-based PDF-viewer and might not work correctly due [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS) sometimes.\n\nIn order to work with local files (e.g. `file://path/to/file.pdf`) you must allow access for the extension:\n- open extensions page `chrome://extensions/`, find **XTranslate** and click **(Details)** button\n- enable checkbox **\"Allow access to file URLs\"** \n\n2) Listen text-to-speech (TTS) for all supported translation vendors\n\n3) Create your unique design (theme) for the popup with translation results\n\n4) Customize ways of getting translation and other options in app's settings\n\n5) Type any text in the app's action window and get translation with dictionary support for single words\n\n6) Save your favorite language pairs (from -\u003e to) as bookmarks for quick access\n   (`Cmd/Alt + Shift + click` at the language list item to save and keep on top)\n\n7) History of translations (turned off by default)\n\nInstall extension:\n-----------\n* [Chrome's Web Store](https://chrome.google.com/webstore/detail/xtranslate/gfgpkepllngchpmcippidfhmbhlljhoo)\n* [Microsoft Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/cinfaflgbaachkaamaeglolofeahelkd)\n* [Firefox addons](https://addons.mozilla.org/en-GB/firefox/addon/xtranslate-chrome/) _(might be not fully supported)_\n\nAvailable translation vendors:\n-----------\n* [Google](http://translate.google.com/)\n* [Yandex](http://translate.yandex.com/)\n* [Bing](http://bing.com/translator/)\n* [DeepL](https://www.deepl.com/) _(requires own user key, register at https://www.deepl.com/en/signup/)_\n* [DeepSeek](https://platform.deepseek.com) _(register, top-up balance and create api-key)_\n* [OpenAI (ChatGPT)](https://platform.openai.com) _(see registration steps below)_\n* [Grok](https://grok.com) _(create account at https://console.x.ai, top-up balance and provide api-key)_\n\nSteps for access OpenAI translations:\n------\n1) [Sign up](https://platform.openai.com/signup) if not yet registered or go to [OpenAI platform settings](https://platform.openai.com/settings) \n2) Create api access key to get access for OpenAI translation service results \n3) Top-up your balance (5$+) and disable credit card's auto-top-up balance at [billing page](https://platform.openai.com/settings/organization/billing/overview) _(recommended)_\n4) Don't forget to adjust [limits settings](https://platform.openai.com/settings/organization/limits) _(recommended)_\n\nSecurity considerations:\n------\n- OpenAI api key handled via extension-scoped [chrome.storage.local](https://developer.chrome.com/docs/extensions/reference/api/storage) apis\nand used only within `Authorization` header to sign OpenAI API requests (which is not exposed or tracked, even if `webRequest` API enabled in some other malicious extension, [see excluded list of headers](https://developer.chrome.com/docs/extensions/reference/api/webRequest#concepts_and_usage))\n- OpenAI requests goes through official [openai](https://www.npmjs.com/package/openai) NPM-package and running only within background service-worker (`{dangerouslyAllowBrowser: false}`)\n- Don't enter or share your OpenAI key anywhere else except extension's settings page (options page)\n\nFor developers and contributors:\n-----------\n\nInstall globals _(prerequisites)_:\n1) node.js _(v.20+)_\n2) npm install _(from project root folder)_\n\nSteps to **build** (compile) extension:\n\n1) `npm run build`\n2) use `/dist` folder as extension's build source with own `manifest.json`\n\nOther commands to **dev** and **test**:\n\n1) `npm run dev` - runs project in dev/watch mode\n2) `npm run test` - runs available jest tests\n\nPowered by typescript, react, mobx, webpack, sass, lodash and some others. Made with ♥\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixrock%2Fxtranslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fixrock%2Fxtranslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixrock%2Fxtranslate/lists"}