Skip to content

Usecase suggestion: CalDAV storage sync (or import) #228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jonassmedegaard opened this issue Dec 3, 2021 · 2 comments
Open

Usecase suggestion: CalDAV storage sync (or import) #228

jonassmedegaard opened this issue Dec 3, 2021 · 2 comments
Labels
usecase Suggestions for usecases

Comments

@jonassmedegaard
Copy link

Inspired by issue #227 it would be useful to support synchronizing with (or at least import from) CalDAV storage.

  • parse SUMMARY and DESCRIPTION as CommonMark (maybe only optionally)

This would enable use of e.g. the Android app Tasks - and a range of other freely licensed decentral groupware tools.

@jonassmedegaard jonassmedegaard changed the title Usecase suggestion: CalDAV storage import/sync Usecase suggestion: CalDAV storage sync (or import) Dec 3, 2021
@jonassmedegaard
Copy link
Author

jonassmedegaard commented Dec 3, 2021

Since it seems CalDAV protocol lacks a (maintained!) implementation in Rust, a simpler approach might be to support parsing and/or writing (preferably both) iCalendar format files (a.k.a. ical or ics).

Then a separate tool - vdirsyncer - could be used to synchronize those files with a CalDAV storage.

@joepio joepio added the usecase Suggestions for usecases label Dec 10, 2021
@joepio
Copy link
Member

joepio commented Dec 23, 2021

There are two approaches for doing this in the current atomic stack: in the front-end (typescript + browser) or in the server (rust).

  • Manually import all calendar items (i think browser only)
  • Keep items in sync (server only)

Server

Browser

  • JS / TS parser for iCal
  • Map to Atomic Data models
  • Upload from file

What we will always need

  • Create Atomic Properties for all relevant iCal properties.
  • Create Atomic Classes for related iCal models

I'm not planning on making this soon, but I'll definitely help anyone who's willing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usecase Suggestions for usecases
Projects
None yet
Development

No branches or pull requests

2 participants