Various Python and AutoIt tools for Joplin. Python use the Joplin API for communication.
Please einstall the following python modules:
pip install click
pip install requests
pip install PyMuPDF
-t
Joplin Authorisation token. Default:Ask for token and store token
-u
Joplin Web Clipper URL. Defaulthttp://localhost:41184
If no token is specified, the script will ask for it and then store it in the script's directory for later use when called without the -t
option.
⭐ Almost all functions are available as Hotfolder plugin.
Monitor a folder an add the Files to Joplin as a Note.
Images and text (Mimetype text/plain
) are inserted directly into the note, other Files are added as attachment. The files are deleted after processing.
If you want to insert additional files directly as text, define them with the --as-plain
switch.
Example
python hotfolder.py -d "Import" -p "C:\JoplinImport"
Parameters
-d
Specify the notebook in which to place newly created notes. Default:Import
-p
Folder for monitoring--as-plain
Specify file extensions comma separated for input as text. Example:.md, .json
--tag
Specify of comma separated Tags which should be added to the note. Example:scan, todo
--preview
Create a preview of the first site from an PDF file.
Search for notes with a PDF attachment an create a preview of the first PDF Site and add this Preview to Note.
Parameters
-n
Defines the notebook in which notes with PDF file should be searched. Default:All notebooks
Example
python add_pdf_previews.py -n "Import"
⭐ The same functionality is now available as Note overview plugin.
Creates or Updates a note with a list of all open ToDo's. All to-dos that have been exceeded are marked with a ❗.
Parameters
-n
Defines the notebook in which the new Note should be created.--title
Defines the title for the note to be updated or createt. DefaultToDo overview
--as-todo
Create the note as a ToDo--tag
Specify of comma separated Tags which should be added to the note. Example:scan, todo
Example
python todo_overview.py --title "Open ToDo's" --as-todo --tag "importend"
⭐ The same functionality is now available as Note overview plugin.
Creates or updates a note with a list of all notes that match the search query.
Parameters
-n
Defines the notebook in which the new Note should be created.--title
Defines the title for the note to be updated or createt. DefaultNote overview
--tag
Specify of comma separated Tags which should be added to the note. Example:project, overview
--query
Specify the seach query for the Notes like in Joplin--order_by
Specify the field for the sorting of the Table content. (All Joplin fields can be used for sorting). Defaultuser_updated_time
--order_dir
Sorting sequence, possible valuesDESC
orASC
. DefaultDESC
Example
python note_overview.py --query "tag:! tag:\"project xyz\"" -n Scans --title "Overview Important Notes" --tag "!"
⭐ There is now a backup plugin available! Simple Backup plugin.
Since there is no possibility for an automatic backup under windows, the required key combinations are sent to joplin via autoit to create a backup.
Rename the JoplinWinBackup.ini.example
to JoplinWinBackup.ini
and place it in the same folder es the JoplinWinBackup.au3
or JoplinWinBackup.exe
.
The latest JoplinWinBackup.exe can be downloaded from the latest release.
Options from the JoplinWinBackup.ini
JoplinWinBackup
Defines the Path to Joplin exe. DefaultC:\Program Files\Joplin\Joplin.exe
backup_folder
Path to store the Backups. DefaultC:\Backup
key_combo
Key combo to get to the "JEX - Joplin export File" menue. Defaultfej
save_dialog
Dialog Title of the save/eport dialog. DefaultSpeichern unter
ask_for_start
Ask if backup should be started. Default1
,0
= No,1
= Yesbackup_file_add_date
Append date to the Backupfile. Default1
,0
= No,1
= Yesbackup_file_add_time
Append time to the Backupfile. Default1
,0
= No,1
= Yesbackup_file_name
Filename of the Backup. Defaultjoplin_backup.jex
overwrite_file
Overwrite existing backup file. Default0
,0
= No,1
= Yes
- Fix two outputs on the console
- Added note_overview.py script
- Keep original updated time when adding PDF preview
- Read complet key_combo from ini
- Read sleep value wait_overwrite_dialog from ini
❗ breaking changes, requires at least Joplin v1.4.11 ❗
- Change to new Joplin API