Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: Nriver/trilium-py

v1.3.9

26 May 10:21
@Nriver Nriver

Choose a tag to compare

  • sort todo support noteId
  • fix sort todo groups
Assets 2
Loading

v1.3.7

26 May 02:19
@Nriver Nriver

Choose a tag to compare

Loading

v1.3.6

10 Apr 01:40
@Nriver Nriver

Choose a tag to compare

Loading

v1.3.5

07 Apr 08:02
@Nriver Nriver

Choose a tag to compare

Loading
Nriver reacted with laugh emoji
1 person reacted

v1.3.4

24 Feb 03:31
@Nriver Nriver

Choose a tag to compare

What's Changed

  • Better support for Joplin's Markdown + Front Matter format, preserving note creation date and paragraph breaks by @dalva24 in #67
  • Fix typo in README for Import Note example by @0rax in #65

New Contributors

Full Changelog: v1.3.3...v1.3.4

Contributors

0rax and dalva24
Loading
Nriver reacted with laugh emoji
1 person reacted

v1.3.3

15 Dec 08:01
@Nriver Nriver

Choose a tag to compare

What's Changed

Full Changelog: v1.3.2...v1.3.3

Contributors

6112562a
Loading

v1.3.2

09 Dec 01:55
@Nriver Nriver

Choose a tag to compare

What's Changed

  • using mimetypes instead of magic by @6112562a in #62 the python-magic dependency is completely removed as per 8c59eec
  • support importing images and files in markdown as attachments by @regomne in #60 it's now the default way to import as per 007f0f2

New Contributors

Full Changelog: v1.3.0...v1.3.2

Contributors

regomne and 6112562a
Loading

v1.3.0

21 Oct 05:52
@Nriver Nriver

Choose a tag to compare

New Feature — (Advanced Usage) 🗓️🔁 Periodic TODOs

Automatically add recurring tasks to your TODO list using the new add_periodic_todos function!

This feature supports daily, weekly, monthly, and yearly tasks.
If a task is due today and isn’t already in your list, it will be added automatically.

💡 Example

periodic_todos = [
 {"content": "Stretch body", "type": "daily"},
 {"content": "Buy milk for Nriver :)", "type": "daily"},
 {"content": "Wash clothes", "type": "weekly", "weekday": 6},
 {"content": "Write monthly report", "type": "monthly", "day": 1},
 {"content": "Annual review", "type": "yearly", "month": 12, "day": 31},
 {"content": "Pay bills", "type": "monthly", "day": 15, "end_date": "2077-01-01"},
]
ea.add_periodic_todos(periodic_todos)

🔗 More advanced usage

For more complex usage and options, please refer to the documentation.

New Feature — 📄 Create Branch (Note Clone)

In ETAPI, this is called a branch, but in the Trilium UI it represents a note clone.

Here’s an example of creating a clone of note2 under note1:

res = ea.create_branch(
 noteId="note2",
 parentNoteId="note1",
)

🗓️🔁 新功能 — (高级用法) 周期性 TODO

现在可以使用 add_periodic_todos 自动添加循环任务到待办列表!

支持 每日、每周、每月和每年 的任务。
如果任务今天到期且今天的清单中没有,它会自动添加。

💡 示例

periodic_todos = [
 {"content": "每天拉伸身体", "type": "daily"},
 {"content": "每天给 Nriver 买牛奶 :)", "type": "daily"},
 {"content": "每周六洗衣服", "type": "weekly", "weekday": 6},
 {"content": "每月 1 日写月报", "type": "monthly", "day": 1},
 {"content": "年度总结", "type": "yearly", "month": 12, "day": 31},
 {"content": "每月 15 日交账单", "type": "monthly", "day": 15, "end_date": "2077-01-01"},
]
ea.add_periodic_todos(periodic_todos)

🔗 更多复杂用法

更多高级用法和配置说明,请参考官方文档:周期性 TODO

新功能 — 创建笔记克隆(分支)

在 ETAPI 中,这个对象被称为 branch(分支),但在 Trilium 用户界面中,它表示 笔记克隆(note clone)。

下面示例演示如何在 note1 下创建 note2 的克隆:

res = ea.create_branch(
 noteId="note2",
 parentNoteId="note1",
)
Loading
Nriver reacted with laugh emoji
1 person reacted

v1.2.6

29 Sep 06:10
@Nriver Nriver

Choose a tag to compare

New Feature

  • Periodic TODOs

    • Supports recurring todos: daily, weekly, monthly, yearly
    • Supports custom date ranges (start_date, end_date)
    • Supports negative day values for monthly tasks (e.g. -1 = last day of month)
    • Avoids duplicate todos for the same day

Example

periodic_todos = [
 {"content": "Check email", "type": "daily"},
 {"content": "Wash clothes", "type": "weekly", "weekday": 6},
 {"content": "Write monthly report", "type": "monthly", "day": 1},
 {"content": "Pay rent", "type": "monthly", "day": -1},
]
ea.add_periodic_todos(periodic_todos)

新功能

  • 周期性 TODO

    • 支持周期性任务:每日、每周、每月、每年
    • 支持自定义日期范围(start_date, end_date)
    • 支持 负数日期 用于月度任务(如 -1 = 每月最后一天)
    • 自动避免重复添加相同任务

示例

periodic_todos = [
 {"content": "检查邮件", "type": "daily"},
 {"content": "洗衣服", "type": "weekly", "weekday": 6},
 {"content": "写总结报告", "type": "monthly", "day": 1},
 {"content": "交房租", "type": "monthly", "day": -1},
]
ea.add_periodic_todos(periodic_todos)
Loading
Nriver reacted with laugh emoji
1 person reacted

v1.2.5

11 Sep 06:56
@Nriver Nriver

Choose a tag to compare

Release Note

  • Beautify note has been further enhanced:

    • Headings are now automatically normalized (highest level unified to H2) for clearer structure
    • Code blocks are now preserved and excluded from global beautification
    • Leading and trailing blank lines inside code blocks are automatically removed
    • Improved spacing between images and paragraphs
    • Enhanced overall formatting consistency, making notes cleaner, clearer, and easier to read
  • Beautify note 功能进一步完善:

    • 标题层级现在会自动规范化(最高统一为 H2),结构更加清晰
    • 代码块内容会被完整保留,不再参与全局美化
    • 自动去除代码块内部首尾多余的空行
    • 优化图片与段落之间的间距
    • 提升整体排版一致性,让笔记更加简洁、清晰、易读

beautify-note

Loading
Nriver reacted with laugh emoji
1 person reacted
Previous 1 3 4 5
Previous

AltStyle によって変換されたページ (->オリジナル) /