Yuhanbo Search

by yuhanbo
5
4
3
2
1
Score: 30/100

Description

obsidian的搜索搜索,主要功能是解决搜索加权的问题,可以自行设置标题、属性、引用等的加权搜索

Reviews

No reviews yet.

Stats

4
stars
84
downloads
0
forks
113
days
113
days
113
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
1
total issues
1
open issues
0
closed issues
5
commits

README file from

Github

Yuhanbo Search is an Obsidian plugin for weighted vault search and quick insertion of matching content, heading links, and block links.

Yuhanbo Search 是一款 Obsidian 加权搜索与智能补全插件,可按文件名、目录、标签、标题、正文和引用分别设置搜索权重。

Features

  • Weighted search across file names, folders, tags, headings, content, and quotes.
  • Configurable search scope, excluded folders, and per-field weights.
  • @@keyword: insert matching text directly.
  • @@# keyword: insert a link to a matching heading.
  • @@@ keyword: insert a link to a matching block.
  • Keyboard navigation for suggestions and search results.
  • Works on desktop and mobile without Node.js-only APIs.

Usage

Open Yuhanbo Search: 打开加权搜索 from the command palette or select the ribbon icon. Choose the fields to search, enter at least two characters, and select a result.

Smart completion can be enabled in the plugin settings:

  • Type @@关键词 to insert matching content as plain text.
  • Type @@# 标题 to insert [[文件#标题|标题]].
  • Type @@@ 内容 to insert a block link.

No default hotkey is assigned. You can add one under Settings → Hotkeys.

Results initially show the top 100 files. Select 加载更多结果 to continue through the ranked list. The displayed previews are limited, but every match still contributes to the score. Changing the search or closing the dialog cancels the previous scan.

Installation

Community plugins

Install Yuhanbo Search from Settings → Community plugins → Browse.

Manual installation

Download main.js, manifest.json, and styles.css from the latest GitHub release. Copy them into:

<vault>/.obsidian/plugins/yuhanbo-search/

Reload Obsidian and enable Yuhanbo Search.

Privacy and permissions

  • The plugin reads Markdown files and Obsidian metadata only to build a local search index.
  • Settings are stored locally through Obsidian's plugin data API.
  • The plugin does not send vault content, telemetry, or personal data over the network.
  • The plugin does not modify or delete vault files during search or indexing.

Development and releases

Edit src/yuhanbo-search.js, then run npm run build to check its syntax and regenerate the root main.js byte for byte. Run npm test against the generated file. Commit the source and generated entry together. A push to main that changes release files runs GitHub Actions. If the manifest version has already been released, the workflow increments the patch version; otherwise it releases the current version. Each release attaches the files required by Obsidian and includes build-provenance attestations.

License

MIT © Yuhanbo Yu

👨‍💻 作者信息

余汉波 - 编程爱好者-量化交易和效率工具开发

🌐 相关链接

联系我们

联系我们 - 三人聚智-余汉波

证券开户(+V:yuhanbo758):证券开户免5万0.854,无门槛开量化QMT,送框架策略,支持VIP快速通道,也可开Ptrade | 余汉波 文档

三人聚智下载:sanrenjz - 三人聚智

codebot 下载:sanrenjz-codebot - 三人聚智-余汉波

三码合一

余汉波打赏码

🙏 致谢

感谢所有为本项目贡献代码和想法的开发者们!


⭐ 如果这个项目对您有帮助,请给它一个 Star!