{"id":19483165,"url":"https://github.com/mmgrant73/progress-circle","last_synced_at":"2026-06-11T13:31:33.476Z","repository":{"id":36771731,"uuid":"229873169","full_name":"mmgrant73/progress-circle","owner":"mmgrant73","description":"A custom web component; A progressbar wrap around an icon.  When this html element is click a custom modal will appear ","archived":false,"fork":false,"pushed_at":"2022-02-12T21:23:38.000Z","size":289,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T05:27:33.352Z","etag":null,"topics":["component","css","css3","html","html-element","html5","javascript","progress-circle","progressbar","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mmgrant73.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}},"created_at":"2019-12-24T04:59:27.000Z","updated_at":"2020-02-08T09:19:58.000Z","dependencies_parsed_at":"2022-08-08T17:01:17.759Z","dependency_job_id":null,"html_url":"https://github.com/mmgrant73/progress-circle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmgrant73/progress-circle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fprogress-circle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fprogress-circle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fprogress-circle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fprogress-circle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmgrant73","download_url":"https://codeload.github.com/mmgrant73/progress-circle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fprogress-circle/sbom","scorecard":{"id":654352,"data":{"date":"2025-08-11","repo":{"name":"github.com/mmgrant73/progress-circle","commit":"96a31de656d7068b69b61a8913ab760e9ababb6e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"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":"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":"Code-Review","score":0,"reason":"Found 0/17 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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T14:16:28.944Z","repository_id":36771731,"created_at":"2025-08-21T14:16:28.944Z","updated_at":"2025-08-21T14:16:28.944Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34201840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["component","css","css3","html","html-element","html5","javascript","progress-circle","progressbar","web"],"created_at":"2024-11-10T20:13:53.681Z","updated_at":"2026-06-11T13:31:33.443Z","avatar_url":"https://github.com/mmgrant73.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Progress-Circle:\r\n\r\n### What is it?\r\nProgress-Circle is a custom web component that wraps a progress bar around an Icon of your choosing.\r\nWhen you click on this HTML element it will display a modal that you can customize.  Click on it again\r\nand the modal will disppear.  There is an image of it below.\r\n\r\n![Alt text](/progress-circle.png?raw=true \"Circle Progressbar\")\r\n\r\n[Click here for Demo](https://mmgrant73.github.io/)\r\n\r\n### How to use it?\r\nIt is quite easy to use it on your webpage. Just follow the below steps:\r\n1. Include the icon link in your header.  For example if you are using Font Awesome 4 it would be\r\n\r\n```\r\n    \u003clink rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\"\u003e\r\n```    \r\n\r\n\r\n2. Include the link to the script file that holds the this custom web component (progress-circle.js) near the bottom of \r\n   the body section of your webpage.  See below\r\n   \r\n```\r\n    \u003cscript src=\"./progresscircle.js\"\u003e\u003c/script\u003e\r\n``` \r\n\r\n3)  Then use the custom element tags on your webpage.\r\n\r\n```\r\n    \u003cprogress-circle\u003eTest\u003c/progres-circle\u003e\r\n```\r\n\r\nThat is all you have to do to use this custom element.  There is an example HTML page (progress-circle.html) that shows how to use it.\r\n\r\n\r\n```\r\n    \u003c!DOCTYPE html\u003e\r\n\t\u003chtml\u003e\r\n\t  \u003chead\u003e\r\n\t\t\u003c!-- You must link in the file that holds the icon type that you are using like I did below --\u003e\r\n\t\t\u003clink rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\"\u003e\r\n\t\t\u003ctitle\u003eProgress Circle\u003c/title\u003e\r\n\t  \u003c/head\u003e\r\n\t  \u003cbody\u003e\r\n\t\t\r\n\t\t\u003ch1 style=\"text-align: center;\"\u003eThis is a test of the progress-circle component\u003c/h1\u003e\r\n\t\t\r\n\t\t\u003cprogress-circle total=\"10\" current=\"5\" badgetext=\"5\" bgcolor=\"yellow\" progresscolor=\"green\" icontype=\"fa fa-thumbs-up\" modaltitle=\"Modal Title\" \u003e\r\n\t\t\t\u003cp\u003eDescription of the Modal\u003c/p\u003e\t\t\t\t\t\r\n\t\t\t\u003cbutton type=\"button\"\u003eLink\u003c/button\u003e\r\n\t\t\u003c/progress-circle\u003e\r\n\t\t\r\n\t\t\u003c!-- You must include the line below as it holds the code of this custom element --\u003e\r\n\t\t\u003cscript src=\"./progresscircle.js\"\u003e\u003c/script\u003e\r\n\r\n\t  \u003c/body\u003e\r\n\t\u003c/html\u003e\r\n```\t\r\n\r\n\r\n### There are 8 properties (7 attributes and the innerHTML) that you can use to customize this element.\r\n\r\n1. total - Is the total number of section for the progressbar.  The max number\r\n2. current - Is the current status of the progressbar thus if it's set to 4 and total to 10 then the progress bar would be 40% filled\r\n3. badgetext - Is the text that will appear in the badge.  The bottom circle.\r\n4. bgcolor - Will be the background color of the progress-circle element and the modal that will appear if you click on it\r\n5. progresscolor - Will be the color of the progressbar and the badge\r\n6. icontype - the class name of the icon you want to appear on this element.  Note must link in the icon like I did above\r\n7. modaltitle - Will be the title of the modal that will appear if you click on the element.  IF you click on the element when\r\n   the modal is visible it will make it disappear.\r\n8. The HTML that is between the this element tag will be the body of the modal.\r\n\r\nNote: That each of these attributes have defaults values but you should at less set icontype, total, current, Modal Title, and Modal Body\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmgrant73%2Fprogress-circle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmgrant73%2Fprogress-circle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmgrant73%2Fprogress-circle/lists"}