{"id":47116755,"url":"https://github.com/tnychn/opencc-extension","last_synced_at":"2026-03-12T19:03:30.616Z","repository":{"id":42236171,"uuid":"382126768","full_name":"tnychn/opencc-extension","owner":"tnychn","description":"🀄️ A browser extension to convert webpages between different Chinese variants. Powered by OpenCC.","archived":false,"fork":false,"pushed_at":"2024-12-04T07:11:22.000Z","size":13081,"stargazers_count":32,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-04T08:20:56.244Z","etag":null,"topics":["browser","chinese","chrome","extension","firefox","javascript","opencc","simplified-chinese","traditional-chinese"],"latest_commit_sha":null,"homepage":"https://addons.mozilla.org/firefox/addon/opencc","language":"JavaScript","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/tnychn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-07-01T18:46:02.000Z","updated_at":"2024-12-04T07:11:26.000Z","dependencies_parsed_at":"2024-02-04T01:25:31.473Z","dependency_job_id":"6495a859-38d7-403f-b49a-2ff4701ef50c","html_url":"https://github.com/tnychn/opencc-extension","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/tnychn/opencc-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Fopencc-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Fopencc-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Fopencc-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Fopencc-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tnychn","download_url":"https://codeload.github.com/tnychn/opencc-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Fopencc-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30439343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: 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":["browser","chinese","chrome","extension","firefox","javascript","opencc","simplified-chinese","traditional-chinese"],"created_at":"2026-03-12T19:03:25.694Z","updated_at":"2026-03-12T19:03:30.611Z","avatar_url":"https://github.com/tnychn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./icon.png\" width=\"64px\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eopencc-extension\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./demo.gif\" width=\"50%\" /\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://chromewebstore.google.com/detail/opencc/jmlbcbhpnfpffhniogblmmiklgbopoif\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/585534/107280622-91a8ea80-6a26-11eb-8d07-77c548b28665.png\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://addons.mozilla.org/firefox/addon/opencc\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/585534/107280546-7b9b2a00-6a26-11eb-8f9f-f95932f4bfec.png\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nA browser extension that converts text in the current active tab between different Chinese variants.\n\nThis extension is powered by [opencc-js](https://github.com/nk2028/opencc-js),\nwhich is a JavaScript API wrapper around the great [OpenCC](https://github.com/BYVoid/OpenCC) project.\n\nMost of the variants supported by OpenCC are supported:\n\n- `cn`: Simplified Chinese (Mainland China)\n- `hk`: Traditional Chinese (Hong Kong)\n- `tw`: Traditional Chinese (Taiwan)\n  - `twp`: Traditional Chinese (Taiwan) with native phrases\n- ~~`t`: Traditional Chinese (OpenCC standard)~~\n- ~~`jp`: Japanese Shinjitai~~\n\n\u003e [!NOTE]\n\u003e Only Chrome and Firefox are tested.\n\u003e Other browsers may also work but are not guaranteed to.\n\n## Features\n\n- Minimalist user interface.\n- Fast performance (using [`TreeWalker`](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker)).\n- Converts whole text on a webpage with one click.\n  - Can also convert dynamically rendered text in auto mode\n    (using [`MutationObserver`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)).\n- Converts selected text on a webpage in right click context menu.\n- Converts any text provided in the text box in real time.\n- Other features of OpenCC.\n  - 嚴格區分「一簡對多繁」和「一簡對多異」。\n  - 完全兼容異體字，可以實現動態替換。\n  - 嚴格審校一簡對多繁詞條，原則爲「能分則不合」。\n  - 支持中國大陸、臺灣、香港異體字和地區習慣用詞轉換，如「裏」「裡」、「鼠標」「滑鼠」。\n\nSee [usage](#usage) for more ways to convert text.\n\n## Usage\n\nSpecify the language settings in the extension popup.\n\n\u003ctable\u003e\u003ctr\u003e\u003ctd\u003e\n  \u003cstrong\u003eOrigin\u003c/strong\u003e → \u003cstrong\u003eTarget\u003c/strong\u003e\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n- **Origin**: the original Chinese text variant in the webpage\n- **Target**: the desired Chinese text variant to be converted into\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./select.gif\" width=\"40%\" /\u003e\n  \u003cimg src=\"./textbox.gif\" width=\"30%\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003e\u003cstrong\u003eLeft:\u003c/strong\u003e Convert Text Selection on Webpage\u003c/sub\u003e\n  \u003cbr\u003e\n  \u003csub\u003e\u003cstrong\u003eRight:\u003c/strong\u003e Convert Any Text in Text Box\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./demo.gif\" width=\"40%\" /\u003e\n  \u003cimg src=\"./auto.gif\" width=\"40%\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003e\u003cstrong\u003eLeft:\u003c/strong\u003e One Click\u003c/sub\u003e\n  \u003cbr\u003e\n  \u003csub\u003e\u003cstrong\u003eRight:\u003c/strong\u003e Auto Mode\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003e [!NOTE]\n\u003e For performance reason, auto mode will not convert text on webpages which\n\u003e explicitly specify their `lang` attributes to be languages other than `zh` in their HTML documents.\n\nWhen auto mode is enabled, a grey badge with the letter `A` appears on the corner of the extension icon.\n\nAll text in the webpage of the current active tab is converted whenever it loads or is updated.\n\n## Credits\n\n- https://github.com/BYVoid/OpenCC\n- https://github.com/nk2028/opencc-js\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003e\u003cstrong\u003e~ crafted with ♥︎ by tnychn ~\u003c/strong\u003e\u003c/sub\u003e\n  \u003cbr\u003e\n  \u003csub\u003e\u003cstrong\u003eMIT © 2024 Tony Chan\u003c/strong\u003e\u003c/sub\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnychn%2Fopencc-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftnychn%2Fopencc-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnychn%2Fopencc-extension/lists"}