GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - coderobe/czar: xar unarchiver (.xar, .pkg, .xip)

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
bzip2.cr
bzip2.cr
 
 
czar.cr
czar.cr
 
 
memfile.cr
memfile.cr
 
 
shard.lock
shard.lock
 
 
shard.yml
shard.yml
 
 
sliceio.cr
sliceio.cr
 
 

Repository files navigation

czar

clean-room implementation of a XAR unarchiver

status

  • Header
    • Magic
    • Header size
    • Version
    • TOC length (compressed)
    • TOC length (uncompressed)
    • Checksum algorithm
      • None
      • SHA1
      • MD5
  • TOC
    • Extraction
    • Parsing
    • Checksum validation
  • Heap
    • Extraction
      • gzip/zlib
      • bzip2
    • Checksum validation
  • File Metadata

current features

  • archive info
  • file listing
  • checksum validation
  • decompression

usage

Usage: czar [options] <xar_file>
Options:
  --strict      Fail extraction if any checksum validation fails
  --no-extract  Only validate checksums, don't extract files
  --help, -h    Show this help message

Files are extracted to ./<xar_file>.extracted/

examples

# Extract archive with checksum validation
./czar archive.xar

# Validate checksums only (no extraction)
./czar --no-extract archive.xar

# Strict mode - fail if any checksum is invalid
./czar --strict archive.xar

This project, initially authored by Mara Robin Broda in 2018, is licensed under the GNU Lesser General Public License v3.0

About

xar unarchiver (.xar, .pkg, .xip)

Topics

unarchiverxar

Resources

Readme
Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.