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
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100