Skip to main content

Convert Nextcloud Contacts to GEQUDIO XML

Project description

Convert Nextcloud Contacts to GEQUDIO XML

Version License pre-commit pre-commit.ci status Code Style: black Automated Checks codecov

ko-fi

This script converts contacts exported from Nextcloud in vCard format to GEQUDIO XML format, which can be imported into GEQUDIO phones.



Installation and Usage

  • Ensure you have Python 3.10 or higher installed on your system.
  • Create a virtual environment and activate it:
    python3 -m venv venv
    source venv/bin/activate
    
  • Install the package using pip:
    pip install nextcloud-contacts-to-gequdio==3.0.0
    
  • Copy the settings file and modify it with your details:
    wget https://raw.githubusercontent.com/ppfeufer/nextcloud-contacts-to-gequdio/refs/heads/master/nextcloud_contacts_to_gequdio/settings.ini.example
    mv settings.ini.example settings.ini
    
    You should now have the following structure:
    .
    ├── venv
    └── settings.ini
    
  • Edit the settings.ini file and fill in the required information:
    • url: The URL of your Nextcloud instance.
    • username: Your Nextcloud username.
    • password: Your Nextcloud password.
    • addressbook: The name of the address book to export contacts from. (Default is "contacts")
  • Run the script:
    /path/to/your/venv/bin/nextcloud-contacts-to-gequdio
    
  • Create a cron job to run the script periodically if desired.
    crontab -e
    
    Add the following line to run the script every day at midnight (Change the cron schedule as desired):
    0 0 * * * /path/to/your/venv/bin/nextcloud-contacts-to-gequdio
    

The cron job will execute the script at the specified intervals, creating or updating the gequdio.xml (which can be found in the same directory as your venv folder and settings file) file with the latest contacts from Nextcloud. It is up to you to ensure that your GEQUDIO phone fetches the updated gequdio.xml file as needed. This may involve hosting the file on a web server or using another method to make it accessible to your phone.

Importing Contacts to Your Gequdio Phone

  • Import the generated gequdio.xml file into your GEQUDIO phone as per its instructions.
  • Enjoy your synchronized contacts!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nextcloud_contacts_to_gequdio-3.0.0.tar.gz (36.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nextcloud_contacts_to_gequdio-3.0.0-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file nextcloud_contacts_to_gequdio-3.0.0.tar.gz.

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-3.0.0.tar.gz
Algorithm Hash digest
SHA256 6941da97fa4b62349c1b81abdb6b09412e00a5937ac1cb382a22ccbd6b49ea21
MD5 abb4af6b25bf06dfea45b5f6d82eb663
BLAKE2b-256 635b08e5937c7821fa62ca4c72546fd3a2b429fb66714fb0d8f48784ded31691

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_contacts_to_gequdio-3.0.0.tar.gz:

Publisher: release.yml on ppfeufer/nextcloud-contacts-to-gequdio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nextcloud_contacts_to_gequdio-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6515dbe721892b2fbaf89fc8c70a94433c4f21b4bfe893da3d9f20c86242567
MD5 c5bfeec8c3cac9214ea6cdd223dc13b1
BLAKE2b-256 ba3ade53368bf159c493cf9fb9f3d3cf17468ed03af6c0abaf4644d302ef36b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_contacts_to_gequdio-3.0.0-py3-none-any.whl:

Publisher: release.yml on ppfeufer/nextcloud-contacts-to-gequdio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page