Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev
webdev·Web Developmentbyentwine

Do you know of any client-side search solutions for static sites?

I'm looking for a way to add search to a fully static site (think technical documentation) without any server side compute or API.

My idea was to implement one that generates a static index that can be queried by client-side javascript when doing a search, and have the index be organized in such a way that it can be used without having to download the entire thing.

I feel like this should exist already, but I have zero experience here. So, can anyone share suggestions?

View original on programming.dev
21

5 replies

Yes, there are often extensions to static site generators that have this. I like quarto because this is built into the static site generator itself and is just a toggle option but it is a common feature.

2

I feel like it should exist as well and would love to know what the community is aware of

2

You reached the end

Do you know of any client-side search solutions for static sites? | Spyke