https://github.com/hmaier-dev/gnome-contacts-exporter
exporter for the linux application gnome-contacts
https://github.com/hmaier-dev/gnome-contacts-exporter
golang sqlite3 vcard
Last synced: 2 months ago
JSON representation
exporter for the linux application gnome-contacts
- Host: GitHub
- URL: https://github.com/hmaier-dev/gnome-contacts-exporter
- Owner: hmaier-dev
- License: gpl-3.0
- Created: 2024-10-23T10:19:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T08:15:33.000Z (over 1 year ago)
- Last Synced: 2025-03-26T20:14:22.813Z (over 1 year ago)
- Topics: golang, sqlite3, vcard
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## gnome-contacts-exporter
This program is my cli to the `contacts.db` used by [gnome-contacts](https://gitlab.gnome.org/GNOME/gnome-contacts),
which usually lies in `~/.local/share/evolution/addressbook/system/contacts.db`.
My intention was to automate the exporting into a `vCard`-File (`contacts.vcf`), which can be done by hand in gnome-contacts.
### Usage
For exporting use the arguments:
- `--source contacts.db --destination contacts.vcf`
and for importing use:
- `--source contacts.vcf --destination contacts.db`
### TODO
- [ ] converting from `vcf` to `sqlite3` (Import)
- [ ] converting from `sqlite3` to `vcf` (Export)
- [ ] implement daemon-function, which listens to `sqlite3`/`vcf` and imports/exports automatically
- [ ] adding `--dry-run` for testing
- [ ] add `Earthfile` for testing-environment
- [ ] Write Tests for different cases
- [ ] 2 emails + 1 phone-numbers + comments + adress
- [ ] Export
- [ ] Import
- [ ] 1 email + 2 phone-numbers + comments + adress
- [ ] Export
- [ ] Import
- [ ] Find out how to use CI to build binarys
- [ ] build `systemd-unit` to run the exporter