kateinoigakukun

A pure Swift library for reading and writing TAR archives

16
0
100% credibility
Found Apr 07, 2026 at 16 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Swift
AI Summary

A pure Swift library for reading from and writing to TAR archive files, supporting extensions for long paths and metadata, without system dependencies.

How It Works

1
🔍 Find a simple tool

You discover swift-tar, a handy way to pack and unpack files in your Swift projects without extra baggage.

2
Add it easily

You connect it to your project in moments, ready to handle archives right away.

3
📦 Open any archive

You peek inside any archive file and list out what's packed away, seeing paths and sizes clearly.

4
📤 Unpack files

You pull out the contents to a folder, keeping everything organized and safe.

5
📥 Pack your files

You bundle up your own files into a neat archive, adding folders or links as needed.

6
Works everywhere fast

It runs smoothly on any device, even tiny ones, matching the speed of pro tools.

Archives mastered

Your app now creates and reads archives perfectly, cross-platform and reliable.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 16 to 16 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is swift-tar?

swift-tar is a pure Swift library for reading and writing TAR archives, handling everything from iteration over entries to streaming extraction and creation without Foundation or C dependencies. It processes .tar files on macOS, Linux, Windows, WebAssembly, and Embedded Swift, supporting GNU long paths and PAX extensions for real-world archives like those from swift.org. Developers get a lightweight drop-in for TAR ops in github pure data flows.

Why is it gaining traction?

In a world of C-heavy libarchive bindings, this stands out as pure Swift—no system frameworks needed—while matching or beating bsdtar extraction speeds on large files (2.9s vs 3.1s for 3.5GB on M4 Max). Streaming APIs let you unpack chunks without loading full archives into memory, ideal for swift target pipelines. Cross-platform purity echoes github pure bash bible simplicity but for Swift.

Who should use this?

Swift CLI authors building tools like package extractors or deployment scripts that handle TARs from CI/CD. Server-side devs processing uploaded archives in Vapor or similar without C deps. WASM/embedded engineers needing TAR in browser or bare-metal swift pure white environments.

Verdict

Promising pure Swift TAR with strong benchmarks, examples, and fuzz testing, but 16 stars and 1.0% credibility score signal early maturity—docs are solid, but adoption is nascent. Grab it for dep-free prototypes; production waits on more battle-testing.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.