{"id":27714779,"url":"https://github.com/himanshurajora/web-badger","last_synced_at":"2026-05-09T04:31:24.485Z","repository":{"id":288219425,"uuid":"961798228","full_name":"himanshurajora/web-badger","owner":"himanshurajora","description":"A simple browser extension to visually tag websites with customizable colored labels. Helps distinguish between different environments (e.g., dev, staging, prod) or similar-looking sites.","archived":false,"fork":false,"pushed_at":"2025-04-07T07:22:17.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T06:59:47.603Z","etag":null,"topics":["badge","chrome","chrome-extension","devtools","extension","javascript","markers","menifest"],"latest_commit_sha":null,"homepage":"https://chromewebstore.google.com/detail/mhcjmgpkjgjkepdhiknakljhehiahofb?utm_source=item-share-cb","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himanshurajora.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-04-07T07:20:12.000Z","updated_at":"2025-04-10T07:37:19.000Z","dependencies_parsed_at":"2025-04-16T12:00:17.341Z","dependency_job_id":null,"html_url":"https://github.com/himanshurajora/web-badger","commit_stats":null,"previous_names":["himanshurajora/web-badger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/himanshurajora/web-badger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshurajora%2Fweb-badger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshurajora%2Fweb-badger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshurajora%2Fweb-badger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshurajora%2Fweb-badger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himanshurajora","download_url":"https://codeload.github.com/himanshurajora/web-badger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshurajora%2Fweb-badger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["badge","chrome","chrome-extension","devtools","extension","javascript","markers","menifest"],"created_at":"2025-04-27T00:56:53.680Z","updated_at":"2026-05-09T04:31:24.469Z","avatar_url":"https://github.com/himanshurajora.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Website Color Tagger\n\nA simple browser extension to visually tag websites with customizable colored labels.\nHelps distinguish between different environments (e.g., dev, staging, prod) or similar-looking sites.\n\n## Features\n\n*   Adds a customizable colored tag to configured web pages.\n*   Globally enable/disable the extension.\n*   Enable/disable tags on a per-domain basis.\n*   **Extensive Customization (per domain):**\n    *   **Label**: Set custom text (e.g., DEV, STAGE).\n    *   **Position**: Choose corner (top-left, top-right, bottom-left, bottom-right).\n    *   **Shape**: Select shape (rectangle, pill, circle).\n    *   **Size**: Define width and height.\n    *   **Opacity**: Control tag transparency.\n    *   **Font**: Customize family (optional), size, weight, and color.\n    *   **Background**: Set solid color or apply linear gradients.\n    *   **Border**: Configure width, style, color, and radius.\n    *   **Effects**: Add entrance animations (fade-in, slide-in) and hover effects (move-opposite-corner, change-opacity, grow).\n*   Automatic default color generation based on domain name.\n*   Automatic default label generation (first 2 letters of domain).\n*   Dark/Light mode support for the popup configuration.\n*   Settings are synced across devices (if browser sync is enabled).\n*   Option to reset settings per-site or globally.\n\n## How to Use\n\n1.  Install the extension.\n2.  Click the extension icon in your browser toolbar to open the configuration popup.\n3.  The popup shows settings for the **current website** you are visiting.\n4.  **Enable Tag for this Site**: Check this box to activate the tag for the current domain.\n5.  **Customize**: Expand the sections (General, Font, Border, Effects) to configure:\n    *   Label, Position, Shape, Size, Opacity.\n    *   Font Size, Weight, Color.\n    *   Background Color and Gradient options.\n    *   Border Width, Style, Color, Radius.\n    *   Entrance Animation and Hover Effect.\n6.  Click **Save Site Settings**.\n7.  The tag should now appear on the website (you might need to refresh the page).\n8.  Use the **Global Settings** toggle to turn the entire extension on or off.\n9.  Manage all your configured sites under the **Configured Sites** section.\n10. Use the **Reset** buttons carefully!\n\n## Development\n\n1.  Clone the repository.\n2.  Load the extension in your browser (usually via `chrome://extensions/` or `about:debugging` and selecting \"Load Unpacked\").\n3.  Make changes to the code.\n4.  Reload the extension in your browser to see the changes.\n\n## Files\n\n*   `manifest.json`: Extension configuration.\n*   `icons/`: Extension icons.\n*   `src/background/background.js`: Background service worker (manages state, storage, communication).\n*   `src/content/content.js`: Injected into web pages to display the tag.\n*   `src/content/content.css`: Styles for the injected tag.\n*   `src/popup/popup.html`: HTML structure for the configuration popup.\n*   `src/popup/popup.css`: Styles for the popup (including light/dark themes).\n*   `src/popup/popup.js`: JavaScript logic for the popup UI.\n*   `src/common/utils.js`: Shared utility functions (settings management, defaults, etc.).\n*   `README.md`: This file. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshurajora%2Fweb-badger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimanshurajora%2Fweb-badger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshurajora%2Fweb-badger/lists"}