{"id":36737991,"url":"https://github.com/tlog-dev/eazy","last_synced_at":"2026-01-12T12:26:14.581Z","repository":{"id":181646371,"uuid":"667088307","full_name":"tlog-dev/eazy","owner":"tlog-dev","description":"Logging focused compression.","archived":false,"fork":false,"pushed_at":"2025-03-01T03:56:42.000Z","size":297,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T05:47:00.353Z","etag":null,"topics":["compression","compression-algorithm","go","golang","logging","lz4","snappy","tlog"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tlog-dev.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":"2023-07-16T15:47:35.000Z","updated_at":"2025-03-01T03:56:46.000Z","dependencies_parsed_at":"2023-11-11T19:27:04.614Z","dependency_job_id":"dc899f13-c371-4820-8bf1-6a9eab7c4387","html_url":"https://github.com/tlog-dev/eazy","commit_stats":null,"previous_names":["tlog-dev/eazy"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/tlog-dev/eazy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlog-dev%2Feazy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlog-dev%2Feazy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlog-dev%2Feazy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlog-dev%2Feazy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tlog-dev","download_url":"https://codeload.github.com/tlog-dev/eazy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlog-dev%2Feazy/sbom","scorecard":{"id":889468,"data":{"date":"2025-08-11","repo":{"name":"github.com/tlog-dev/eazy","commit":"368636b97f0ce79e9250618328d5abf90fabbc49"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"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/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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/golangci-lint.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":"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":"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":"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/go.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/tlog-dev/eazy/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/tlog-dev/eazy/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/tlog-dev/eazy/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/tlog-dev/eazy/golangci-lint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/tlog-dev/eazy/golangci-lint.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: GoBuiltInFuzzer integration found: eazy_test.go:1295","Info: GoBuiltInFuzzer integration found: eazy_test.go:1364"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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":"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":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"}}]},"last_synced_at":"2025-08-24T11:14:39.798Z","repository_id":181646371,"created_at":"2025-08-24T11:14:39.798Z","updated_at":"2025-08-24T11:14:39.798Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"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":["compression","compression-algorithm","go","golang","logging","lz4","snappy","tlog"],"created_at":"2026-01-12T12:26:14.521Z","updated_at":"2026-01-12T12:26:14.575Z","avatar_url":"https://github.com/tlog-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Documentation](https://pkg.go.dev/badge/tlog.app/go/eazy)](https://pkg.go.dev/tlog.app/go/eazy?tab=doc)\n[![Go workflow](https://github.com/tlog-dev/eazy/actions/workflows/go.yml/badge.svg)](https://github.com/tlog-dev/eazy/actions/workflows/go.yml)\n[![CircleCI](https://circleci.com/gh/tlog-dev/eazy.svg?style=svg)](https://circleci.com/gh/tlog-dev/eazy)\n[![codecov](https://codecov.io/gh/tlog-dev/eazy/tags/latest/graph/badge.svg)](https://codecov.io/gh/tlog-dev/eazy)\n[![Go Report Card](https://goreportcard.com/badge/tlog.app/go/eazy)](https://goreportcard.com/report/tlog.app/go/eazy)\n![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/tlog-dev/eazy?sort=semver)\n\n# eazy\n\neazy is a compression algorithm, file format, and library. And it's designed specially for logging.\nIt uses very similar compression algorithm as snappy and LZ4.\n\nThe main difference is that snappy and LZ4 buffer data and compress it by blocks.\neazy on the other hand compresses each individual `Write` and writes it to the underlaying `io.Writer` immediately.\nSo one `eazy.Writer.Write(uncopressed)` results in exactly one `underlayingWriter.Write(compressed)`.\n\nThat means no data will be lost in case of panic or if the app has been killed.\n\nCompression is based on the idea that logs contain repeating sequences of bytes,\nsuch as constant log messages, trace ids, keys in key-value pairs, similar values logged multiple times (client ip, request path).\nRepeating parts are encoded as pairs of length and offset of the previous occurrence.\n\nSimilar sequences are searched in the last `block size` bytes of the data stream. This is similar to block size in snappy or lz4 algorithm.\n\nStream is started with `eazy.Magic` so the format can be detected.\n\nMultiple streams can be safely concatenated. Zero bytes padding may also be safely added.\n\n## Usage\n\n```\nfunc CompressingWriter(w io.Writer) io.Writer {\n\treturn eazy.NewWriter(w, eazy.MiB, 1024) // block and hash table sizes must be a power of two\n}\n\nfunc DecompressingReader(r io.Reader) io.Reader {\n\treturn eazy.NewReader(r)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlog-dev%2Feazy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftlog-dev%2Feazy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlog-dev%2Feazy/lists"}