Open swyxio opened 2 years ago
yeah i use fusejs under the hood in that thing - welcome to help implement it!
so if i'm reading this right, we can rework the search with fuse.js?
can i take it up if so?
and is this what's expected?
yup! will review your PR.
we may not want to use Fuse.js exactly since it is 15kb.. there are a good list of alternatives here that at probably lighter and do almost the same thing https://github.com/leeoniya/uFuzzy#user-content-benchmark
see also the ideas and comments in https://github.com/sw-yx/swyxkit/issues/80
both typesense and algolia require api key signup, which is bleh, so let's try to handroll it like chumps: https://github.com/sw-yx/netlify-plugin-search-index