CleanContacts is a macOS application that helps you manage and clean up duplicate contacts in your address book. It provides an easy-to-use interface for identifying and merging duplicate contacts based on names, phone numbers, and email addresses.
- Clone the repository
git clone https://github.com/samirspatel/CleanContacts.git
- Open CleanContacts.xcodeproj in Xcode
- Build and run the project (⌘R)
- Xcode 15.0 or later
- macOS Sonoma 14.0 or later
- Apple Developer account (for signing)
-
Automatic Duplicate Detection: Intelligently identifies potential duplicate contacts based on:
- Matching names
- Matching phone numbers
- Matching email addresses
-
Smart Grouping: Groups related contacts together even if they have slight variations in their information
-
Detailed Comparison: View detailed information for each potential duplicate, including:
- Full names
- Phone numbers
- Email addresses
-
Easy Merging: Merge duplicate contacts with a single click while preserving all unique information
- macOS 14.0 or later
- Access to Contacts.app (permission required)
CleanContacts requires access to your contacts to function. The app:
- Only reads contact information locally
- Does not store or transmit any contact data
- Requires explicit permission to access your contacts
- Launch the app
- Grant contacts access when prompted
- Wait for the app to scan your contacts
- Review the identified duplicate groups
- Select a group to view detailed comparison
- Click "Merge" to combine duplicate contacts
Built using:
- SwiftUI
- Contacts framework
- SwiftData
- Swift 5.0
ContentView.swift
: Main UI and contact management logicContact.swift
: Contact model definitionCleanContactsApp.swift
: App entry point and window management
- Ensure you have the latest Xcode installed
- Install the macOS SDK
- Configure signing capabilities in Xcode:
- Enable Contact access in Capabilities
- Set up your development team
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
MIT License
Copyright (c) 2024 Samir Patel
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Samir Patel