SkillAgentSearch skills...

Unpackit

Go package to natively decompress and unarchive tar.gz, tar.bzip2, tar.xz, zip and tar files.

Install / Use

/learn @c4milo/Unpackit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

UnpackIt

GoDoc Build Status

This Go library allows you to easily unpack the following files using magic numbers:

  • tar.gz
  • tar.bzip2
  • tar.xz
  • zip
  • tar

Usage

Unpack a file:

    file, _ := os.Open(test.filepath)
    err := unpackit.Unpack(file, tempDir)

Unpack a stream (such as a http.Response):

    res, err := http.Get(url)
    err := unpackit.Unpack(res.Body, tempDir)
View on GitHub
GitHub Stars84
CategoryDevelopment
Updated1mo ago
Forks20

Languages

Go

Security Score

100/100

Audited on Feb 11, 2026

No findings