contentlayerdev / contentlayerdev/contentlayer

Investigate page search use case

オープン
#136 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
meta: never-stale needs-research
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。