BijoySingh / Scarlet-Notes

[Discontinued and Unsupported Project] Simple yet powerful rich note taking android application, with a lot of flexibilty of usage
https://play.google.com/store/apps/details?id=com.bijoysingh.quicknote
GNU General Public License v3.0
355 stars 93 forks source link

[feature-request] Nextcloud Addon / more sync options #60

Open FaySmash opened 6 years ago

FaySmash commented 6 years ago

I want sync between a website and my smartphone, but don't want to store anything on google. Is it possible to store notes on nextcloud (with an Addon) or add a possibility to add another data source on the website and sync destination for the app.

TomJansen commented 6 years ago

I support this. WebDAV integration would be perfect. I think WebDAV can be used with nextcloud too.

robertbeal commented 6 years ago

I'd vote for syncing with git if possible. You'd get out of the box history, diff's etc... And most git hosted solutions have fairly decent interfaces for editing via a browser.

jhit commented 5 years ago

Make this a Pro feature and I will join. I want to get out of the Google Network and syncing to Google Firedb is not a option for me. Nextcloud integration would be awesome, WebDAV would be a starter for this.

noerw commented 5 years ago

I support this request.

The official nextcloud notes app serializes notes to a WebDAV directory tree with markdown files. Just adding support for WebDAV backends would thus enable a large userbase, as this app is far superior than the official notes app.

The nextcloud files app creates an android account, which can be used for user friendly one-tap authentication (as implemented in nextcloud talk app, https://github.com/nextcloud/talk-android/blob/6806a43fe5fedfaa3d97913b6557f026e4c3aa0b/app/src/main/java/com/nextcloud/talk/utils/AccountUtils.java)

jkaberg commented 5 years ago

I just wanted to add that I also would like to see WebDAV support with simple file storage (markdown or similar), and it's something I'd consider paying for.

An simple text format would be optimal as it wouldnt't lock-in the user to an proprietary format, and since it's simple text files any text editor will suffice.

BijoySingh commented 5 years ago

Hey folks! I have started working on this! :D I dont want to add internet permissions to the FDroid app, so it will be closer to the one @noerw mentioned, I will build a way to store/read content in an external folder, and then it will be upto the user to do the sync, which can be using Drive/NextCloud.

noerw commented 5 years ago

@BijoySingh that's not what I meant in my comment, but your plan sounds like a good minimalist solution, looking forward to it! Also props for the least-permission model.

(What I meant was: integrating a webdav client into the app, and optionally reusing the nextcloud account provided by the official Nextcloud app for authentication to the backend)

jkaberg commented 5 years ago

@BijoySingh Nice! Please consider adding options to store plaintext files (if that isn't the case already). That way we can use other solutions to edit the files as well.

jhit commented 5 years ago

@BijoySingh Not sure if this is the best way to do it. Android has very strict access restrictions and AFAIK you cannot safe files in the data/sync folder of another app. Example for Dropbox: When I mark files for offline usage, Dropbox will sync that file, but the file resides in the apps data folder. To make it accessable for other apps I need to export it to the sdcard manually. I think that would be a bad solution if users need to export/import files manually to a sdcard folder to enable sync of notes.

bertin0 commented 5 years ago

Another option I've seen on another notes app is to log into nextcloud through the nextcloud app, with an account selection dialog like the one for google drive.