تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

carddav-contacts

بواسطة jcromero

DevOps & Cloud
910التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Sync and manage CardDAV contacts (Google, iCloud, Nextcloud, etc.) using vdirsyncer + khard.

الوصف

ما الذي تفعله هذه المهارة

Syncs CardDAV contacts from Google, iCloud, Nextcloud, and similar providers to local .vcf files using vdirsyncer, then manages them via khard's CLI interface.

Keeps contacts locally accessible and scriptable without requiring a GUI or browser, making them composable with other CLI tools.

متى تستخدمها

  • Look up a contact's phone number from the terminal
  • Search contacts by name across multiple address books
  • Edit or create contacts in a text-based editor
  • Move contacts between address books (personal, work)
  • Extract emails or phone numbers for use in scripts

مثال على سير العمل

الإدخال

User asks: find John's email address

الوكيل
  1. 1

    Run vdirsyncer sync to pull latest contacts from the remote CardDAV server

  2. 2

    Run khard email "john" to extract email addresses for matching contacts

  3. 3

    Parse the tab-separated output to identify the correct entry

الإخراج

john.doe@example.com

المتطلبات

  • Google App Password (if using Google Contacts with 2FA enabled)
  • CardDAV account credentials (Google, iCloud, Nextcloud, or other provider)

التثبيت

clawhub install jcromero/carddav-contacts

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط