{"id":32233969,"url":"https://github.com/alfalabs/alfa-clock","last_synced_at":"2026-02-20T16:02:26.875Z","repository":{"id":57175751,"uuid":"136389688","full_name":"alfalabs/alfa-clock","owner":"alfalabs","description":"non-ticking clock animated in CSS","archived":false,"fork":false,"pushed_at":"2018-06-08T15:48:47.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-23T08:38:40.690Z","etag":null,"topics":["polymer-components","polymer2"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/alfalabs.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":"2018-06-06T21:47:55.000Z","updated_at":"2018-06-08T15:48:48.000Z","dependencies_parsed_at":"2022-09-03T23:31:47.207Z","dependency_job_id":null,"html_url":"https://github.com/alfalabs/alfa-clock","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alfalabs/alfa-clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfalabs%2Falfa-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfalabs%2Falfa-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfalabs%2Falfa-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfalabs%2Falfa-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfalabs","download_url":"https://codeload.github.com/alfalabs/alfa-clock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfalabs%2Falfa-clock/sbom","scorecard":{"id":182937,"data":{"date":"2025-08-11","repo":{"name":"github.com/alfalabs/alfa-clock","commit":"c2e18081d74c6c2a70f9be0d0cd0e474f6f0389d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"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":"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":"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/10 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":"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":"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":"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":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"}}]},"last_synced_at":"2025-08-16T19:12:08.895Z","repository_id":57175751,"created_at":"2025-08-16T19:12:08.895Z","updated_at":"2025-08-16T19:12:08.895Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["polymer-components","polymer2"],"created_at":"2025-10-22T12:43:41.988Z","updated_at":"2026-02-20T16:02:26.870Z","avatar_url":"https://github.com/alfalabs.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/alfalabs/alfa-clock)\r\n\r\n# alfa-clock\r\n\r\nPolymer web component to display a clock.\r\n\r\n\u003cimg src=\"clock.png\"\u003e\r\n\r\n## use example:\r\n\r\n```html\r\n   \u003clink rel=\"import\" href=\"alfa-clock.html\"\u003e\r\n\r\n    \u003cstyle\u003e\r\n        alfa-clock {float: left;}\r\n        alfa-clock.red{\r\n            --seconds-color: red; \r\n            --ring-css: 6px solid red; \r\n            --hands-color: darkred; \r\n            --shadow-color: none; \r\n            --face-filter: invert(.5) sepia(5) saturate(25) hue-rotate(-45deg); \r\n        }\r\n        alfa-clock.bigger{ --size: 400px; --brand-font: 2em Arial}\r\n    \u003c/style\u003e\r\n    \u003calfa-clock\u003e\u003c/alfa-clock\u003e\r\n    \u003calfa-clock class=\"red\" clock-brand=\"red clock\"\u003e\u003c/alfa-clock\u003e\r\n    \u003calfa-clock class=\"bigger\" clock-brand=\"bigger clock\"\u003e\u003c/alfa-clock\u003e\r\n\r\n```\r\n\r\n## CSS API\r\n\r\n\r\n|variable|default|descr|\r\n|---|---|---|\r\n|--size:| 250px;|clock diameter|\r\n|--seconds-color:| lime;|seconds hand color|\r\n|--hands-color: |white;|other hands color|\r\n|--shadow-color: |black;|other hands shadow|\r\n|-ring-css:| 2px solid silver;|css for a ring around the clock face|\r\n|--brand-font:| 1em Arial, Helvetica, sans-serif;| css font for a branding text on clock face|\r\n|--brand-color: |grey; | NOTE: SVG filter will change this color |\r\n|--face-filter: |none; | to color an SVG face|\r\n\r\n## face-filter\r\nThe clock face is made with SVG image containing numbers for hours.  \r\nTo change the color of SVG, a CSS `filter` is applied.  \r\n`--face-filter: invert(.5) sepia(5) saturate(25) hue-rotate(-45deg);`  \r\nTry to manipulate `saturation` and `hue-rotate` to achieve desired color. It is hard, but blame the CSS committee.\r\n\r\nExamples of colors:  \r\n```css\r\n--face-filter: invert(1); /* black */\r\n--face-filter: invert(.5) sepia(1) saturate(5) hue-rotate(60deg);  /* green */\r\n--face-filter: invert(.5) sepia(5) saturate(25) hue-rotate(-45deg); /* red */\r\n```\r\n## single page applications\r\n\r\nThis clock is based on CSS animations. When a page is loosing \"focus\" the CSS animation stops. When the page with clock is reopened, the clock resunmes animations and is late!\r\nTo avoid this, run  \r\n`this.$$('alfa-clock').start();`  \r\neach time the containing page is reopened.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfalabs%2Falfa-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfalabs%2Falfa-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfalabs%2Falfa-clock/lists"}