Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Logseq community plugin: WASM-powered semantic search

未关闭
#607 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
rust, typescript, wasm
领域
frontend, tooling

调研方向

Start by reading the shared WASM infrastructure in #606, the format parser work in #604, and the @terraphim/autocomplete interface. Use the Logseq Editor, UI, and App APIs as the entry points for the new plugin. Done means the plugin provides the slash-command search, block-level results, page concept panel, and listed settings.

由索引模型根据 Issue 内容生成。

描述

enhancement

Summary

Logseq plugin providing deterministic semantic search via terraphim's Aho-Corasick automata compiled to WASM. Surfaces terraphim search as a Logseq slash command. Same WASM core as the Obsidian plugin (#606).

Why Logseq Specifically

Terraphim's KG parser already uses Logseq's native synonyms:: property syntax. Every Logseq user who writes synonyms:: in their pages is already creating terraphim-compatible knowledge graph entries without knowing it. This plugin activates that latent value.

Architecture

Same WASM core as #606:

Logseq Plugin (TypeScript)
    |
    v
@terraphim/autocomplete (WASM)
    |
    v
terraphim_automata (Rust -> WASM)
    |
    v
User's Logseq graph (pages/ directory)

Plugin Features

  • Slash command /terraphim-search -- search with synonym expansion
  • Block-level results: search result links to specific blocks, not just pages
  • Page-level concept panel: shows synonyms and related concepts for the current page
  • Settings: graph path, rebuild trigger, custom KG directory

Logseq Plugin API

  • Logseq plugins are TypeScript/JavaScript
  • Published via Logseq Marketplace (GitHub-based)
  • API: logseq.Editor, logseq.UI, logseq.App for block operations

Messaging

"Your synonyms:: properties now power real Aho-Corasick search -- not just text matching, but concept-level semantic search compiled into a state machine."

Affected Crates / Packages

  • Same WASM core as #606
  • New repo or directory: terraphim-logseq-plugin

Estimated Effort

~1 day (shared WASM core with #606, Logseq-specific UI)

Dependencies

  • #604 Obsidian format parser (shared parser code)
  • #606 Obsidian plugin (shared WASM infrastructure)

Part of

Epic #603

主要语言
Rust
星标
62
派生
5
平均合并
2 小时 27 分钟
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

terraphim/terraphim-ai 的其他 Issue

查看 terraphim/terraphim-ai 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。