this post was submitted on 28 Jan 2026
16 points (100.0% liked)

Web Development

5114 readers
4 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

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?

top 5 comments
sorted by: hot top controversial new old
[–] jaredwhite@humansare.social 4 points 3 days ago (1 children)

Pagefind is an awesome solution and can work with pretty much any static site generator. https://pagefind.app/

For example, I use it here on my site That HTML Blog.

[–] entwine@programming.dev 3 points 3 days ago

Awesome, this is exactly what I was looking for, thanks!

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.

[–] CompactFlax@discuss.tchncs.de 2 points 3 days ago* (last edited 3 days ago)

Search incorporating the static site generators as keywords; there’s some JavaScript stuff for that which you may be able to modify. Example https://github.com/christian-fei/Simple-Jekyll-Search

I am not a frontend person.

[–] frisbird@lemmy.ml 2 points 3 days ago

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