Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client-side search #202

Closed
andreilgeorgescu opened this issue Dec 4, 2024 · 0 comments · Fixed by #203
Closed

Add client-side search #202

andreilgeorgescu opened this issue Dec 4, 2024 · 0 comments · Fixed by #203
Assignees

Comments

@andreilgeorgescu
Copy link
Collaborator

andreilgeorgescu commented Dec 4, 2024

There are many options for search such as Algolia or a custom search. Out of these, Pagefind seems to be the lowest-bandwith, free, and most practical option for a static website because it is a framework-agnostic client-side search that is extremely fast due to being written in Rust and only loading indexed fragments upon actual search.

Due to being framework agnostic, there is a little bit of setup to get it working without issue. However, there is an Astro integration that seems to make the setup simple and even allows for search to work during local development.

In the future, we might upgrade search to use an LLM but Pagefind currently serves the most practical purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant