Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: 多wiki全局搜索 #487

Open
dongrentianyu opened this issue Nov 3, 2023 · 7 comments
Open

feature: 多wiki全局搜索 #487

dongrentianyu opened this issue Nov 3, 2023 · 7 comments
Assignees

Comments

@dongrentianyu
Copy link

Description 描述

因为wiki很多,有时一个小条目,不知道记在哪个wiki里了。感觉可以搞一个多wiki全局搜索,这样我就不用打开everything这种软件来搜索了。然后点击可以跳转过去。

我看好像已经有做了一个搜索框,但好像搜索不出来内容。哦,那个好像是快速添加条目的。

Additional Context 额外上下文

No response

@linonetwo
Copy link
Contributor

最好还是用搜索框,例如 rubick,然后写个插件接个API来搜,就像 https://openuserjs.org/scripts/linonetwo/TiddlyWiki5_Combine_TW5_and_search_engine_results ,是可以搜所有 wiki 的

@dongrentianyu
Copy link
Author

哈哈,刚看到rubick的知乎推文,这就去试试

@dongrentianyu
Copy link
Author

但感觉只能搜索到标题,要是能够搜索到正文,那就更好了。

@dongrentianyu
Copy link
Author

dongrentianyu commented Nov 6, 2023

image

效果还不错的样子,还支持预览

只能说是加强版本everything了,因为还需要开着everything,不然就要重新扫描了。

但感觉rubick功能上还不是很多,插件不够丰富,其次是插件文档也基本没有。


我觉得这种依赖外部操作,不如还是集中在太记里实现。然后还可以做一个功能,就是对搜索到的条目点击,然后打开对应wiki并打开对应条目。这是其他外部软件所不能实现的。如果太记能实现这个功能,那太记会比其他启动器或者浏览器更强大。因为搜索才是构建超链接的关键。或者说,搜索本身就是在构建一个超链接。

@linonetwo
Copy link
Contributor

关键还是提供 tidgi:// 这种链接,这样就可以用 rubick 打开了。如果在太记里做其实就是把 rubick 整合进来,这个有人 PR 我也接受

@dongrentianyu
Copy link
Author

rubick没用明白,主要是觉得如果我只用这一个功能的话,为什么不用everything呢?后面我就用了另一款免费软件,Anytxt,这个也挺好用。就是需要把一些不需要建立索引的文件夹给取消掉,然后新建一个tid格式,就基本上可以正常搜索了。搜索起来也快,也支持预览。

image

当然最好的还是直接在太记里搜索。

rubick主要是我觉得定位比较尴尬,功能不够多,所以很多提供在线工具的网站可以代替里面大多数功能。而涉及到本地内容的,quicker也可以代替大多数功能。可能在mac上会更好用?不太清楚。

@linonetwo
Copy link
Contributor

主要是写插件调用太微的api,而不是直接搜硬盘上文本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do: Singlebox
Development

No branches or pull requests

2 participants