Better HN
topnewbestaskshowjobs
Log inSign up

meto

5 karma · joined Mar 28, 2021 (5y ago) · 2 submissions

Been reading HN since 2008 by way of learning PG's Arc programming language.
Submissions

comment 2y ago · link · parent

https://pagefind.app/ static site search

comment 3y ago · link · parent

I use Astro SSG and Cloudflare Pages. I use https://github.com/cloudcannon/pagefind for search on my Astro setup. You can test the search functionality here https://tinyrocket.pages.dev/.

From its repo: "Pagefind runs after any static site generator and automatically indexes the built static files. Pagefind then outputs a static search bundle to your website, and exposes a JavaScript search API that can be used anywhere on your site."

Pagefind is cool!