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

Removes Algolia in favor of Orama #2862

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

micheleriva
Copy link

As discussed with @nicolo-ribaudo, I'm opening a PR to add support for Orama search instead of Algolia. This results in faster searches (the search engine runs locally on the browser), with an open-source solution that does not require configuration or maintenance.

Happy to discuss this and make changes if you require so.

Copy link

netlify bot commented Feb 2, 2024

Deploy Preview for babel-next failed.

Name Link
🔨 Latest commit 6e383d0
🔍 Latest deploy log https://app.netlify.com/sites/babel-next/deploys/65df657a8c544500077de641

Copy link

netlify bot commented Feb 2, 2024

Deploy Preview for babel failed.

Name Link
🔨 Latest commit 6e383d0
🔍 Latest deploy log https://app.netlify.com/sites/babel/deploys/65df657b332ab6000858504a

@nicolo-ribaudo
Copy link
Member

Thank you, I though you had forgotten :) I'll take a look

@Daniel15
Copy link
Member

Daniel15 commented Mar 1, 2024

runs locally on the browser

How much does it increase the weight of the page? How large is the index?

@micheleriva
Copy link
Author

How much does it increase the weight of the page? How large is the index?

For this specific website, it's 1.5MB

@Daniel15
Copy link
Member

Daniel15 commented Mar 3, 2024 via email

@micheleriva
Copy link
Author

Right now, it's always loaded. We could make it lazy, but requires some development.

As an alternative, we can offer Orama Cloud for free for OSS projects, that way you'd have a more Algolia-like experience... but all the sites using Orama OSS are not having big problems with index size.

1.5MB is not lightweight... it's like loading an average-sized image. That may give some perspective I think :)

@micheleriva
Copy link
Author

Hi, @nicolo-ribaudo any update on this/anything I can do? Also, would you prefer moving to Orama Cloud (of course for free) or keeping the open-source one in this PR? It's a small website, so I personally believe the OSS one is enough for now.

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

Successfully merging this pull request may close these issues.

4 participants