Share notebooks and collaborate on them using Joplin Server 2.0

Since a few versions Joplin Server includes a way to share notebooks between users and collaborate on them - i.e. any participant can view or modify notes in the shared notebook. It's been present since version 2.x and the feature is getting close to be stable.

How does it work?

When connected to Joplin Server (or the upcoming Joplin Cloud service), a new "Share notebook" menu item is available when right-clicking on a notebook.

image

Click on it, and it will display a new dialog where you can add any number of recipients. Those recipients also need to be on the same Joplin Server instance. From this dialog you can also remove a recipient or unshare the whole notebook, in which case it will be removed from everybody's note collection, except yours.

image

Once this is done, the recipient(s) will receive a notification in Joplin the next time they synchronise their data:

Then, finally, once the invitation is accepted, Joplin will download all the shared notebooks and notes. A shared notebook is denoted by the usual Share icon. Now the invited user can read or modify the shared notes, add attachments, etc. and the changes will be visible to everyone with access to the notebook.

image

FAQ

What's the availability of the notebook sharing feature?

The notebook sharing feature is available on Joplin Server and Joplin Cloud.

On desktop, you can share notebooks and of course view or modify any notebook that has been shared with you.

On mobile and CLI, you cannot currently share notebooks, but you can view or modify any notebook that has been shared with you.

If I share a notebook with someone, what access do they have?

Currently they have full access to the data, including reading, writing and deleting notebooks or notes. In a future version, access control might be implemented. For example, to only give read-only access to the shared notebook.

What can actually be shared?

All the sub-notebooks, notes and resources within the shared notebook are shared.

Does it work with End-To-End-Encryption?

Yes and no. It is possible to use the share notebook feature even with E2EE enabled, however any shared notebook or note will not be encrypted, otherwise you would have had to give your master key password to the people you share with, which you'd probably not want to do.

In a future version, this might be supported. For example by automatically creating a new master key for the shared notebook. You would then provide the recipients with that master key password.

What can it be used for?

Some ideas:

  • Plan a trip with friends or within a small organisation. For example, the notes could contain the maps, hotel and flight reservations, etc. or any document or note relevant to the trip. And all participants would have access to them.

  • Work on a project with colleagues. Everybody can access various work-related documents, add to them, modify them, etc. That could serve as a knowledge base for a project.

  • Another possible use, which has been requested many times, is to support multiple profiles. You could create a main profile that have access to all notes, and in there create a Work and Personal notebook. Then you would create a separate account for work. You can then share your Work notebook with that other account. That way the work account will only have access to the Work notebooks. You can use this technique in various ways to split your notebooks between multiple accounts and ensure strict separation between datasets.

23 Likes

Neat!

Hey everyone, if there is a Cloud beta tester here willing to try the shared notebook feature, ping me!

1 Like

Awesome stuff! I'll have to switch over to joplin server (from webdav) and give it a try.

Yeah! Really Awesome stuff!

1 Like

It would be great to disable deletion of shared notebooks. If it's yours, you could first unshare it and then delete. If it's not yours (shared with you by somebody) deletion is probably illegal.

Another useful thing would be a tool listing all shared notes and notebooks. Just like the Note attachments tool.

Is the only way to use this functionality through Joplin Server? We currently use Nextcloud and don't really want to add yet another server to the equation unless absolutely necessary.

3 Likes

Yes, one of the reasons Joplin Server was created is that it's not possible to implement collaborating on notebooks or publishing notes using a generic sync target like Nextcloud, Dropbox, etc.

2 Likes

Might be good to add some conditional logic to the menu so that the option doesn't appear when any incompatible service is being used. It being greyed out suggests that it is available on the notebook, but there's something that is stopping you from enabling it. :- )

Can you please explain why this is not possibible?

1 Like

It used to exist with Nextcloud - Joplin Web API for Nextcloud | Joplin -but I believe changes in Nextcloud made it unsupportable.

Hi @laurent

Is there a way to use a custom layout for shared notes? Ideally my userstyle.css ?

Great feature, mega project! I now managed to get Joplin Server running on my Synology NAS with Docker :muscle:

However, I would really like to share single notes rather than a whole notebook - of course, I could copy the notes I want to share into the shared notebook, but if you can make single notes shareable it would be great! And please adopt this feature for the mobile app!

Edit: please support Laurent! Fundraiser by Laurent Cozic : Software license for Joplin Server

1 Like

This is already possible. Right click on the note, "publish note".

Great thanks, Sorry I've only looked at the "manual" here in the forum - havn't tried myself yet

1 Like

I have a cloud server pro account
and i created a basic account for my daughter (she doesn't need more for now).

When I share a specific notebook to her, Joplin cloud says sharing feature is not enabled for recipient.

1 Like

I share the same issue as Martin1.
So I am about to switch from WebDAV to Joplin Cloud to be able to collaborate. As I use Joplin for everything, the Pro plan is definitely worth it for me, but I would like to be able to share just a small notebook for some shopping lists etc. with my partner. He will not use Joplin much, so the Pro Version is quite expensive for his use case. It would therefore be terrific if a pro user could share a notebook with a basic user.

3 Likes

Really eager to see this working on Nextcloud

1 Like

+1 for this request.