SkillAgentSearch skills...

Cartools

ToolKit for Compiled Asset Catalogs (.car file) written in Swift.

Install / Use

/learn @showxu/Cartools

README

<p align="center"> <img src="https://raw.githubusercontent.com/0xxd0/cartools/master/static/media/AppIcon.png" alt="cartools" title="cartools" width="256"/> <p align="center"><b>cartools</b> is a series of reverse tools for Compiled Asset Catalogs (.car file) written in pure Swift.</p> <p align="center"> <a href="https://github.com/0xxd0/cartools/actions?query=workflow%3Abuild"><img src="https://github.com/0xxd0/cartools/workflows/build/badge.svg?branch=master"></a> </p>

Products Contains

  • macOS Application. Written in pure Swift, let you browse renditions and export resources in Asset.car file.
  • Command Line Tools. Extracting Asset.car file in terminal.
  • QuickLook Preview Extension. Inspector for Asset.car file without open it.
  • Framework. The underlying infrastructure called CartoolKit. which is based on PrivateFramework CoreUI, CoreThemeDefinition.

macOS App Previews and Screenshots

<p align="center"> <img src="https://raw.githubusercontent.com/0xxd0/cartools/master/static/media/AppHero.png" alt="Final Car Pro" title="Final Car Pro" width="440"/> </p>

Final Car Pro is a macOS Application which give you the ability to browse, classify, filter renditions in compiled asset catalog and export resource files.

Features

  • [x] Document based car file browser.
  • [x] Filter renditions by rendition type.
  • [x] Search renditions by file name and rendition name.
  • [x] Group renditions by rendition name for exported resources.
  • [x] Drag to export.
  • [x] Vector resource annotation.
  • [x] SVG resource display and export.
  • [x] PDF resource display and export.
  • [ ] Dark mode support.

How To Install

Download directly

Download latest binary release from release page.

<!-- #### Homebrew - Install the tap ```bash brew tap 0xxd0/tap ``` - Install Application ```bash brew cask install Final\ Car\ Pro ``` -->

Command Line Tools

cartool is a swift Command Line Tools which allow you extract the resource of car file in terminal.

How To Install

Homebrew

Install the tap:

brew tap 0xxd0/tap

Install Command Line Tool:

brew install cartool
<!-- #### MacPort -->

Usage

USAGE: cartool <file-path> <output>

ARGUMENTS:
  <file-path>             The .car file path to parse. 
  <output>                Output dir to place extracted car file resources. 

OPTIONS:
  -h, --help              Show help information.

Framework

CartoolKit is the underlying framework which empowered macOS Application and Command Line Tool.

Usage

The simplest use-case is setting a url to Reader.

import CartoolKit

let fileURL = URL(fileURLWithPath: filePath)
let reader: Reader<LazyRendition> = try Reader(.init(fileURL))
let renditions = try reader.read()
<!-- ### Install --> <!-- #### Carthage --> <!-- #### CocoaPods. --> <!-- #### Swift Package Manager -->

License

This project is released under the MIT License.

View on GitHub
GitHub Stars83
CategoryDevelopment
Updated28d ago
Forks8

Languages

Swift

Security Score

100/100

Audited on Mar 9, 2026

No findings