Both approaches have the same disadvantages actually. With Joplin Server, it would manage sharing, etc. but it will also need to manage your sync items, so you can’t use it next to Dropbox, Nextcloud or anything - it’s an all or nothing.
With the Nextcloud app, it’s similar, you can only use it with Nextcloud but of course, many more of Joplin users already have Nextcloud so it’s less of an issue. If you already have Nextcloud, it’s also very easy to install - you just press a button and it’s done.
So in the end, it was making more sense to make a Nextcloud app. Also it already handles user authentication, file access, sharing, database and other features needed for this, so it’s also a lot less effort.
You’re completely right. I guess it just “felt” more natural to me to have a dedicated server which would be the recommended way to sync and a couple of alternatives with a limited set of features.
In this scenario Nextcloud takes the spot of the recommended way to sync.
Yes I believe though. I'm developing it in such a way that the Joplin stuff is decoupled from the Nextcloud backend so that potentially the app could be used separately (for example on an Apache or Nginx WebDAV server), but initially it will just be for Nextcloud. Dropbox and OneDrive unfortunately won't be supported I think.
I have just noticed that the topic was split.
I'm currently updating the GSoC application. In the course of this, I would like to publish the first project idea.
Porting the web-app or have a Nextcloud app created would be the idea.
Now we have this here
In general, it is needed
back-end server (what may run within another application)
is it smart to run the back-end as an app in Nextcloud
shall it be installed on the same server (as e.g. docker image)
an app is written what communicates via the API
port (fork) the web-app, to make it run as nextcloud app
Currently, I don't know how to describe the project(s) .
Whatever going to happen, it should be done in such a way that Joplin is not limited to be used with Nextcloud only, when you want to integrate it into another collaboration app.
Of course, Nextcloud would be the pilot and thus the one with the most drive most likely.
I installed the pre-release of Joplin that adds note sharing capabilities. I also installed the Nextcloud app. When I check the status via sync settings in Joplin I get “Beta: Joplin Nextcloud App status: OK”. When I share a note, the fields in the Nextcloud app populate. Opening the public share link, however, results in a 404.
Hmm, that’s weird. Could you post a screenshot of the 404 error too please? It seems to be Nextcloud that can’t find the page then. Also what’s the URL you get for sharing? (you can remove the domain name)