jekyll-theme-chirpy icon indicating copy to clipboard operation
jekyll-theme-chirpy copied to clipboard

support algolia for fast and relevant search

Open liblaf opened this issue 2 years ago • 1 comments

Checklist

Is your feature request related to a problem? Please describe

Support Algolia as search provider.

Describe the solution you'd like

Algolia provides an generous free plan. It is convenient to use jekyll-algolia plugin to generate and upload search index. Besides, Algolia also provides easy-to-use tools to build search UI (InstantSearch.js).

Describe alternatives you've considered

Additional context

liblaf avatar Jun 27 '22 16:06 liblaf

Algolia already have an implementation on this. You can add jekyll-algolia plugin to your blog (and build the search component from there).

The plugin only takes care of extracting your data and pushing it to an Algolia index. Building the front-end that will allow your users to search into that data is not part of the plugin.

As it would depend too much on the theme you applied to Jekyll, we could not create a one-size-fits-all solution. Instead, the best solution is to use our InstantSearch.js library (also available for Vue.js, React and Angular). It’s an easy-to-use set of UI widgets you can use to build your own search in a matter of minutes.

or follow their tutorial on how to add InstantSearch.js to your blog. The only thing to be mindful of is that Algolia free tier does have a limited quota which is fine for small content but you risk of using it all up if you have a huge number of blog posts.

lnfel avatar Jul 29 '22 18:07 lnfel

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 02 '22 05:09 stale[bot]