A Plugin to synchronize Obsidian with contact data from your Mac's Contacts Application.
If your are updating this plugin from any version <2.0.0: BACKUP your previous contact notes: !! THEY WILL BE OVERWRITTEN !!
Sync Contacts on macOS: Syncs contacts to sync your contactsSmart Lists are a native feature of your Contacts App. To create a new Smart List open your Contacts application and use the menu bar to navigate to: File > Smart Lists > New Smart List.
Give it a name (default plugin setting is 'Obsidian'), and configure which of your contacts should be included.
The default template can be found at https://github.com/motschel123/Mac-Contact-Sync-Obsidian/blob/main/src/consts.ts.
You can use a custom template to define how the data will be saved in your notes. Tags in the form of {{tag}} will be replaced with the corresponding data. The following tags are available:
{{Name}}
{{Nickname}}
{{FirstName}}
{{MiddleName}}
{{LastName}}
{{MaidenName}}
{{Title}}
{{JobTitle}}
{{Department}}
{{Organization}}
{{Suffix}}
{{HomePage}}
{{BirthDate}}
{{PhoneticFirstName}}
{{PhoneticMiddleName}}
{{PhoneticLastName}}
{{Note}}
When a Note for a given Contact already exists, it's contents will be overwritten. To keep certain content in your contact notes accross multiple runs of the sync command you can use the delimiter string:
%%==MACOS_CONTACT_SYNC_KEEP==%%
Everything after this will not be replaces when re-running the command.