I’d like to sync my markdown notes between devices (laptop and phone), which service is better: Nextcloud or Syncthing? Any other important idea I should know?, like latency times, or maximum number of synced devices, what if I edit the same note from both places without internet and then both get connected to a network… For example, I know Nextcloud let me have a history of the notes.
I use Joplin (hosted on my home Nextcloud server) and its very good, so far. I haven’t had it long. Nextcloud also has a native Notes app that is decent but not very featureful. Joplin works well for me, as I already had a Nextcloud instance.
A self hosted Joplin sync server is also pretty nice.
does it support plain markdown?
IME joplin has its own format
I use syncthing for personal and work, and it’s great. Having said that I’ve found it struggles with versioning i.e. editing a document from multiple devices.
Look into something like Standard Notes for cross platform markdown editing. It’s e2e encrypted, works great, the dev is very responsive. Ymmv but I really like it, have it on every device I own and use it daily.
I’ve also just used a private git repo for editing docs from multiple devices. Once you get it set up it’s effortless, and most ide’s are extremely fun to use as text editors.
most ide’s are extremely fun to use as text editors
my kind of fun
kindred spirits
Git
Then git pull rebase and commit. Done
Does not have great UX on phones though.
I made some Termux shortcut scripts in bash for it. Works well, but not for everybody ;)
Never had merge conflicts I take it 😄
My phone script is quite simple, and I set it up on cron, so I don’t get out of state very often. I handle if there could be conflicts via script on my Linux pc with stash and pull etc. Automated cron also
Yeah, and for that reason, I opted for syncthing instead of Git for this use case.
I’ve not needed to deal with a conflict, it’s automated.
But what’s the latency with syncthing or its instant?
Syncthing uses inotify to watch for changes, so it’s pretty much instant
I have used both, and syncthing is the most stable in my opinion. But you will get sync conflicts/ duplicates if you work on the same file
For working on markdown files you should additionally look into https://silverbullet.md , it’s great 🙂. It has offline mode. But it will also generate duplicates if you edit the same file offline
fuck man, this silver bullet looks pretty cool. project is about 1.5 years old? i guess it’s been longer than that since i investigated these kinds of tools
https://github.com/silverbulletmd/silverbullet
While you can use SilverBullet as a simple note taking application that stores notes in plain markdown files on disk, it becomes truly powerful in the hands of more technical power users. By leveraging metadata annotations, its Objects infrastructure, Live Queries and Live Templates, SilverBullet becomes a powerful end-user programming tool, enabling you to quickly develop various types of ad-hoc knowledge applications.
I have errands to run this weekend and I cannot spend the whole time immersed in this.
Personally I’d just use something like trilium and call it a day.
I use syncthing, it works fine, but sometimes it doesnt sync, I have to open syncthing on my phone and also on PC to triger sync. If I open same file on both devices it just creates copy so you end up with 2 files Edit: I use obsidian for notes