{"id":28926060,"url":"https://github.com/codecrafters-io/logstream","last_synced_at":"2025-10-05T09:56:42.240Z","repository":{"id":48669861,"uuid":"234071129","full_name":"codecrafters-io/logstream","owner":"codecrafters-io","description":"Stream logs to/from Redis using Redis Streams","archived":false,"fork":false,"pushed_at":"2024-12-27T06:50:01.000Z","size":92,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T15:44:46.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/codecrafters-io.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":"2020-01-15T12:01:03.000Z","updated_at":"2025-04-04T02:22:50.000Z","dependencies_parsed_at":"2023-01-30T00:15:45.900Z","dependency_job_id":null,"html_url":"https://github.com/codecrafters-io/logstream","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/codecrafters-io/logstream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecrafters-io%2Flogstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecrafters-io%2Flogstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecrafters-io%2Flogstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecrafters-io%2Flogstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecrafters-io","download_url":"https://codeload.github.com/codecrafters-io/logstream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecrafters-io%2Flogstream/sbom","scorecard":{"id":296137,"data":{"date":"2025-08-11","repo":{"name":"github.com/codecrafters-io/logstream","commit":"c029a12a8d2647d46702f947afd00bcc81c82270"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":0,"reason":"Found 0/4 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/codecrafters-io/logstream/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/codecrafters-io/logstream/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codecrafters-io/logstream/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/codecrafters-io/logstream/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/codecrafters-io/logstream/test.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"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":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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v29 not signed: https://api.github.com/repos/codecrafters-io/logstream/releases/124991437","Warn: release artifact v0.2.2 not signed: https://api.github.com/repos/codecrafters-io/logstream/releases/124992335","Warn: release artifact v28 not signed: https://api.github.com/repos/codecrafters-io/logstream/releases/124991325","Warn: release artifact v27 not signed: https://api.github.com/repos/codecrafters-io/logstream/releases/76304775","Warn: release artifact v26 not signed: https://api.github.com/repos/codecrafters-io/logstream/releases/76073635","Warn: release artifact v29 does not have provenance: https://api.github.com/repos/codecrafters-io/logstream/releases/124991437","Warn: release artifact v0.2.2 does not have provenance: https://api.github.com/repos/codecrafters-io/logstream/releases/124992335","Warn: release artifact v28 does not have provenance: https://api.github.com/repos/codecrafters-io/logstream/releases/124991325","Warn: release artifact v27 does not have provenance: https://api.github.com/repos/codecrafters-io/logstream/releases/76304775","Warn: release artifact v26 does not have provenance: https://api.github.com/repos/codecrafters-io/logstream/releases/76073635"],"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":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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T19:33:19.953Z","repository_id":48669861,"created_at":"2025-08-17T19:33:19.953Z","updated_at":"2025-08-17T19:33:19.953Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278437950,"owners_count":25986760,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":"2025-06-22T11:38:11.103Z","updated_at":"2025-10-05T09:56:42.223Z","avatar_url":"https://github.com/codecrafters-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Execute a program and streams logs to Redis. \n\n# Logstream URL\n\nA logstream URL is of the following format: `\u003credis_uri\u003e/\u003cstream_id\u003e`. If a\nstream already exists, it'll be appended to. \n\n# Usage\n\nProducers:\n\n``` sh\nlogstream --url=\u003clogstream_url\u003e run echo hey\n```\n\nConsumers:\n\n``` sh\nlogstream --url=\u003clogstream_url\u003e follow\n```\n\nThe `follow` command exits with the exit code of the process. \n\nTo append logs but not terminate the stream:\n\n```sh\necho \"hey\" | logstream --url=\u003clogstream_url\u003e append\n```\n\n# Releasing\n\n``` sh\nmake release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecrafters-io%2Flogstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecrafters-io%2Flogstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecrafters-io%2Flogstream/lists"}