saket / press

Cross-platform markdown editor written in Kotlin Multiplatform (work in progress)
1.87k stars 113 forks source link

Sync notes through git #52

Closed saket closed 4 years ago

saket commented 4 years ago

I've spent a lot of time thinking about this and I think the best way of offering syncing is by not maintaining my own syncing backend. Syncing is a hard problem. The plan is to piggyback on git for syncing notes to a remote git repository. It'll have some great benefits by letting users,

I understand that by doing this I'm effectively restricting Press to nerds but I'm okay with that. Press will let users login using their github/gitlab/bitbucket account for auto-adding an SSH key to their account.

saket commented 4 years ago

I think I'm nearly done for a first cut. Just gotta figure out how to correctly resolve merge conflicts with file deletions because Jgit has incorrect implementation of merge strategies.

okmanideep commented 4 years ago

@saket Curious if you have considered syncing via Dropbox / Drive / OneDrive etc.

saket commented 4 years ago

@okmanideep I made this decision a few months ago so I'm a bit hazy on the details. Let me try recalling them:

saket commented 4 years ago

An early preview was released with v1.5.1. Please try it out and send feedback!