contentlayerdev / contentlayerdev/contentlayer
Investigate page search use case
- 主要語言
- TypeScript
- 星號
- 3.5k
- 分支
- 192
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I want to investigate how Contentlayer can be used to implement page search experiences similar Algolia. This is a very common use case for docs pages and also with command pallets (e.g. https://github.com/timc1/kbar) becoming increasingly popular. The idea is to use Contentlayer's "document index" to power a search experience **locally** without requiring a server-side search service.
I imagine this to be very useful for the broader Contentlayer community and I'd like to use it myself for the Contentlayer website/docs. 🙃
Related:
- https://typesense.org
cc @sw-yx @seancdavis
貢獻指南
研究方向
首先檢查 Contentlayer 的文件索引,以及如何在不使用伺服器端搜尋服務的情況下支援本機頁面搜尋。將預期使用情境與 Algolia、Typesense 以及 kbar 等命令面板進行比較。當為文件頁面和 Contentlayer 網站提供本機搜尋體驗的方法確定後,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- search
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100