{"id":13693519,"url":"https://github.com/Unknwon/cae","last_synced_at":"2025-05-02T21:32:12.607Z","repository":{"id":57479446,"uuid":"8453027","full_name":"unknwon/cae","owner":"unknwon","description":"Package cae implements PHP-like Compression and Archive Extensions.","archived":false,"fork":false,"pushed_at":"2023-11-05T03:08:34.000Z","size":124,"stargazers_count":37,"open_issues_count":0,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T10:32:52.326Z","etag":null,"topics":["go","lsif-enabled"],"latest_commit_sha":null,"homepage":"","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/unknwon.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":"2013-02-27T09:48:03.000Z","updated_at":"2024-11-17T14:28:05.000Z","dependencies_parsed_at":"2024-06-18T15:21:13.828Z","dependency_job_id":null,"html_url":"https://github.com/unknwon/cae","commit_stats":{"total_commits":90,"total_committers":5,"mean_commits":18.0,"dds":"0.19999999999999996","last_synced_commit":"4b75cb8751cbd6a07a20d265bb0628b73adb522d"},"previous_names":["unknwon/compress"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2Fcae","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2Fcae/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2Fcae/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2Fcae/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unknwon","download_url":"https://codeload.github.com/unknwon/cae/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252109035,"owners_count":21696177,"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","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":["go","lsif-enabled"],"created_at":"2024-08-02T17:01:11.711Z","updated_at":"2025-05-02T21:32:12.192Z","avatar_url":"https://github.com/unknwon.png","language":"Go","funding_links":[],"categories":["开源类库","Open source library"],"sub_categories":["解压缩","Unzip"],"readme":"Compression and Archive Extensions\n==================================\n\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/unknwon/cae/Go?logo=github\u0026style=for-the-badge)](https://github.com/unknwon/cae/actions?query=workflow%3AGo)\n[![codecov](https://img.shields.io/codecov/c/github/unknwon/cae/master?logo=codecov\u0026style=for-the-badge)](https://codecov.io/gh/unknwon/cae)\n[![GoDoc](https://img.shields.io/badge/GoDoc-Reference-blue?style=for-the-badge\u0026logo=go)](https://pkg.go.dev/github.com/unknwon/cae?tab=doc)\n[![Sourcegraph](https://img.shields.io/badge/view%20on-Sourcegraph-brightgreen.svg?style=for-the-badge\u0026logo=sourcegraph)](https://sourcegraph.com/github.com/unknwon/cae)\n\n[中文文档](README_ZH.md)\n\nPackage cae implements PHP-like Compression and Archive Extensions.\n\nBut this package has some modifications depends on Go-style.\n\nReference: [PHP:Compression and Archive Extensions](http://www.php.net/manual/en/refs.compression.php).\n\nCode Convention: based on [Go Code Convention](https://github.com/unknwon/go-code-convention).\n\n### Implementations\n\nPackage `zip`([Go Walker](http://gowalker.org/github.com/unknwon/cae/zip)) and `tz`([Go Walker](http://gowalker.org/github.com/unknwon/cae/tz)) both enable you to transparently read or write ZIP/TAR.GZ compressed archives and the files inside them.\n\n- Features:\n\t- Add file or directory from everywhere to archive, no one-to-one limitation.\n\t- Extract part of entries, not all at once. \n\t- Stream data directly into `io.Writer` without any file system storage.\n\n### Test cases and Coverage\n\nAll subpackages use [GoConvey](http://goconvey.co/) to write test cases, and coverage is more than 80 percent.\n\n### Use cases\n\n- [Gogs](https://github.com/gogits/gogs): self hosted Git service in the Go Programming Language.\n- [GoBlog](https://github.com/fuxiaohei/GoBlog): personal blogging application.\n- [GoBuild](https://github.com/shxsun/gobuild/): online Go cross-platform compilation and download service.\n\n## License\n\nThis project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUnknwon%2Fcae","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FUnknwon%2Fcae","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUnknwon%2Fcae/lists"}