Thanks for your interest in contributing! LiteStats is a small, focused project and contributions of all kinds are welcome.
Open a GitHub issue with:
- Your macOS version and Mac model
- Steps to reproduce the problem
- What you expected vs. what happened
- Any relevant screenshots or console logs
Open a GitHub issue describing the feature and why it would be useful. Please check existing issues first to avoid duplicates.
- Fork the repo and create a branch from
master - Make your changes
- Test by building and running the app (
⌘Rin Xcode) - Open a PR against
masterwith a clear description of what changed and why
- Follow standard Swift conventions (camelCase, etc.)
- Keep the project dependency-free — no Swift packages, CocoaPods, or Carthage
- Match the existing code style in the file you're editing
- Keep changes focused — one feature or fix per PR
There is no automated test suite. To verify your changes:
xcodebuild -project LiteStats.xcodeproj -scheme LiteStats -configuration Debug buildOr open LiteStats.xcodeproj in Xcode and press ⌘R.
If you're not sure where to make a change, here's a quick guide:
| What you want to change | Where to look |
|---|---|
| Add or modify a system metric | StatsModel.swift |
| Change the popover UI | ContentView.swift |
| Change the preferences panel | PreferencesView.swift |
| Change app lifecycle or menu bar setup | LiteStatsApp.swift |
See the README for more detail.
By contributing, you agree that your contributions will be licensed under the MIT License.