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==2.0.2
    
  • 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-2.0.2.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-2.0.2-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-2.0.2.tar.gz
Algorithm Hash digest
SHA256 589d48f2fe1a9c4d49d3358f3a8420a8fcd2af2bcd4330df8cc488d790298d19
MD5 38857e09b09fc1a894ce1b393ab835b4
BLAKE2b-256 76ad15f27e8784d506d375761e0195fbf0065a578d8e546ed29bafb6d83c6c84

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_contacts_to_gequdio-2.0.2.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-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e3e7cbe7826e6030ab30643502c3e25c1d2e4a093db5252957e83a4703e70ef
MD5 75a3dcc4d5c32ad67c0cfdedb0a51f5d
BLAKE2b-256 d1c17b1a7553dc04c17941255e50bd4445a3cdcf2fb6519ed37cbbc54d5aa452

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_contacts_to_gequdio-2.0.2-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