Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luk3yx/decsync-vdir
Syncs DecSync contacts/calendars to a vdir.
https://github.com/luk3yx/decsync-vdir
decsync vdir
Last synced: about 1 month ago
JSON representation
Syncs DecSync contacts/calendars to a vdir.
- Host: GitHub
- URL: https://github.com/luk3yx/decsync-vdir
- Owner: luk3yx
- License: agpl-3.0
- Created: 2022-05-27T02:37:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-09T07:56:49.000Z (over 2 years ago)
- Last Synced: 2024-11-01T10:42:38.652Z (3 months ago)
- Topics: decsync, vdir
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# decsync-vdir
Synchronises [DecSync](https://github.com/39aldo39/DecSync) contacts/calendars
with a [vdir](https://vdirsyncer.pimutils.org/en/stable/vdir.html).## Usage
Make sure you have Go 1.16 or later installed.
**Please back up your DecSync directory and vdir before trying decsync-vdir in
case something goes wrong!**Building decsync-vdir:
```
$ go build decsync-vdir.go
```Syncing a contacts directory with DecSync:
```
$ ./decsync-vdir /path/to/decsync/contacts/ /path/to/vdir .vcf
```Syncing a calendar directory with DecSync:
```
$ ./decsync-vdir /path/to/decsync/calendars/ /path/to/vdir .ics
```The vdir directory will be created if it doesn't already exist.
## Limitations
- Deleting a file in the vdir will not delete it on DecSync, `decsync-vdir`
will recreate the file inside the vdir instead.
- `decsync-vdir` doesn't store entries created on other devices in its own
storage directory under `v2`. This means that you shouldn't delete other
device's directories manually after running decsync-vdir.