Joplin API - Get Started
Joplin API - References
Google Summer of Code 2020
Installer gets stuck on Windows🔗
The installer may get stuck if the app was not uninstalled correctly. To fix the issue you will need to clean up the left-over entry from the Registry. To do so please follow these steps:
- Press Win + R (Windows Key + R)
- Type "regedit.exe"
- Navigate to
- In there, you will see one or more folders. Open them one by one to find the one for Joplin. One of the entries in there should be "DisplayName" with value "Joplin x.x.x".
- Once found, delete that folder.
Now try to install again and it should work.
More info there: https://github.com/electron-userland/electron-builder/issues/4057
How can I edit my note in an external text editor?🔗
The editor command (may include arguments) defines which editor will be used to open a note. If none is provided it will try to auto-detect the default editor. If this does nothing or you want to change it for Joplin, you need to configure it in the Preferences -> Text editor command.
Some example configurations are: (comments after #)
subl -n -w # Opens Sublime (subl) in a new window (-n) and waits for close (-w) code -n --wait # Opens Visual Studio Code (code) in a new window (-n) and waits for close (--wait) gedit --new-window # Opens gedit (Gnome Text Editor) in a new window xterm -e vim # Opens a new terminal and opens vim. Can be replaced with an # alternative terminal (gnome-terminal, terminator, etc.) # or terminal text-editor (emacs, nano, etc.) open -a <application> # Mac only: opens a GUI application
subl.exe -n -w # Opens Sublime (subl) in a new window (-n) and waits for close (-w) code.exe -n --wait # Opens Visual Studio Code in a new window (-n) and waits for close (--wait) notepad.exe # Opens Notepad in a new window notepad++.exe --openSession # Opens Notepad ++ in new window
When I open a note in vim, the cursor is not visible🔗
It seems to be due to the setting
set term=ansi in .vimrc. Removing it should fix the issue. See https://github.com/laurent22/joplin/issues/147 for more information.
All my notes got deleted after changing the WebDAV URL!🔗
When changing the WebDAV URL, make sure that the new location has the same exact content as the old location (i.e. copy all the Joplin data over to the new location). Otherwise, if there's nothing on the new location, Joplin is going to think that you have deleted all your data and will proceed to delete it locally too. So to change the WebDAV URL, please follow these steps:
- Make a backup of your Joplin data in case something goes wrong. Export to a JEX archive for example.
- Synchronise one last time all your data from a Joplin client (for example, from the desktop client)
- Close the Joplin client.
- On your WebDAV service, copy all the Joplin files from the old location to the new one. Make sure to also copy the
.resourcedirectory as it contains your images and other attachments.
- Once it's done, open Joplin again and change the WebDAV URL.
- Synchronise to verify that everything is working.
- Do step 5 and 6 for all the other Joplin clients you need to sync.
How can I easily enter Markdown tags in Android?🔗
The initial sync is very slow, how can I speed it up?🔗
Whenever importing a large number of notes, for example from Evernote, it may take a very long time for the first sync to complete. There are various techniques to speed thing up (if you don't want to simply wait for the sync to complete), which are outlined in this post.
Is it possible to use real file and folder names in the sync target?🔗
Unfortunately it is not possible. Joplin synchronises with file systems using an open format however it does not mean the sync files are meant to be user-editable. The format is designed to be performant and reliable, not user friendly (it cannot be both), and that cannot be changed. Joplin sync directory is basically just a database.
Could there be a password to restrict access to Joplin?🔗
The end to end encryption that Joplin implements is to protect the data during transmission and on the cloud service so that only you can access it.
On the local device it is assumed that the data is safe due to the OS built-in security features. If additional security is needed it's always possible to put the notes on an encrypted Truecrypt drive for instance.
For these reasons, because the OS or yourself can easily protect the local data, no PIN or password is currently supported to access Joplin.
There is however an issue open about it, so pull requests are welcome: https://github.com/laurent22/joplin/issues/289
WebDAV synchronisation is not working🔗
"Forbidden" error in Strato🔗
MKCOL .sync/: Unknown error 2 (403): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /.sync/ on this server.</p> </body></html>
In this case, make sure you enter the correct WebDAV URL.
Nextcloud sync is not working🔗
- Check your username and password. Type it manually (without copying and pasting it) and try again.
- Check the WebDAV URL - to get the correct URL, go to Nextcloud and, in the left sidebar, click on "Settings" and copy the WebDAV URL from there. Do not forget to add the folder you've created to that URL. For example, if the base the WebDAV URL is "https://example.com/nextcloud/remote.php/webdav/" and you want the notes to be synced in the "Joplin" directory, you need to give the URL "https://example.com/nextcloud/remote.php/webdav/Joplin" and you need to create the "Joplin" directory yourself.
- Did you enable 2FA (Multi-factor authentication) on Nextcloud? In that case, you need to create a one-time password for Joplin on the Nextcloud admin interface.
How can I use self-signed SSL certificates on Android?🔗
If you want to serve using https but can't or don't want to use SSL certificates signed by trusted certificate authorities (like "Let's Encrypt"), it's possible to generate a custom CA and sign your certificates with it. You can generate the CA and certificates using openssl, but I like to use a tool called mkcert for it's simplicity. Finally, you have to add your CA certificate to Android settings so that Android can recognize the certificates you signed with your CA as valid (link).
How do I restart Joplin on Windows (so that certain changes take effect)?🔗
Show tray icon is enabled, closing the Joplin window does not quit the application. To restart the application properly, one of the following has to be done to quit Joplin:
Filein the menu and then click
- right-click on the Joplin tray icon and then click
Additionally the Windows Task Manager can be used to verify whether Joplin is still around.
Why is it named Joplin?🔗
The name comes from the composer and pianist Scott Joplin, which I often listen to. His name is also easy to remember and type so it felt like a good choice. And, to quote a user on Hacker News, "though Scott Joplin's ragtime musical style has a lot in common with some very informal music, his own approach was more educated, sophisticated, and precise. Every note was in its place for a reason, and he was known to prefer his pieces to be performed exactly as written. So you could say that compared to the people who came before him, his notes were more organized".