Stick your Joplin notes to the desktop.
Linux, dark theme | Windows, light theme |
---|---|
Keeping important notes in mind, even when the Joplin app is in background or closed.
Related topics:
- https://discourse.joplinapp.org/t/sticky-notes/3997/8
- https://discourse.joplinapp.org/t/sticky-notes-on-desktop/13767
- https://discourse.joplinapp.org/t/lock-joplin-to-forefront/21527
- Display Joplin notes, even when Joplin is offline
- Remember position, content, etc. of the notes across script and pc restarts
- Display images
- Open links and PDF files in an external application on click
- Open the note directly in Joplin
- Modify notes
- Render special cases, like for example mermaid code blocks
- Render checkboxes properly, since they aren't in the supported subset of QTextBrowser
There are two ways for installation:
- Single file executable from the releases page: Linux | Windows | MacOS.
- Recommended if you don't have experience in installing python modules.
pip install git+https://github.com/marph91/joplin-sticky-notes.git
- Recommended if you have a working python environment and know how to install modules.
The single file executable seems to be convenient, but has some disadvantages:
- It is really cumbersome to get the ci to work and maintain it.
- The executable is greater than 30 MB, since the whole python interpreter and QT are contained.
- It may be wrongly flagged as virus from windows.
- Activate Joplin's webclipper
python -m joplin_sticky_notes
- Authorize the request in Joplin
- Add the first note through the tray icon
To start the script automatically after boot, you can add it to the autostart of your OS. Make sure it starts after Joplin.
Examples:
git clone https://github.com/marph91/joplin-sticky-notes.git
cd joplin-sticky-notes
pip install -e .
python -m unittest -v
The first implementation was done in Gtk. However, there were a few obstacles:
- There seems to be no viable cross platform module for the tray. "StatusIcon" is deprecated and "AppIndicator" is linux only. See also: https://stackoverflow.com/questions/41917903/gtk-3-statusicon-replacement
- PySide has better markdown support. For Gtk, a WebKit2 had to be used. There is no viable python port for Windows and Macos.