{"id":49542864,"url":"https://github.com/koodo-reader/extension","last_synced_at":"2026-05-02T16:02:50.479Z","repository":{"id":355225535,"uuid":"1227279929","full_name":"koodo-reader/extension","owner":"koodo-reader","description":"Chrome and Firefox extension for Koodo Reader","archived":false,"fork":false,"pushed_at":"2026-05-02T14:34:22.000Z","size":1365,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T15:25:35.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koodo-reader.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-02T13:13:42.000Z","updated_at":"2026-05-02T14:33:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/koodo-reader/extension","commit_stats":null,"previous_names":["koodo-reader/extension"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/koodo-reader/extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koodo-reader%2Fextension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koodo-reader%2Fextension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koodo-reader%2Fextension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koodo-reader%2Fextension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koodo-reader","download_url":"https://codeload.github.com/koodo-reader/extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koodo-reader%2Fextension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32540120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"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":[],"created_at":"2026-05-02T16:02:49.792Z","updated_at":"2026-05-02T16:02:50.467Z","avatar_url":"https://github.com/koodo-reader.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[中文文档](https://github.com/koodo-reader/extension/blob/main/README_cn_.md)\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"public/icon-128.png\" alt=\"logo\"/\u003e\n\u003ch1\u003eKoodo Reader Proxy Extension\u003c/h1\u003e\n\u003cp\u003e\u003cstrong\u003eA browser extension for Koodo Reader Web — bypass CORS restrictions and enhance reading experience\u003c/strong\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n## About\n\nKoodo Reader Proxy Extension is a browser extension designed for the [Koodo Reader](https://web.koodoreader.com/) Web version. It intercepts `fetch` and `XMLHttpRequest` requests from the page and re-executes them in the extension's Service Worker, effectively **bypassing CORS restrictions** so that Koodo Reader Web can access cross-origin resources normally.\n\n## Features\n\n- **CORS Proxy** — Intercepts `fetch` / `XMLHttpRequest` requests from the page and forwards them through the extension's background script to bypass CORS restrictions\n- **Auto-enabled** — `localhost:3000` and `web.koodoreader.com` are whitelisted automatically\n- **Manual Control** — Enable or disable the proxy for any site via the popup panel\n- **Full Request/Response Support** — Supports text, binary, FormData, ArrayBuffer, and other request body encodings\n- **Cross-browser** — Supports Chrome and Firefox (Manifest V3)\n\n## How It Works\n\n```\nPage (MAIN world)\n    │  window.fetch / XMLHttpRequest intercepted\n    │  postMessage (KOODO_REQ)\n    ▼\nContent Script (isolated world)\n    │  chrome.runtime.sendMessage\n    ▼\nBackground Script (Service Worker)\n    │  fetch() re-executes request (no CORS restrictions)\n    │  Returns Base64-encoded response\n    ▼\nContent Script → postMessage (KOODO_RES) → Page decodes and returns\n```\n\n## Quick Start\n\n### Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Chrome dev mode (with HMR)\nnpm run dev\n\n# Or specify browser\nnpm run dev:chrome\nnpm run dev:firefox\n```\n\n### Build\n\n```bash\n# Chrome production build\nnpm run build\n\n# Or specify browser\nnpm run build:chrome\nnpm run build:firefox\n```\n\nBuild output goes to `dist_chrome` and `dist_firefox` directories respectively.\n\n### Load Extension\n\n**Chrome**\n\n1. Navigate to `chrome://extensions`\n2. Enable \"Developer mode\"\n3. Click \"Load unpacked\"\n4. Select the `dist_chrome` directory\n\n**Firefox**\n\n1. Navigate to `about:debugging#/runtime/this-firefox`\n2. Click \"Load Temporary Add-on\"\n3. Select any file inside the `dist_firefox` directory\n\n## Tech Stack\n\n- [React 19](https://reactjs.org/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [Tailwind CSS 4](https://tailwindcss.com/)\n- [Vite 6](https://vitejs.dev/)\n- [Chrome Extension Manifest V3](https://developer.chrome.com/docs/extensions/mv3/)\n- [webextension-polyfill](https://github.com/mozilla/webextension-polyfill) (optional Firefox compatibility)\n\n## License\n\nCopyright (C) 2024-2025 Koodo Reader Proxy Extension Contributors\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but **WITHOUT ANY WARRANTY**; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoodo-reader%2Fextension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoodo-reader%2Fextension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoodo-reader%2Fextension/lists"}