Joplin Web API for Nextcloud

And when you click on the Joplin icon, what url does it give you? Also apps/joplin or extra-apps/ joplin?

Yes indeed I’m aware of the issues you mentioned, the viewer is for now very basic.

https://cloud.example.com/index.php/apps/joplin/

When I use the share function from other NC apps (e.g. Gallery, Calendar, PhoneTrack), the share links I get are like this:
https://cloud.example.com/index.php/apps/someapp/somepath/someid

Ok thanks @Shamp0o. Probably the logic I use to get the app URL is not right then, I’ll check that.

@Shamp0o could you give a try to the last version and see if it works for you?

The URLs are working now. Great stuff.
However, now I’m just getting plain text. No rendered markdown whatsoever.

Btw, is there any way to remove shares or to get share-links of previous shares at this point?

Could you check the source code and see what's the url of markdown-it please?

https://cloud.example.com/apps/joplin/js/markdown-it.js

This gives me another 404

changing it to https://cloud.example.com/extra-apps/joplin/js/markdown-it.js gives me the js file

Thanks I’ll check that. You’d think getting the base url of an app would be easy, but not in Nextcloud world.

Checked out and installed the latest git versions of joplin and joplin-nextcloud.

Nextcloud Joplin App (0.0.24) shows a fairly empty Joplin Web API Status (i.e., no entries for Sync Targets and Shares). Looks okay since nothing has been configured yet.

Joplin desktop (git-21cac248) shows:

Beta: Joplin Nextcloud App status: Error   [Check Status]  [Help]
The Joplin Nextcloud App is either not installed or misconfigured. Please see the full error message below:

Unexpected token < in JSON at position 0

Apparently I’m missing some configuration settings but I could not find information. Any pointers?

@Shamp0o, I’ve released another version (v25), please could you check if the CSS and JS are now loaded correctly?

Not sure, but I've improved error handling so that it gives a better error message in the next version.

When you click on the Joplin icon in Nextcloud, what is the URL?

Now everything seems to be working.

1 Like

http://hostname/index.php/apps/joplin/

At some point I assume Joplin needs to know where the NC server is, and vice versa?

Yes, the apps register themselves with the service based on the WebDAV url.

Ah! I have two NCs -- one of them has the WebDAV, the other has Joplin :)...

Moved Joplin to the other server and now they have contact. Thanks!

Starting to play... :slight_smile:

1 Like

Great, it seems the basic things are working.

You may wish to increase the upper limit to Nextcloud 18. No problems so far…

1 Like

Seems to work just downloaded the pre release! Quick question about encrypted notes, I tried sharing and the web view of the note just presents me with a screen that says “This note is encrypted”.

In the next version, notes will be decrypted before being shared. There will be a warning about it before sharing.

Got it! Thanks! Quick question, unrelated to this, I remember seeing a discussion on a new UI, would you i be interested in contributors for that?

@laurent