wang52 downloadsRandomly pick and open a note from your filtered range — a slot-machine-style wheel with celebration confetti. 在你设定的文件夹与搜索范围内随机抽取一篇笔记打开,拉霸风格滚筒动画 + 庆祝粒子,试试手气吧!
English · 中文 · Features · 安装 · Usage
Pick a note at random from a range you define, and open it. Try your luck!
Pick a folder, optionally layer on Obsidian search syntax, then click the sidebar icon. A slot-machine-style wheel spins up a note, with a confetti finish. Works on desktop and mobile.
tag: / path: / -exclude / keywords)Pick a random note command, bindable to a hotkey on desktopmain.js, manifest.json, and styles.css from the latest release<vault>/.obsidian/plugins/lottery/⚠️
styles.cssmust be shipped alongside the plugin — without it the overlay, wheel, and settings styles will break.
Obsidian → Settings → Community plugins → Browse → search Note Lottery → Install
| Syntax | Meaning |
|---|---|
keyword |
Note name or path contains this word |
tag:#diary |
Has this tag (includes frontmatter tags) |
path:2024 |
Path contains 2024 |
-draft |
Exclude notes containing "draft" |
Combinable: tag:#diary path:2024 -draft (space-separated; all conditions must match).
MIT © 2026 tp906
English · 中文
在给定的范围内,随机抽取一篇笔记打开,试试手气吧!
按文件夹和搜索语法圈定范围,点一下侧边栏图标,滚筒动画抽出一篇笔记,附带庆祝粒子。桌面和移动端均可使用。
tag: / path: / -排除 / 关键词)随机抽取笔记 命令,桌面可绑定快捷键main.js、manifest.json、styles.css<vault>/.obsidian/plugins/lottery/⚠️
styles.css必须随插件一起分发,否则遮罩 / 滚筒 / 设置页样式将失效。
Obsidian → 设置 → 第三方插件 → 浏览 → 搜索「Note Lottery」→ 安装
| 语法 | 含义 |
|---|---|
关键词 |
笔记名或路径含此词 |
tag:#日记 |
含此标签(含 frontmatter 中的 tags) |
path:2024 |
路径含 2024 |
-草稿 |
排除含「草稿」的笔记 |
可组合:tag:#日记 path:2024 -草稿(空格分隔,全部条件需同时满足)
MIT © 2026 tp906