Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add search functionality #1345

Open
jcesarmobile opened this issue Jan 28, 2024 · 1 comment
Open

feat: Add search functionality #1345

jcesarmobile opened this issue Jan 28, 2024 · 1 comment

Comments

@jcesarmobile
Copy link
Member

Feature Request

Motivation Behind Feature

it's hard to find things in the site without search functionality

Feature Description

a search box where you enter a text and returns the pages where the text you searched appear

Alternatives or Workarounds

we had algolia search but was not working and was removed, so we might try to figure out how to add it back or add an alternative thing

@breautek
Copy link
Contributor

For context, Algolia was removed because they seemed to have decomissioned their v1 API which we were using.

They do still have a free variant so we could probably re-introduce algolia using their current API version, but personally I'd be inclined to try a completely local/client-side solution.

https://jekyllcodex.org/without-plugin/search-lunr/

It builds an index during the jekyll build, so we won't be dependent on any third-party service, and generates a custom search function. Though I can't vouch how well this particular library works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants