Giter Site home page Giter Site logo

ialokim / radicale_storage_etesync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etesync/radicale_storage_etesync

0.0 1.0 0.0 26 KB

An EteSync storage plugin for Radicale

Home Page: https://www.etesync.com

License: GNU General Public License v3.0

Python 100.00%

radicale_storage_etesync's Introduction

This is an EteSync storage plugin for Radicale.

This plugin makes Radicale use EteSync as the storage module, essentially making Radicale a CalDav/CardDav frontend for EteSync.

GitHub tag PyPI Chat on freenode

For all I can tell, everything works as expected, with the exception of Last-Modified which is not yet implemented and just returns the modification date as "now" (not the end of the world as etag is implemented correctly).

Installation

pip install radicale radicale_storage_etesync

Configuration

This plugin assumes only authenticated users are allowed to connect to Radicale, so make sure to correctly set the Radicale auth backend accordingly. Please refer to the Radicale docs for more information.

You also need to set the storage type to radicale_storage_etesync, and populate the etesync_storage section.

Example config:

[server]
hosts = localhost:5232

[storage]
type = radicale_storage_etesync

[auth]
type = htpasswd
htpasswd_filename = ./htpaswd
htpasswd_encryption = plain

[etesync_storage]
database_filename = ./etesyncache.db
remote_url = https://api.etesync.com/
credentials_filename = ./etesync_creds

In addition to the Radicale config above, you need to have a credentials file at the path specified above that includes the authentication token and the base64 encoded cipher key per allowed user.

Example credentials file:

{
   "users": {
        "[email protected]": {
             "authToken": "c5d796ad113f596bde14c45e5888919f8b4f307a",
             "cipherKey": "ZWFudWhvZXN1bnRoZXN1bnRhb2VodXNudGVvYWh1c25lb3RhaHVzb25lYXR1aGFzb2VudWhhb2VzbnR1aGFlb3N1dGhhZW9zbnR1aAo="
        }
   }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.