Contributing to ClearDisk
March 2, 2026 ยท View on GitHub
Thank you for your interest in contributing to ClearDisk! Every contribution helps make this tool better for developers everywhere.
Ways to Contribute
Report Bugs
- Open an issue with steps to reproduce
- Include your macOS version and ClearDisk version
Suggest Features
- Open an issue describing the feature
- Explain the use case and how it would help developers
Add New Cache Types
ClearDisk supports 15+ cache types. If you know of a developer cache that's missing:
- Fork the repo
- Add the cache definition in the scanner module
- Submit a PR with a description of the cache type and typical size
Improve Documentation
- Fix typos, improve descriptions
- Add translations
- Improve the README
Code Contributions
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -m "Add my feature" - Push to your fork:
git push origin feature/my-feature - Open a Pull Request
Development Setup
Requirements
- macOS 14+ (Sonoma or later)
- Xcode 15+
- Swift 5.9+
Build from Source
git clone https://github.com/bysiber/cleardisk.git
cd cleardisk
open ClearDisk.xcodeproj
Build and run with Cmd+R in Xcode.
Code Style
- Follow Swift API Design Guidelines
- Use SwiftUI for all new UI components
- Keep functions small and focused
- Add comments for non-obvious logic
Pull Request Guidelines
- Keep PRs focused on a single change
- Include a clear description of what changed and why
- Test on macOS 14+ before submitting
- Screenshots/GIFs welcome for UI changes
Questions?
Open a Discussion -- we're happy to help!