{"id":21480828,"url":"https://github.com/essentialkaos/npck","last_synced_at":"2026-05-05T22:01:25.721Z","repository":{"id":65170108,"uuid":"585179214","full_name":"essentialkaos/npck","owner":"essentialkaos","description":"Go package for unpacking various types of archives","archived":false,"fork":false,"pushed_at":"2026-03-23T03:04:21.000Z","size":493,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-04T19:06:26.640Z","etag":null,"topics":["golang-package","gzip","lz4","zip","zstandard"],"latest_commit_sha":null,"homepage":"https://kaos.sh/g/npck.v2","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/essentialkaos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-04T14:17:49.000Z","updated_at":"2026-03-10T06:58:26.000Z","dependencies_parsed_at":"2023-09-29T13:41:26.385Z","dependency_job_id":"e3924b53-4fba-4ccc-8190-6d5928180a97","html_url":"https://github.com/essentialkaos/npck","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":0.2666666666666667,"last_synced_commit":"ceaa5f4cd0442166a4918df39bf0fcb4de6f4fbf"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/essentialkaos/npck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fnpck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fnpck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fnpck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fnpck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/essentialkaos","download_url":"https://codeload.github.com/essentialkaos/npck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fnpck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32669433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["golang-package","gzip","lz4","zip","zstandard"],"created_at":"2024-11-23T12:18:17.988Z","updated_at":"2026-05-05T22:01:25.695Z","avatar_url":"https://github.com/essentialkaos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"#readme\"\u003e\u003cimg src=\".github/images/card.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://kaos.sh/g/npck.v2\"\u003e\u003cimg src=\".github/images/godoc.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/y/npck\"\u003e\u003cimg src=\"https://app.codacy.com/project/badge/Grade/fdbafdcb2caa4516afbd5feabebce511\" alt=\"Codacy\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/c/npck\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/essentialkaos/npck/badge.svg\" alt=\"Coverage Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/w/npck/ci\"\u003e\u003cimg src=\"https://github.com/essentialkaos/npck/actions/workflows/ci.yml/badge.svg\" alt=\"GitHub Actions CI Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/w/npck/codeql\"\u003e\u003cimg src=\"https://github.com/essentialkaos/npck/actions/workflows/codeql.yml/badge.svg\" alt=\"GitHub Actions CodeQL Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"#license\"\u003e\u003cimg src=\".github/images/license.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#supported-formats\"\u003eSupported formats\u003c/a\u003e • \u003ca href=\"#usage-example\"\u003eUsage example\u003c/a\u003e • \u003ca href=\"#ci-status\"\u003eCI Status\u003c/a\u003e • \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/p\u003e\n\n\u003cbr/\u003e\n\n`npck` is a Go package for unpacking various types of archives.\n\n### Supported formats\n\n* [tar](https://en.wikipedia.org/wiki/Tar_(computing)) (`.tar`)\n* [Gzip](https://www.gnu.org/software/gzip/) (`.gz`, `.tgz`, `.tar.gz`)\n* [bzip2](http://sourceware.org/bzip2/) (`.bz2`, `.tbz2`, `.tar.bz2`)\n* [xz](https://tukaani.org/xz/) (`.xz`, `.txz`, `.tar.xz`)\n* [Zstandart](https://facebook.github.io/zstd/) (`.zst`, `.tzst`, `.tar.zst`)\n* [LZ4](https://lz4.github.io/lz4/) (`.lz4`, `.tlz4`, `.tar.lz4`)\n* [ZIP](https://en.wikipedia.org/wiki/ZIP_(file_format)) (`.zip`)\n\n### Usage example\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n  \"github.com/essentialkaos/npck/v2\"\n)\n\nfunc main() {\n  file := \"file.tar.gz\"\n  err := npck.Unpack(file, \"/home/john\")\n\n  if err != nil {\n    fmt.Printf(\"Error: Can't unpack %s: %v\\n\", file, err)\n    return\n  }\n\n  fmt.Printf(\"File %s successfully unpacked!\\n\", file)\n}\n```\n\n### CI Status\n\n| Branch | Status |\n|--------|--------|\n| `master` | [![CI](https://github.com/essentialkaos/npck/actions/workflows/ci.yml/badge.svg?branch=master)](https://kaos.sh/w/npck/ci?query=branch:master) |\n| `develop` | [![CI](https://github.com/essentialkaos/npck/actions/workflows/ci.yml/badge.svg?branch=develop)](https://kaos.sh/w/npck/ci?query=branch:develop) |\n\n### Contributing\n\nBefore contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/.github/blob/master/CONTRIBUTING.md).\n\n### License\n\n[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://kaos.dev\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/essentialkaos/.github/refs/heads/master/images/ekgh.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fnpck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fessentialkaos%2Fnpck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fnpck/lists"}