Open harrislapiroff opened 1 year ago
Lunr looks like the option for a client-size search index
Pagefind seems to be along similar lines
Google Custom Search is a hosted option if I can hold my nose and let my site feed visitor data to Google...
Looking at this a little more pagefind seems to specifically be optimized for low bandwidth fully client side search, which is exactly what I'm looking for. Not sure how it achieves that technically, but seems worth looking into. Also got an endorsement for it on mastodon: https://indieweb.social/@bobmonsour/111196919178505156
It would be nice to add a search form to the archive. Since this is a static-site, this could be a little tricky. Will need to research best options for hosted/embedded site-search. (Loading a full index client side would be neat, but probably impractically large?)