{"id":27211815,"url":"https://github.com/itw-creative-works/browser-extension-manager","last_synced_at":"2026-04-03T00:50:53.574Z","repository":{"id":285679555,"uuid":"954561947","full_name":"itw-creative-works/browser-extension-manager","owner":"itw-creative-works","description":"Easily create browser extensions for Chrome, Firefox, Opera \u0026 more!","archived":false,"fork":false,"pushed_at":"2026-02-20T10:33:12.000Z","size":927,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-20T14:28:36.887Z","etag":null,"topics":["browser","browser-extension","chrome","css","edge","firefox","html","js"],"latest_commit_sha":null,"homepage":"https://itwcreativeworks.com","language":"SCSS","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/itw-creative-works.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-03-25T09:18:13.000Z","updated_at":"2026-02-20T10:33:15.000Z","dependencies_parsed_at":"2025-04-02T04:44:07.576Z","dependency_job_id":"c2a2a0ef-da22-45b5-968a-c75fc79c20e0","html_url":"https://github.com/itw-creative-works/browser-extension-manager","commit_stats":null,"previous_names":["itw-creative-works/browser-extension-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itw-creative-works/browser-extension-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itw-creative-works%2Fbrowser-extension-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itw-creative-works%2Fbrowser-extension-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itw-creative-works%2Fbrowser-extension-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itw-creative-works%2Fbrowser-extension-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itw-creative-works","download_url":"https://codeload.github.com/itw-creative-works/browser-extension-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itw-creative-works%2Fbrowser-extension-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29694213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"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","browser-extension","chrome","css","edge","firefox","html","js"],"created_at":"2025-04-10T01:44:00.675Z","updated_at":"2026-04-03T00:50:53.564Z","avatar_url":"https://github.com/itw-creative-works.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://itwcreativeworks.com\"\u003e\n    \u003cimg src=\"https://cdn.itwcreativeworks.com/assets/itw-creative-works/images/logo/itw-creative-works-brandmark-black-x.svg\" width=\"100px\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/package-json/v/itw-creative-works/ultimate-browser-extension.svg\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://img.shields.io/librariesio/release/npm/ultimate-browser-extension.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/bundlephobia/min/ultimate-browser-extension.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/codeclimate/maintainability-percentage/itw-creative-works/ultimate-browser-extension.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/dm/ultimate-browser-extension.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/node/v/ultimate-browser-extension.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/website/https/itwcreativeworks.com.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/itw-creative-works/ultimate-browser-extension.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/contributors/itw-creative-works/ultimate-browser-extension.svg\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/last-commit/itw-creative-works/ultimate-browser-extension.svg\"\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://itwcreativeworks.com\"\u003eSite\u003c/a\u003e | \u003ca href=\"https://www.npmjs.com/package/ultimate-browser-extension\"\u003eNPM Module\u003c/a\u003e | \u003ca href=\"https://github.com/itw-creative-works/ultimate-browser-extension\"\u003eGitHub Repo\u003c/a\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003eUltimate Browser Extension\u003c/strong\u003e is a template that helps you jumpstart your Jekyll sites and is fueled by an intuitive incorporation of npm, gulp, and is fully SEO optimized and blazingly fast.\n\u003c/p\u003e\n\n## 🦄 Features\n* **Build for Any Browser**: Export to Chrome, Firefox, Edge, and Opera.\n* **NPM \u0026 Gulp**: Fueled by an intuitive incorporation of npm and gulp.\n\n## 🚀 Getting started\n1. [Create a repo](https://github.com/itw-creative-works/ultimate-browser-extension/generate) from the **Ultimate Browser Extension** template.\n2. Clone the repo to your local machine.\n3. Run these command to get everything setup and sync'd!\n```bash\nnpm install\nnpx bxm setup\nnpm start\n```\n4. Open your browser and navigate to `chrome://extensions` (or the equivalent for your browser).\n5. Enable **Developer mode**.\n6. Click on **Load unpacked** and select the `dist` folder in your project directory.\n7. Your extension should now be loaded and ready to use!\n\n## 📦 How to sync with the template\n1. Simply run `npx bxm setup` in Terminal to get all the latest updates from the **Ultimate Browser Extension template**.\n\n## 🌐 Automatic Translation\nWhen you run `npm run build`, BXM automatically translates your `src/_locales/en/messages.json` to 16 languages using Claude CLI:\n`zh`, `es`, `hi`, `ar`, `pt`, `ru`, `ja`, `de`, `fr`, `ko`, `ur`, `id`, `bn`, `tl`, `vi`, `it`\n\nOnly missing translations are generated - existing translations are preserved.\n\n## 🌎 Publishing your extension\n\n### Manual Upload\n1. Run `npm run build` in Terminal to build your extension for production.\n2. Upload the `.zip` file to the browser's extension store.\n\n### Automatic Publishing\nBXM can automatically publish to Chrome, Firefox, and Edge stores when `BXM_IS_PUBLISH=true`:\n\n```bash\nBXM_IS_PUBLISH=true npm run build\n```\n\n**Setup:** Add store credentials to your `.env` file:\n\n```bash\n# Chrome Web Store\nCHROME_EXTENSION_ID=\"your-extension-id\"\nCHROME_CLIENT_ID=\"your-client-id\"\nCHROME_CLIENT_SECRET=\"your-client-secret\"\nCHROME_REFRESH_TOKEN=\"your-refresh-token\"\n\n# Firefox Add-ons\nFIREFOX_EXTENSION_ID=\"your-extension-id\"\nFIREFOX_API_KEY=\"your-api-key\"\nFIREFOX_API_SECRET=\"your-api-secret\"\n\n# Microsoft Edge Add-ons\nEDGE_PRODUCT_ID=\"your-product-id\"\nEDGE_CLIENT_ID=\"your-client-id\"\nEDGE_API_KEY=\"your-api-key\"\n```\n\nOnly stores with configured credentials will be published to.\n\n## 🔐 Authentication\n\nBXM provides built-in authentication that syncs across all extension contexts (popup, options, pages, sidepanel, background).\n\n### How It Works\n\n**Background.js is the source of truth.** Auth syncs via messaging (no storage).\n\n- **Sign-in**: User clicks `.auth-signin-btn` → opens `/token` page on website → website authenticates and redirects with token → background.js signs in and broadcasts to all open contexts\n- **Context load**: Each context compares its UID with background's UID on load; syncs if different\n- **Sign-out**: User clicks `.auth-signout-btn` → context signs out → notifies background → background broadcasts sign-out to all contexts\n\n### Required Setup\n\n1. Add `authDomain` to your Firebase config in `config/browser-extension-manager.json`\n2. Add `tabs` permission to `src/manifest.json` (for URL monitoring)\n\n### Auth Button Classes\n\n| Class | Action |\n|-------|--------|\n| `.auth-signin-btn` | Opens `/token` page on website |\n| `.auth-signout-btn` | Signs out via Web Manager |\n| `.auth-account-btn` | Opens `/account` page on website |\n\n### Example\n```html\n\u003cbutton class=\"btn auth-signin-btn\" data-wm-bind=\"@show !auth.user\"\u003eSign In\u003c/button\u003e\n\n\u003cdiv data-wm-bind=\"@show auth.user\" hidden\u003e\n  \u003cspan data-wm-bind=\"@text auth.user.displayName\"\u003eUser\u003c/span\u003e\n  \u003cbutton class=\"auth-signout-btn\"\u003eSign Out\u003c/button\u003e\n\u003c/div\u003e\n```\n\n### Reactive Bindings\n- `@show auth.user` / `@show !auth.user` - Show/hide based on auth state\n- `@text auth.user.displayName` / `@text auth.user.email` - Display user info\n- `@attr src auth.user.photoURL` - Set avatar image\n\n\u003c!-- ## ⛳️ Flags\n* `--test=false` - Coming soon\n```bash\nnpm start -- --test=false\n``` --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitw-creative-works%2Fbrowser-extension-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitw-creative-works%2Fbrowser-extension-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitw-creative-works%2Fbrowser-extension-manager/lists"}