{"id":16267122,"url":"https://github.com/nakasyou/firecws","last_synced_at":"2025-09-16T16:32:09.807Z","repository":{"id":185842487,"uuid":"674192011","full_name":"nakasyou/FireCws","owner":"nakasyou","description":"Chrome拡張をFirefox拡張にコンパイルできるライブラリ","archived":false,"fork":false,"pushed_at":"2024-03-05T10:45:34.000Z","size":260,"stargazers_count":31,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T13:32:17.897Z","etag":null,"topics":["chrome","firefox","firefox-addon","webstore"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nakasyou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-08-03T10:55:50.000Z","updated_at":"2024-12-25T15:21:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"81053973-70d3-4b4c-b4db-056cbe3ca41b","html_url":"https://github.com/nakasyou/FireCws","commit_stats":null,"previous_names":["nakasyou/webstore-on-firefox","nakasyou/firecrx"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakasyou%2FFireCws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakasyou%2FFireCws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakasyou%2FFireCws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakasyou%2FFireCws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nakasyou","download_url":"https://codeload.github.com/nakasyou/FireCws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233279523,"owners_count":18652172,"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":["chrome","firefox","firefox-addon","webstore"],"created_at":"2024-10-10T17:43:56.247Z","updated_at":"2025-09-16T16:32:09.535Z","avatar_url":"https://github.com/nakasyou.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  ![image](./old/assets/firecrx.svg)\n  ### FireCws\n\u003c/div\u003e\n\nFireCws compiles web extensions written for Chrome (.crx) into ones usable in Firefox (.xpi).\n\n## Why?\nOne of the Firefox's weak points is that extensions in the world's largest browser extension marketplace, namely the Chrome Web Store, cannot be used. This is the solution.\n\n## How?\n### Install it\n```shell\nnpm i firecws #npm\nyarn add firecws #yarn\npnpm add firecws #pnpm\nbun add firecws #bun\n```\n### Import it\n```ts\nimport * as firecws from 'firecws' // Node/Bun\nimport * as firecws from 'npm:firecws' // Deno\n\nimport * as firecws from 'jsr:@ns/firecws' // JSR(wip)\n```\n\n### Use it\nDownload a .crx extension from the Chrome Web Store:\n```ts\nconst extensionId = 'ophjlpahpchlmihnnnihgmmeilfjmjjc' // LINE\nconst crxExt = await firecws.fromWebStore(extensionId)\n```\n\nThen, compile it to .xpi:\n```ts\nconst { xpi } = await firecws.compile(crxExt, {\n  // Options\n}, progress =\u003e {\n  // Progress callback\n})\n\nxpi // Uint8Array\n```\n\n## Extension support table\n- 💯 - Working completely\n- ✅ - No problems\n- ⭕ - Problems, but mostly usable\n- 🤔 - Errors occur, inconvenient to use\n- ❌ - Can't install\n\n| Name | Extension version checked | FireCws version checked | Status |\n| --- | --- | --- | --- |\n| [LINE](https://chromewebstore.google.com/detail/line/ophjlpahpchlmihnnnihgmmeilfjmjjc?hl=en-US) | 3.1.2 | 0.2.0 | 🤔 |\n\n## Problems\nThe compilation code is a little bloated and is slow.\n\n## Special Thanks\n- @EdamAme-x\n  - Information on how LINE uses the origin and advice on how to fix it\n\n## License\nUnless otherwise specified, all files are licensed under the MIT License.\n## Contributing\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakasyou%2Ffirecws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnakasyou%2Ffirecws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakasyou%2Ffirecws/lists"}