invertase / docs.page

Instant Open Source docs with zero configuration.
https://docs.page
Apache License 2.0
471 stars 76 forks source link

Suggestion: add support for pagefind #341

Open bgmort opened 8 months ago

bgmort commented 8 months ago

https://pagefind.app/ is a simpler, faster static alternative to server-side search for sites whose content isn't insanely large. It would be a really handy feature to have as an alternative to Algolia.

This is from their docs:

The goal of Pagefind is that websites with tens of thousands of pages should be searchable by someone in their browser, while consuming as little bandwidth as possible. Pagefind’s search index is split into chunks, so that searching in the browser only ever needs to load a small subset of the search index. Pagefind can run a full-text search on a 10,000 page site with a total network payload under 300kB, including the Pagefind library itself. For most sites, this will be closer to 100kB.

I can attest from my own experience that it is easy to build and set up, and very fast.

Note: I'm not affiliated with pagefind, just a fan of it.

Ehesp commented 2 months ago

Thanks for suggesting this - now we have landed the rework I'll see if this can be integrated!