返回顶部
j

joplin-notes

Interface for managing Joplin notes via WebDAV. Allows listing notebooks and notes, reading content (first line = title), and creating or updating notes and notebooks. Use this skill when the user wants to access or modify their Joplin database programmatically.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
82
下载量
0
收藏
概述
安装方式
版本历史

joplin-notes

# Joplin Notes Skill This skill provides programmatic access to a Joplin database synchronized via WebDAV. ## How it Works Joplin stores notes and notebooks as `.md` files in a flat directory. They are linked via metadata at the end of the file (`id`, `parent_id`, `type_`). - **Title:** The first line of the file is the title of the note or notebook. - **Notebook:** A special file type (`type_: 2`) that serves as a container for notes. - **Note:** A standard file (`type_: 1`) assigned to a notebook via `parent_id`. ## Available Scripts The scripts are located in `scripts/` and require the following environment variables: - `JOPLIN_PASSWORD`: The password for WebDAV access. - `JOPLIN_ACCOUNT`: The username for Joplin (e.g., `openclaw`). - `JOPLIN_WEBDAV_PATH`: The full path to the Joplin directory on the WebDAV server. ### 1. List Notes (`list_notes.py`) Outputs the entire structure of notebooks and their contained notes. - **Usage:** `python3 scripts/list_notes.py` ### 2. Get Note Content (`get_note.py`) Reads the content of a specific note by its ID. - **Usage:** `python3 scripts/get_note.py <note_id>` ### 3. Upsert Note/Notebook (`upsert_note.py`) Updates an existing note or creates a new one. Supports notebooks via the type parameter. - **Usage:** `python3 scripts/upsert_note.py <note_id|new> <parent_id> <content_file> [type (1=note, 2=notebook)]` ### 4. Create Notebook (`create_notebook.py`) Creates a new notebook. - **Usage:** `python3 scripts/create_notebook.py <title> [parent_notebook_id]` ## Workflow Examples ### Query Structure 1. `exec("python3 /home/openclaw/.openclaw/workspace/skills/joplin-notes/scripts/list_notes.py")` 2. Analyze the output to find the desired `note_id` or `notebook_id`. ### Read Note Content 1. `exec("python3 /home/openclaw/.openclaw/workspace/skills/joplin-notes/scripts/get_note.py <note_id>")` ### Edit or Create Note 1. Download the current content with `get_note.py` (if editing). 2. Create a temporary file with the new content (include the title in the first line). 3. Call `upsert_note.py`.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 joplin-notes-1776106521 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 joplin-notes-1776106521 技能

通过命令行安装

skillhub install joplin-notes-1776106521

下载 Zip 包

⬇ 下载 joplin-notes v1.0.0

文件大小: 6.85 KB | 发布时间: 2026-4-14 13:45

v1.0.0 最新 2026-4-14 13:45
- Initial release of the Joplin Notes skill.
- Provides programmatic access to Joplin notes and notebooks via WebDAV.
- Supports listing notebooks and notes, reading note content, and creating or updating notes and notebooks.
- Includes Python scripts for each operation, designed to be used with environment variables for secure WebDAV access.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部