{"id":19922712,"url":"https://github.com/igorprado/favicon-notification","last_synced_at":"2026-05-13T03:39:07.722Z","repository":{"id":33168677,"uuid":"36809711","full_name":"igorprado/favicon-notification","owner":"igorprado","description":"A small script to add notification bubble to favicon","archived":false,"fork":false,"pushed_at":"2018-09-20T22:21:40.000Z","size":412,"stargazers_count":45,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-02T00:47:35.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://igorprado.github.io/favicon-notification","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/igorprado.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}},"created_at":"2015-06-03T14:39:59.000Z","updated_at":"2025-04-15T20:29:23.000Z","dependencies_parsed_at":"2022-08-17T21:15:22.118Z","dependency_job_id":null,"html_url":"https://github.com/igorprado/favicon-notification","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/igorprado/favicon-notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Ffavicon-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Ffavicon-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Ffavicon-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Ffavicon-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorprado","download_url":"https://codeload.github.com/igorprado/favicon-notification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Ffavicon-notification/sbom","scorecard":{"id":482768,"data":{"date":"2025-08-11","repo":{"name":"github.com/igorprado/favicon-notification","commit":"4bcc5a624e11a0e66f7107c88e07b20927cee9e0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T17:01:44.699Z","repository_id":33168677,"created_at":"2025-08-19T17:01:44.699Z","updated_at":"2025-08-19T17:01:44.699Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32967211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"online","status_checked_at":"2026-05-13T02:00:07.132Z","response_time":115,"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":[],"created_at":"2024-11-12T22:11:57.404Z","updated_at":"2026-05-13T03:39:07.704Z","avatar_url":"https://github.com/igorprado.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Favicon Notification\n#### A small script (~ 1.4kB minified) to add notification bubble to favicon\n\n## Demo\n\n* [http://igorprado.github.io/favicon-notification](http://igorprado.github.io/favicon-notification)\n\n## Favicon\n\nIf you don't have a nice favicon set on app, read this: [https://github.com/audreyr/favicon-cheat-sheet](https://github.com/audreyr/favicon-cheat-sheet)\n\n## Installing\n\n### NPM:\n\nRun:\n\n```\nnpm install favicon-notification\n```\n\n### Bower\n\nRun\n\n```\nbower install favicon-notification\n```\n\n\n## Using\n\n### NPM\n\nIf you are using Webpack or Browserify, do:\n\n```js\nvar FaviconNotification = require('favicon-notification');\n\n// When your app loads\nFaviconNotification.init({\n  color: '#000000'\n});\n\n// On some event\nFaviconNotification.add();\n\n// If you want to remove the notification\nFaviconNotification.remove();\n\n```\n\n### AMD\n\nIf you are using RequireJS, for example, load normally (remeber to set the alias in your RequireJS config):\n\n```js\ndefine(['FaviconNotification'], function(FaviconNotification){\n  // When your app loads\n  FaviconNotification.init({\n    color: '#000000'\n  });\n\n  // On some event\n  FaviconNotification.add();\n\n  // If you want to remove the notification\n  FaviconNotification.remove();\n});\n```\n\n### Bower\n\nLoad the script file:\n```html\n\u003cscript src=\"./bower_components/favicon-notification/dist/favicon-notification.min.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n// When your app loads\nFaviconNotification.init({\n  color: '#000000'\n});\n\n// On some event\nFaviconNotification.add();\n\n// If you want to remove the notification\nFaviconNotification.remove();\n\u003c/script\u003e\n```\n\n## Methods\n\n## .init(options)\n\nThis script assumes that you have a `/favicon.ico` set. [See how setup your favicon](https://github.com/audreyr/favicon-cheat-sheet). If are you using another path to your favicon, you can set it by passing some options to this method. You can set a different fill and line color too (defaults are fill red and white line).\n\n```js\nFaviconNotification.init({\n  url: '/path/to/favicon.ico',\n  color: '#FFFFFF',\n  lineColor: '#000000'\n});\n```\n\n## .add()\n\nAs the name says, this add the notification bubble to the favicon. If you didn't initialized the script using `.init(options)`, this will use the default options to create and set the new favicon with the notification.\n\n```js\nFaviconNotification.add();\n```\n## .remove()\n\n```js\nFaviconNotification.remove();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorprado%2Ffavicon-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorprado%2Ffavicon-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorprado%2Ffavicon-notification/lists"}