{"id":20414519,"url":"https://github.com/codecov/codecov-browser-extension","last_synced_at":"2025-09-12T05:44:32.749Z","repository":{"id":66039620,"uuid":"601723147","full_name":"codecov/codecov-browser-extension","owner":"codecov","description":"A browser extension for Codecov. Works for Chrome and Firefox","archived":false,"fork":false,"pushed_at":"2025-02-23T01:32:05.000Z","size":612,"stargazers_count":41,"open_issues_count":20,"forks_count":13,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-11T15:10:23.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecov.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":"2023-02-14T17:21:05.000Z","updated_at":"2025-04-06T17:17:12.000Z","dependencies_parsed_at":"2024-10-26T02:33:45.564Z","dependency_job_id":"9a769243-3f0f-4edf-ae47-7552d0b522c2","html_url":"https://github.com/codecov/codecov-browser-extension","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-browser-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-browser-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-browser-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-browser-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecov","download_url":"https://codeload.github.com/codecov/codecov-browser-extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248600946,"owners_count":21131578,"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":[],"created_at":"2024-11-15T06:10:50.675Z","updated_at":"2025-09-12T05:44:32.737Z","avatar_url":"https://github.com/codecov.png","language":"TypeScript","readme":"# Codecov Browser Extension for GitHub\n\n[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B29430%2Fgithub.com%2Fcodecov%2Fcodecov-browser-extension.svg?type=shield\u0026issueType=license)](https://app.fossa.com/projects/custom%2B29430%2Fgithub.com%2Fcodecov%2Fcodecov-browser-extension?ref=badge_shield\u0026issueType=license)\n\n[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/gedikamndpbemklijjkncpnolildpbgo)](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo)\n![Chrome Web Store](https://img.shields.io/chrome-web-store/users/gedikamndpbemklijjkncpnolildpbgo)\n![Chrome Web Store](https://img.shields.io/chrome-web-store/rating/gedikamndpbemklijjkncpnolildpbgo)\n\n[![Mozilla Add-on Version](https://img.shields.io/amo/v/%7Bf3924b0d-e29f-4593-b605-084b3d71ed9d%7D)](https://addons.mozilla.org/en-US/firefox/addon/codecov/)\n![Mozilla Add-on Users](https://img.shields.io/amo/users/%7Bf3924b0d-e29f-4593-b605-084b3d71ed9d%7D)\n![Mozilla Add-on Rating](https://img.shields.io/amo/rating/%7Bf3924b0d-e29f-4593-b605-084b3d71ed9d%7D)\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://user-images.githubusercontent.com/44864521/213549217-bed0071c-c5bc-4a12-944f-31ce15648ab7.png\"\u003e\n\nAutomatically see code coverage data and line annotations while browsing files or reviewing pull requests in GitHub.\n\n## Installing\n\nIf you wish to simply use the extension, it is available as a [Firefox Add On](https://addons.mozilla.org/en-US/firefox/addon/codecov/) and a [Chrome Extension](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo).\n\n**Note to Firefox users**: Required permissions must be granted manually on [about:addons](about:addons)\n\n\u003cimg width=\"692\" alt=\"image\" src=\"https://github.com/codecov/codecov-browser-extension/assets/44864521/7db5ba9f-2ac9-46ea-beec-ae22b85290cb\"\u003e\n\n## About this extension\n\nThe Codecov browser extension makes it easy to identify needed test areas by showing you absolute coverage and coverage changes overlaid with your code right in GitHub.\n\nOnce installed, you get:\n\n- Line coverage information while viewing commits and single files\n- Line coverage information and coverage totals on Pull Requests\n- The ability to filter coverage using Flags and Components directly in the GitHub UI\n\nPre-requisites:\n\n- Must use either the Firefox or Google Chrome web browser.\n\nHow to enable:\n\nThe extension uses your logged-in session to determine what private repos you have access to. Please make sure to log in to Codecov using your web browser to view coverage data for private repos in GitHub.\n\n## Use with Self-Hosted and Dedicated Cloud Versions of Codecov\n\nYou can use this extension against installations of Codecov and GitHub that are:\n\n- Self-hosted\n- Part of Codecov's Dedicated Cloud plan\n\nIn order to do so you must provide:\n\n- The URL of the Codecov installation\n- The URL of your GitHub installation (even if that url is just https://github.com)\n- [An API token for Codecov](https://docs.codecov.com/reference/overview)\n\nYou can provide this information by using the Settings menu for the Extension in your browser.\n\n\u003c!-- Commenting out this section as the safari extension has been deprioritized --\u003e\n\u003c!-- ## Using the Safari extension --\u003e\n\u003c!----\u003e\n\u003c!-- We have published a Safari port of the extension, but it comes with the caveat that you _must_ use a Codecov API token for the extension to work. --\u003e\n\u003c!----\u003e\n\u003c!-- To use the extension with a cloud Codecov API token, follow the instructions [above](#use-with-self-hosted-and-dedicated-cloud-versions-of-codecov), but generate the API token in [cloud Codecov](https://app.codecov.io) and use the cloud urls for Codecov's API (`https://api.codecov.io`) and Github (`https://github.com`). Note that this also works on Chrome and Firefox, should you want to do that. --\u003e\n\u003c!----\u003e\n\u003c!-- We may fix this restriction in the future should the demand exist, but for now, this is just a low effort conversion provided as is. --\u003e\n\n## Running Locally\n\n```sh\n$ npm install\n# For Chrome\n$ npm run start:chrome\n# For Firefox\n$ npm run start:firefox\n```\n\n**Note**: You must be on GitHub's new UI for this extension to perform its magic. ✨\n\nAs of today, GitHub will show you the old UI if not logged in (running in a temporary profile using web-ext).\n\n---\n\n## Build Instructions\n\nThese steps will build the extension in the `dist/` folder.\n\n### Prerequisites\n\nNode 22, `npm` 10, `git`, and `jq` are required to build the extension.\n\nIf you're a reviewer from Mozilla, hi! Please note that we have previously seen differences in build output between AMD64 and ARM64. In our CD pipeline we build on Ubuntu 24.04 AMD64, so please stick to that architecture if possible to eliminate any environment differences.\n\n### Set Local Version\n\nIf you're a reviewer from Mozilla, you don't need to do this.\n\nTo override the local version of the extension, you can set the `VERSION` environment variable before building. This is useful for testing or development purposes.\n\nE.g.\n```sh\n$ export VERSION=1.0.0\n```\n\n### Use Development Sentry DSN\n\nIf you're a reviewer from Mozilla, you don't need to do this.\n\nIf you want to use Sentry while developing, you can override the DSN value by first copying the example config (`cp .env.example .env.local`) and then filling in the environment variable.\n\n### Firefox\n\n```sh\n$ npm ci\n$ npm run build:firefox\n```\n### Chrome\n\n```sh\n$ npm ci\n$ npm run build\n```\n\n## About Codecov\n\n[Codecov](https://about.codecov.io) is the all-in-one code coverage reporting solution for any test suite - giving developers actionable insights to deploy reliable code with confidence.\n\n## License\n\n[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B29430%2Fgithub.com%2Fcodecov%2Fcodecov-browser-extension.svg?type=large\u0026issueType=license)](https://app.fossa.com/projects/custom%2B29430%2Fgithub.com%2Fcodecov%2Fcodecov-browser-extension?ref=badge_large\u0026issueType=license)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fcodecov-browser-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecov%2Fcodecov-browser-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fcodecov-browser-extension/lists"}