Today + Tag Search — Two Lightweight Render Note Widgets / 两个轻量 Render Note 小工具 #9648
youli42
started this conversation in
Plugin Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🇬🇧 English
This post introduces two small but practical Render Note widgets for TriliumNext. Both are built with vanilla JS + CSS, require no plugins, no build tools, and no core modifications. Colors inherit from Trilium's theme variables, so they work seamlessly with both light and dark themes.
🇨🇳 中文
本文介绍两个实用的小型 Render Note 挂件,专为 TriliumNext 设计。两者均使用原生 JS + CSS 构建,无需插件、无需构建工具、不修改核心代码。颜色全部继承 Trilium 主题变量,自动适配浅色和深色主题。
📅 Today / 今日动态
English:
A date-range activity viewer. Pick a start and end date, and it shows all notes created or modified within that period. Click any note title to jump directly to it.
中文:
一个按时间范围查看笔记动态的工具。选择起止日期后,显示该时间段内创建或修改的所有笔记,点击笔记标题可直接跳转。
Features / 特点
Date range picker — Quickly browse notes by time
One-click navigation — Click a note title to jump
Theme-aware — No hardcoded colors; inherits Trilium light/dark theme
Zero dependencies — Vanilla JS + CSS
日期范围选择 — 快速按时间浏览笔记
一键跳转 — 点击笔记标题直接导航
主题自适应 — 无硬编码颜色,继承 Trilium 浅色/深色主题
零依赖 — 纯原生 JS + CSS
Links / 链接:
Screenshot / 截图:
🏷️ Tag Search / 标签搜索
English:
A tag-filtering panel that sits above your notes. It shows a list of popular tags; click a tag to filter notes. Supports full-text search, tag-value search, pagination, and search history.
中文:
一个显示在笔记上方的标签筛选面板。展示热门标签列表,点击即可按标签筛选笔记,支持全文搜索、标签值搜索、分页
Features / 特点
Dual-click behavior — Click a tag name (before colon) to filter all notes under that tag; click a tag value (after colon) for exact match
Smart escaping — Special characters in tag values (spaces, quotes,
#, parentheses) are auto-escapedMulti-value OR — Selecting multiple values under the same tag name merges them with
( A or B )syntaxSearch history — Saved to localStorage, sorted by recency
Pagination — 25/50/100/150/200/300 items per page
Configurable — Row count, tags per row, search scope, etc. via
tag-search-config.jsonc双重点击行为 — 点击标签名(冒号前)筛选该标签下所有笔记;点击标签值(冒号后)精确匹配
智能转义 — 标签值中的特殊字符(空格、引号、
#、括号)自动转义同名 OR 合并 — 同一标签名下选多个值时,用
( A or B )语法合并搜索历史 — 存入 localStorage,按时效排序
分页 — 每页 25/50/100/150/200/300 条
可配置 — 行数、每行标签数、搜索范围等通过
tag-search-config.jsonc配置Links / 链接:
Screenshot / 截图:
For Whom / 适合谁用
🇬🇧 You might find these useful if:
🇨🇳 如果你有以下需求,这两个小工具可能会帮到你:
Beta Was this translation helpful? Give feedback.
All reactions