https://github.com/showxu/cartools
ToolKit for Compiled Asset Catalogs (.car file) written in Swift.
https://github.com/showxu/cartools
asset-catalog car car-unarchiver carfile cartool cartools compiled-catalog-record cuicatalog swfit-cartool swift swift-cartools unarchiver
Last synced: 17 days ago
JSON representation
ToolKit for Compiled Asset Catalogs (.car file) written in Swift.
- Host: GitHub
- URL: https://github.com/showxu/cartools
- Owner: showxu
- License: mit
- Created: 2015-12-22T10:12:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-14T11:48:54.000Z (over 4 years ago)
- Last Synced: 2024-03-15T04:21:43.821Z (about 1 year ago)
- Topics: asset-catalog, car, car-unarchiver, carfile, cartool, cartools, compiled-catalog-record, cuicatalog, swfit-cartool, swift, swift-cartools, unarchiver
- Language: Swift
- Homepage:
- Size: 1.24 MB
- Stars: 55
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
cartools is a series of reverse tools for Compiled Asset Catalogs (.car file) written in pure Swift.
## 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
![]()
**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](https://github.com/0xxd0/cartools/releases).
## 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:
```bash
brew tap 0xxd0/tap
```Install Command Line Tool:
```bash
brew install cartool
```### Usage
```bash
USAGE: cartoolARGUMENTS:
The .car file path to parse.
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`.
```swift
import CartoolKitlet fileURL = URL(fileURLWithPath: filePath)
let reader: Reader = try Reader(.init(fileURL))
let renditions = try reader.read()
```## License
This project is released under the **MIT License**.