What is Pagefind?
A free search tool for static sites. It builds a search index as files at build time, and the browser does the searching.
Pagefind runs after astro build and reads the finished pages in dist. No server is needed. Astro Nursery's search box uses it.