News for hackers. Stuff that matters.
Re:Joplin – A note-taking and to-do app with builds for desk... by laurent123456 on Thursday November 30, 2017 @08:20AM (#15815458)
That's interesting, I've tried to use plain text files at the beginning too but it didn't quite work. Also if I'm not mistaken on mobile Dropbox sync is not built-in so you'll need to implement it on top of their API (including conflict handling) which is probably the most difficult part in any app like this.

That's also why having a local SQLite is useful because you can more easily compare your local state to what they have.

Re:Joplin – A note-taking and to-do app with builds for desk... by roryisok on Thursday November 30, 2017 @08:54AM (#15815678)
You're right, when I build mobile I'll have to build my own sync to dropbox, but there are plenty of libraries for that. Hopefully one that already does conflict handling =(

I do have a local database store, but the Windows Store app is written in JS so I'm using NeDB which is basically just a mongo style interface for a JSON file. At the moment I really only use it to track recently opened files.

On other platforms I'll probably use SQLite, but I won't be storing the data in there, just the metadata (access times, paths, previews, wordcounts etc)

As one dev to another I have to say I love what you've built in Joplin. I love the name, I love the terminal app idea (Why didn't I think of that!) - its really a great achievement. You've built for multiple platforms and here I am hijacking the thread to peddle my half-built markdown-editor-with-a-file-list =D

Re:Joplin – A note-taking and to-do app with builds for desk... by Grumbledour on Thursday November 30, 2017 @09:37AM (#15815970)
On Android, I use Dropsync[1] to make certain Dropbox folders behave more like on desktop and synchronize in the background. Works great with my markdown note files and also ensures my notes are always available offline.

(1) https://play.google.com/store/apps/details?id=com.ttxapps.dr...