Comments (12)
But yes, I think simply auto-backup to external folder might be the first step.
Maybe simply allow setting a directory where the notes are stored or are read from? This might necessitate displaying folders too when users begin nesting notes but then everyone can just sync the folder with a service of their choice and you'd need to do nothing on your end.
from scarlet-notes.
+1 for WebDav sync (useful for Nextcloud/Owncloud Notes)
from scarlet-notes.
As previously suggested in #2 I'd suggest using CalDAV, a WebDAV extension. Just as an example: The mentioned OpenSource app DAVdroid (which seems to be recommended by Nextcloud itself) is using CalDAV to sync both, Calendar as well as ToDo.
Links for DAVdroid
- Google Play Store: https://play.google.com/store/apps/details?id=at.bitfire.davdroid
- Source available at https://gitlab.com/bitfireAT/davdroid
from scarlet-notes.
You could leave sync up to the user by exporting in an easily parseable format to a directory on storage, optionally external storage, then the user could use something like Syncthing to sync to the desktop, and possibly we could use another client to edit the notes there?
from scarlet-notes.
Ok, so I have though of doing this starting soon.
Will be doing this in two ways.
- Auto Backup:
- The notes will be exported automatically to the backup folder every day. (This is not sync, as it will not read from there)
- [Low/No Pri] Maybe an extension would be to allow reading, but it will be impossibly difficult to handle edge cases
- Firebase Cloud Sync:
- Not Applicable for FDroid installs, only Google Play Installs
- The user (optionally) signs in with Google, and then they will be able to sync the notes accross the devices live, similar to what happens in Keep/my other app Clipo.
- This has to be done carefully, as none of this code will have to be in the master branch, to safeguard future FDroid builds.
from scarlet-notes.
SyncThing is such a fantastic system. Just saving to the filesystem and syncing with SyncThing would be enough. Half the point of sync is mostly to the computer, and there's already plenty of markdown editors.
You could just do what Pico does and store metadata in YAML as a header in the .md file.
from scarlet-notes.
Yeah, Sync is on my mind, I have been thinking about it. The problem with sync is the not backing up but loading back down. If we sync, it will have to be real time, unless it is very clear that it is not an expectation.
Ideally I would want to do something like Firebase, but since it is paid, and the services will break for FDroid which is using this app and building it on their end. But yes, I think simply auto-backup to external folder might be the first step.
from scarlet-notes.
I've been using a todo.txt app on my phone and syncing via nextcloud forever with few issues. I'm not sure how that interacts with newly created files (are they synced automatically?), though.
from scarlet-notes.
Currently I'm using Synchronize Ultimate, to sync Android to Folders to a Raspberry pi via WebDAV. So all what i need to know is the folder path on Android, where the notes are stored. Can you please tell us that folder?
from scarlet-notes.
You can write to your app's directory on internal storage without requesting file permissions. You get its location with Context.getFilesDir()
:
https://developer.android.com/reference/android/content/Context.html#getFilesDir()
https://developer.android.com/training/data-storage/files.html#WriteInternalStorage
from scarlet-notes.
I understand that syncing like keep is good, but the advantage of keep is that they have ios version of the app, so they permit the users freedom. Scarlett note pro is fun, to improve it is necessary to have an ios version or website version to get really flexibility.
from scarlet-notes.
@BijoySingh why are you thinking so complicated...?
i understand, that a built-in generic sync-service (WebDAV) may exceed the scope of this project... but why not go for the easiest solution, which will also require much less effort to implement:
simply use an user-defined folder at the "external" storage as main storage (saving & reading) for the notes instead of the "internal" android-storage and let the sync-software do everything else (including conflict-handling).
everything else are separate topics...
- not sure if backups are required - much sync-services provide versioning.
- integrating a sync-service is still possible, if really needed.
- to think a bit further: maybe a setting to strip down markup and use/sync normal text-files (which can easily be opened and modified everywhere) may be worth to consider...?
from scarlet-notes.
Related Issues (20)
- [BUG] [UI] Text blocks can be dragged without using drag handles
- [BUG] [UI] H3 text in note preview is bigger than H1
- [Bug] Swiping the app from memory removes pin on notes HOT 1
- Sync with local folder doesn't seem to behave as expected HOT 1
- [Bug] Notification keeps showing afresh as note is edited HOT 1
- crash on image note HOT 1
- [feature request] 1x1 Widgets
- notes revert when using sync to external folder HOT 1
- A couple requests/suggestions HOT 1
- More sync option
- [Bug] Options and Settings: list items are not aligned straight at the left
- [Feature request] Word count HOT 1
- Translation
- [Feature Request] Weekly/Monthly/Yearly Repeat Frequency
- [Feature request] Image compression
- Is this app defunct?
- [FAQ] / [Feature Request] Can Notes not in a user defined folder appear before the folders?
- [ feature request ] PGP / encryption options, signing and verifying, plus encrypted storage of notes
- File google-services.json is missing
- Picture interface
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scarlet-notes.