{"id":16679536,"url":"https://github.com/mfelsche/ponyzip","last_synced_at":"2026-03-18T21:24:14.262Z","repository":{"id":143100606,"uuid":"364352022","full_name":"mfelsche/ponyzip","owner":"mfelsche","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-07T20:56:32.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T23:47:24.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Pony","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/mfelsche.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-04T18:37:00.000Z","updated_at":"2024-04-17T21:06:27.000Z","dependencies_parsed_at":"2023-03-27T15:32:31.418Z","dependency_job_id":null,"html_url":"https://github.com/mfelsche/ponyzip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mfelsche/ponyzip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fponyzip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fponyzip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fponyzip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fponyzip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfelsche","download_url":"https://codeload.github.com/mfelsche/ponyzip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fponyzip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29508741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"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-10-12T13:35:59.197Z","updated_at":"2026-02-16T13:08:25.220Z","avatar_url":"https://github.com/mfelsche.png","language":"Pony","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PonyZip\n\nReading .zip files with Pony.\n\nWrapper around [`libzip`](https://libzip.org).\n\n## Usage\n\n- Add `ponyzip` to your dependencies\n\n```sh\ncorral add mfelsche/ponyzip --revision=v0.1.0\n```\n\n- Install [`libzip`](https://libzip.org).\n- Open a zipfile:\n\n```pony\nuse \"ponyzip\"\nuse \"files\"\nuse \"format\"\n\nactor Main\n  new create(env: Env) =\u003e\n    try\n      let path_str = env.args(env.args.size() - 1)?\n      let path = FilePath(env.root as AmbientAuth, path_str)?\n      let archive = match Zip.open(path)\n      | let archive: ZipArchive =\u003e archive\n      | let e: ZipError =\u003e\n        env.err.print(e.string())\n        error\n      end\n      for stat in archive.stats() do\n        env.out\n          .\u003ewrite(stat.name as String)\n          .\u003ewrite(\"\\t\")\n          .\u003ewrite(\n            Format.int[U64]((stat.size as U64) where width=8))\n          .print(\" bytes\")\n      end\n    end\n```\n- Checkout more examples in [examples](examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfelsche%2Fponyzip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfelsche%2Fponyzip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfelsche%2Fponyzip/lists"}