{"id":13603213,"url":"https://github.com/PlasmoHQ/bms","last_synced_at":"2025-04-11T14:30:36.286Z","repository":{"id":37077020,"uuid":"461375628","full_name":"PlasmoHQ/bms","owner":"PlasmoHQ","description":"📢 Browser Market Submission","archived":false,"fork":false,"pushed_at":"2025-02-09T07:42:58.000Z","size":225,"stargazers_count":31,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-11T03:39:25.782Z","etag":null,"topics":["addons","browser-extension","chrome","firefox","web-extension","webext"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@plasmo-corp/bms","language":"TypeScript","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/PlasmoHQ.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":"2022-02-20T03:39:52.000Z","updated_at":"2025-02-09T07:43:01.000Z","dependencies_parsed_at":"2024-07-06T22:22:10.344Z","dependency_job_id":null,"html_url":"https://github.com/PlasmoHQ/bms","commit_stats":{"total_commits":64,"total_committers":3,"mean_commits":"21.333333333333332","dds":0.09375,"last_synced_commit":"edb522da27f4b7f0322c77aea9a8a9090214a2a8"},"previous_names":["plasmo-corp/bms"],"tags_count":0,"template":false,"template_full_name":"PlasmoHQ/qtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmoHQ%2Fbms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmoHQ%2Fbms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmoHQ%2Fbms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmoHQ%2Fbms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlasmoHQ","download_url":"https://codeload.github.com/PlasmoHQ/bms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248419647,"owners_count":21100213,"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":["addons","browser-extension","chrome","firefox","web-extension","webext"],"created_at":"2024-08-01T18:01:57.792Z","updated_at":"2025-04-11T14:30:36.280Z","avatar_url":"https://github.com/PlasmoHQ.png","language":"TypeScript","funding_links":[],"categories":["chrome"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://plasmo.com\"\u003e\n    \u003cimg alt=\"plasmo logo banner\" width=\"75%\" src=\"https://www.plasmo.com/assets/banner-black-on-white.png\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"License\" href=\"./LICENSE\"\u003e\n    \u003cimg alt=\"See License\" src=\"https://img.shields.io/npm/l/@plasmohq/bms\"/\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"NPM\" href=\"https://www.npmjs.com/package/@plasmohq/bms\"\u003e\n    \u003cimg alt=\"NPM Install\" src=\"https://img.shields.io/npm/v/@plasmohq/bms?logo=npm\"/\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Twitter\" href=\"https://www.twitter.com/plasmohq\"\u003e\n    \u003cimg alt=\"Follow PlasmoHQ on Twitter\" src=\"https://img.shields.io/twitter/follow/plasmohq?logo=twitter\"/\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Twitch Stream\" href=\"https://www.twitch.tv/plasmohq\"\u003e\n    \u003cimg alt=\"Watch our Live DEMO every Friday\" src=\"https://img.shields.io/twitch/status/plasmohq?logo=twitch\u0026logoColor=white\"/\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Discord\" href=\"https://www.plasmo.com/s/d\"\u003e\n    \u003cimg alt=\"Join our Discord for support and chat about our projects\" src=\"https://img.shields.io/discord/946290204443025438?logo=discord\u0026logoColor=white\"/\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Build status\" href=\"https://github.com/PlasmoHQ/bpp/actions\"\u003e\n    \u003cimg alt=\"typescript-action status\" src=\"https://github.com/PlasmoHQ/bpp/workflows/build-test/badge.svg\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Browser Market Submit\n\nA NodeJS library from [Plasmo](https://www.plasmo.com/) to submit browser extensions to multiple stores. It is made to be used in the [Browser Platform Publisher](https://bpp.browser.market) action.\n\nSupported stores:\n\n- [Chrome Web Store](https://chrome.google.com/webstore/category/extensions)\n- [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/extensions)\n- [Edge Add-ons](https://microsoftedge.microsoft.com/addons)\n\nUnsupported stores:\n\n- [Opera Add-ons](https://addons.opera.com/en/extensions): They do not have an automation API, and their cookie expires in 24 hours, making them unsuitable for CI/CD.\n\n# Core packages used\n\n- [@plasmohq/chrome-webstore-api](https://github.com/PlasmoHQ/chrome-webstore-api) - for uploading extensions to Chrome Web Store.\n- [@plasmohq/mozilla-addons-api](https://github.com/PlasmoHQ/mozilla-addons-api) - for signing and uploading extensions to Firefox Addon API.\n- [@plasmohq/edge-addons-api](https://github.com/PlasmoHQ/edge-addons-api) - for uploading and publishing extensions to Edge Add-ons API.\n\n# Installing\n\n```shell\nnpm i -D @plasmohq/bms\n# or\npnpm i -D @plasmohq/bms\n# or\nyarn add -D @plasmohq/bms\n```\n\n# Usage\n\nFollowing this [doc](./tokens.md) to gather the tokens necessary for the deployment, OR use [bpp's json schema](https://raw.githubusercontent.com/PlasmoHQ/bpp/v2/keys.schema.json) which provides intellisense on editors such as vscode. To use the json schema, create a `keys.json` file in vscode with the following content:\n\n```json\n{\n  \"$schema\": \"https://raw.githubusercontent.com/PlasmoHQ/bpp/v2/keys.schema.json\"\n}\n```\n\nThen, the nodejs API can be consumed as follows:\n\n\u003c!-- prettier-ignore --\u003e\n```ts\nimport {\n  submitChrome,\n  submitEdge,\n  submitFirefox,\n} from \"@plasmohq/bms\"\n\nsubmitChrome({\n  extId: \"EXT_ID\",\n  refreshToken: \"refreshToken\",\n  clientId: \"clientIdsubmit\",\n  clientSecret: \"clientSecret\",\n  zip: \"dist/some-zip-v{version}.zip\",\n  verbose: false\n})\n\nsubmitFirefox({\n  extId: \"EXT_ID\",\n  apiKey: \"api_key\",\n  apiSecret: \"api_secret\",\n  zip: \"dist/some-zip-v{version}.zip\",\n  verbose: false\n})\n\nsubmitEdge({\n  productId: \"aaaaaaa-aaaa-bbbb-cccc-dddddddddddd\",\n  clientId: \"aaaaaaa-aaaa-bbbb-cccc-dddddddddddd\",\n  apiKey: \"abcdefg\",\n  zip: \"dist/some-zip-v{version}.zip\",\n  notes: \"Changes for reviewers\",\n  verbose: false\n})\n```\n\n# Support\n\nJoin our [Discord channel](https://www.plasmo.com/s/d)!\n\n# Acknowledgment\n\nThis library was inspired by:\n\n- [web-ext-deploy](https://github.com/avi12/web-ext-deploy) by [avi12](https://github.com/avi12)\n  - The documentation and API of bms is largely inspired by web-ext-deploy.\n- [chrome-webstore-upload-cli](https://github.com/fregante/chrome-webstore-upload-cli) by [fregante](https://github.com/fregante)\n- [web-ext](https://github.com/mozilla/web-ext) by [mozilla](https://github.com/mozilla)\n\n# License\n\n[MIT](./license) ⭐ [Plasmo Corp.](https://plasmo.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPlasmoHQ%2Fbms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPlasmoHQ%2Fbms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPlasmoHQ%2Fbms/lists"}