This is a CalDAV and CardDAV adapter for EteSync
This package provides a local CalDAV and CardDAV server that acts as an EteSync compatibility layer (adapter). It's meant for letting desktop CalDAV and CardDAV clients such as Thunderbird, Outlook and Apple Contacts connect with EteSync.
If all you want is to access your data from a computer, you are probably better off using the web app.
Note: This software is still in beta. It should work well and is used daily by many users, but there may be some rough edges.
The easiest way to start using etesync-dav is by getting one of the pre-built binaries from the releases page.
These binaries are self-contained and can be run as-is, though they do not start automatically on boot. You'd need to either start them manually, or set up autostart based on your OS.
Note: For Linux and Mac you may want to rename the binaries to etesync-dav
for ease of use.
Run etesync-dav
and open the management UI in your browser: http://localhost:37358/
Add your EteSync user through the web UI. You will then be able to copy the password you will be entering your DAV clients.
For advanced usage and CLI instructions please refer to the advanced usage section.
Please note that some antivirus/internet security software may block the CalDAV/CardDAV service from running - make sure that etesync-dav is whitelisted.
Don't forget to set up EteSync to automatically start on startup. Instructions for this are unfortunately OS dependent and out of scope for this README.
You now need to set up your CalDAV/CardDAV client using your username and the password you got in the previous step.
Depending on the client you use, the server path should either be:
http://localhost:37358/
http://localhost:37358/user@example.com/
On most clients this should automatically detect your collections (i.e. calendars and address books).
If your client does not automatically detect your collections, you will need to manually add them. You can find the links in the management UI when you click on your username.
- Install TbSync and the accompanying DAV provider.
- Open the TbSync window: Edit -> TbSync
- Add new DAV account (choose manual configuration).
- Use
http://localhost:37358/user@example.com/
as the server and fill the rest of the fields as per the previous steps.
While macOS works great, due to bugs in macOS Mojave the instructions require a few extra steps.
Please take a look at the macOS instructions for more information.
By default, iOS only syncs events 30 days old and newer, which may look as if events are not showing. To fix this, got to: Settings -> Calendar -> Sync and change to the wanted time duration.
This methods are not as easy as the pre-built binaries method above, but are also simple. Please follow the instructions below, following which follow the instructions in the Configuration and running section below.
Run one time initial setup to persist the required configuration into a docker volume. Check out the configuration section below for more information.
docker run -it --rm -v etesync-dav:/data etesync/etesync-dav manage add USER_EMAIL
Run etesync-dav in a background docker container with configuration from previous step (this is the command you'd run every time)
docker run --name etesync-dav -d -v etesync-dav:/data -p 37358:37358 --restart=always etesync/etesync-dav
After this, refer to the Setting up clients section below and start using it!
To update to the latest version of the docker image, run:
docker pull etesync/etesync-dav
If you're self-hosting the EteSync server, you will need to add the following before the -v
in the above commands:
--env "ETESYNC_URL=https://your-etesync-url.com"
The package etesync-dav
is available on AUR.
You can either follow the Docker instructions above (get Docker here), or alternatively install Python3 for windows from here.
Install virtual env (for Python 3) from your package manager, for example:
- Arch Linux: pacman -S python-virtualenv
- Debian/Ubuntu: apt-get install python3-virtualenv
The bellow commands will install etesync to a directory called venv
in the local path. To install to a different location, just choose a different path in the commands below.
Set up the virtual env:
virtualenv -p python3 venv
source venv/bin/activate
pip install etesync-dav
Run the etesync commands as explained in the Configuration and running section:
./venv/bin/etesync-dav manage ...
./venv/bin/etesync-dav ...
Please note that you'll have to run source venv/bin/activate
every time you'd like to run the EteSync commands.
You need to first add an EteSync user using etesync-dav manage
, for example:
etesync-dav manage add user@example.com
Substitute user@example.com
with the username or email you use with your
EteSync account or self-hosted server.
and then run the server:
etesync-dav
If you are self-hosting the EteSync server, you will need to set the
ETESYNC_URL
environment variable to the URL of your server every time
you run etesync-dav.
By default it uses the official EteSync server at https://api.etesync.com
.
EteSync-DAV should automatically use the system's proxy settings if set correctly. Alternatively, you can set the HTTP_PROXY
and HTTPS_PROXY
environment variables to manually set the proxy settings.
etesync-dav
stores data in the directory specified by the CONFIG_DIR
environment variable. This includes a database and the credentials cache.
This directory is not relocatable, so if you change
CONFIG_DIR
you will need to regenerate these files (which means
reconfiguring clients). It may be possible to manually edit these files to
the new path. Note that the database will just mirror the content of your
main EteSync database so in most cases you should not lose anything if you
delete it.
CONFIG_DIR
defaults to a subdirectory of the appropriate config directory
for your platform (~/.config/etesync-dav
on Unix/Linux, see
appdirs module docs for where it
will be on other platforms).
This depends on the Radicale server for operation.