contentlayerdev / contentlayerdev/contentlayer
Investigate page search use case
Open
meta: never-stale
needs-research
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.