Skip to main content

Convert Nextcloud Contacts to GEQUDIO XML

Project description

Convert Nextcloud Contacts to GEQUDIO XML

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

  • Clone this repository via Git:
    git clone https://github.com/ppfeufer/nextcloud-contacts-to-gequdio.git
    
  • 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.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-2.0.0.tar.gz (35.9 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.0-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-2.0.0.tar.gz
Algorithm Hash digest
SHA256 4ca7cfad7d65b8d04b84ec2ed2a7cd2ae7e7e8499819fc25b427b4a1dc7de706
MD5 b209cd78e6e31b1b7634ee2413b35ff8
BLAKE2b-256 99d35cab7d35a1b624b4140e605d55a1e2cb23b8f3756aafec8f8ee5d7e78dcf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 433d4b935cb61a6ef0bb1c2cf95b0473b235ca442045f86602c06c8b32689780
MD5 61e602fa8b8bf622174709e8bd6ec9ac
BLAKE2b-256 e398694683f63ea9f9825ce7c58e5e80bc1efdf2aae4e1c7169728f211b216eb

See more details on using hashes here.

Provenance

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