by meto · 3y ago · 0 comments
From its repo: "Pagefind runs after any static site generator and automatically indexes the built static files. Pagefind then outputs a static search bundle to your website, and exposes a JavaScript search API that can be used anywhere on your site."
Pagefind is cool!
https://GitHub.com/fazalmajid/fts5index
Demo: use the search sidebar on blog.majid.info.
But yes, what you describe is how search works on Sphinx-generated documentation sites and is quite impressive technology even before WASM.