Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/boscojwho/chinotto

A sweet little tool for managing the bitter taste of Xcode using up your Mac's storage space.
https://github.com/boscojwho/chinotto

macos swift swiftui xcode

Last synced: about 1 month ago
JSON representation

A sweet little tool for managing the bitter taste of Xcode using up your Mac's storage space.

Awesome Lists containing this project

README

        

**Warning**
- *Chinotto is currently in active development (alpha build, not feature-complete).*
- *Chinotto currently does not run in an App Sandbox.*
- *Built for Xcode 15, may not work as expected for older Xcode versions*
- *Use at your own risk =)*

**Notes**
- *Most of the functionality is currently in `CoreSimulator/Devices`, where you can inspect individual devices.*

# Chinotto
A sweet little tool for managing the bitter taste of Xcode using up your Mac's storage space.

Screenshot 2023-11-13 at 5 13 08 PM

## Instructions
1. Checkout latest commit on `/main` branch.
2. Go to the project's `Chinotto.xcconfig` (DEBUG configuration) file, and replace placeholder values with your own Team ID and bundle id prefix for code-signing.
3. Build and run via Xcode 15 on macOS 14.0 (or higher).
4. Click the "Calculate" button on "All Directories" or on an individual directory.
5. That's it!
6. You can use Spotlight and search for "Chinotto" for subsequent launches, if you wish to bypass Xcode.

## Screenshots
### Main Window

Screenshot 2023-11-28 at 6 53 43 PM

### Menu Bar extra app

Screenshot 2023-11-28 at 6 53 46 PM

### Settings/Preferences

Screenshot 2023-11-28 at 6 53 51 PM

## Contribute!
Feel free to suggest new features, file bug reports, or provide feedback in the issues tracker 😀
- Remember: Go to the project's `Chinotto.xcconfig` (DEBUG configuration) file, and replace placeholder values with your own Team ID and bundle id prefix for code-signing.

## Why?
One of the pain points of using macOS is seeing half of your Mac's storage consumed by some unknown force called "System Data". Apple does provide some tools in System Settings to help manage this issue, but it could be much better, especially for Xcode users.

Screenshot 2023-11-13 at 4 57 07 PM

This is where Chinotto can help.

## See it in action

System Settings (System Preferences) does not accurately report Xcode's actual disk space usage. For example, on my MacBook Air M1 (256 GB/8 GB) running Sonoma, Storage reports `Developer` uses 23.7 GB of disk space, but if we run Chinotto, we find that the actual usage is at 97.45 GB, which is more than 4x the system's reported value.

System Settings:

Screenshot 2023-11-13 at 4 49 50 PM

Chinotto:

Screenshot 2023-11-13 at 4 51 25 PM

Finder:
- Finder reports the same values as Chinotto.
Screenshot 2023-11-13 at 5 24 03 PM

## I made this because
So who cares, as long as you still have storage left at the end of the day? Well, if you are using a base model Apple Silicon Mac with 256 GB storage and 8 GB RAM, your applications will most likely be heavily relying on memory swap. This is quite fine, until your Mac only has about 10-20% of its full storage capacity left, then for whatever reason, Apple Silicon starts to drain your Mac's battery faster than an Intel Mac. This is not great, and to be honest, unacceptable, given Apple's claims that base model Macs are "efficient" [see claim here] (https://www.macrumors.com/2023/11/08/8gb-ram-m3-macbook-pro-like-16-gb-pc/).

## Prior Art
Here’s some prior art (non-exhaustive list), check them out if Chinotto doesn’t meet your needs! 🥹
- Xcode Trash Remover https://github.com/FrankKair/xcode-trash-remover
- Xcode Dev Cleaner https://github.com/vashpan/xcode-dev-cleaner
- Cleaner for Xcode https://github.com/waylybaye/XcodeCleaner-SwiftUI