Search search search … Link to heading
Search is on of those things that feels complex and infrastructure heavy, When I started thinking about how to add search to my personal website which is built with a static website generator.
I found a couple of Javascript libraries and mostly they would create indexes in the browser runtime, which wouldn’t scale for a large number of documents and loads the client side with the indexing and the indexes like Lunr,
then I stumbled upon the brilliant PageFind which builds upon the basic ideas of static site generation and follows the architecture using Github Actions
It felt right immediately and I started integrating in my website so I added the following to my blog posts list page:
| |