{"id":20226281,"url":"https://github.com/skillcoder/hrrule-go","last_synced_at":"2026-02-24T07:32:27.001Z","repository":{"id":144227432,"uuid":"310060661","full_name":"skillcoder/hrrule-go","owner":"skillcoder","description":"Library for make human readable recurrence rules from iCalendar RRULE (RFC5545)","archived":false,"fork":false,"pushed_at":"2022-09-15T19:48:11.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T21:16:17.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/skillcoder.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":"2020-11-04T16:41:25.000Z","updated_at":"2023-12-01T16:28:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"48429154-0629-47a3-b701-4f85257fce05","html_url":"https://github.com/skillcoder/hrrule-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/skillcoder/hrrule-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillcoder%2Fhrrule-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillcoder%2Fhrrule-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillcoder%2Fhrrule-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillcoder%2Fhrrule-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skillcoder","download_url":"https://codeload.github.com/skillcoder/hrrule-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillcoder%2Fhrrule-go/sbom","scorecard":{"id":829593,"data":{"date":"2025-08-11","repo":{"name":"github.com/skillcoder/hrrule-go","commit":"13747df6f92dff38f2066318eded08901a2fe020"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"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":"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: Apache License 2.0: 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 'main'"],"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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp"],"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-23T17:23:56.645Z","repository_id":144227432,"created_at":"2025-08-23T17:23:56.645Z","updated_at":"2025-08-23T17:23:56.645Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29774913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: 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":[],"created_at":"2024-11-14T07:17:05.252Z","updated_at":"2026-02-24T07:32:26.968Z","avatar_url":"https://github.com/skillcoder.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hrrule-go 🧐👀⚛️📜\n\n[![made with Go](https://img.shields.io/badge/made%20with-Go-brightgreen)](http://golang.org)\n[![License](https://img.shields.io/badge/License-Apache%202.0-brightgreen)](https://github.com/skillcoder/hrrule-go/blob/main/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/skillcoder/hrrule-go)](https://github.com/skillcoder/hrrule-go/issues)\n\nLibrary for make **h**uman **r**eadable **r**ecurrence **rule**s from iCalendar RRULE (RFC5545) in Golang  \nIt supports serialization of recurrence rules to natural language, with internationalisation!\n\nIt is a partial port of the rrule module from [rrule.js](https://github.com/jakubroztocil/rrule) library.\n\n## Using\n```\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/nicksnyder/go-i18n/v2/i18n\"\n\t\"golang.org/x/text/language\"\n\n\t\"github.com/skillcoder/hrrule-go\"\n)\n\nfunc main() {\n\thRule, err := hrrule.New(i18n.NewBundle(language.AmericanEnglish))\n\tif err != nil {\n\t\tlog.Fatalf(\"filed to init rrule humanizer: %v\", err)\n\t}\n\n\trOption, err := hrrule.StrToROption(\"FREQ=MONTHLY;INTERVAL=1;BYDAY=-1FR;UNTIL=20241229T155400Z\")\n\tif err != nil {\n\t\tlog.Fatalf(\"rrule string to option: %v\", err)\n\t}\n\n\tnlString, err := hRule.Humanize(rOption, \"en-US\")\n\tif err != nil {\n\t\tlog.Fatalf(\"humanize rrule to string: %v\", err)\n\t}\n\tfmt.Println(nlString)\n}\n```\n\n## Translation to new language\nSee docs in https://github.com/nicksnyder/go-i18n\n1. `touch l10n/translate.ru.toml`\n2. `goi18n merge l10n/active.en-US.toml translate.ru.toml`\n3. After `translate.ru.toml` has been translated, move it to `l10n/active.ru-RU.toml`.\n\n🚧 It is necessary to agreement on the declension, cases and kind in the languages in which they exist 🚧\n\n## TODO\n * Day of the week translation support\n * Months translation support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskillcoder%2Fhrrule-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskillcoder%2Fhrrule-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskillcoder%2Fhrrule-go/lists"}