spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

Feat: add search using SearchMate

Open JosueRhea opened this issue 2 years ago • 1 comments

I have added a search feature in the documentation using Search Mate.

To use this feature, you will need to provide an appId, which I have included in the environment variables. But for this app i wanna give the appId 0a85eacc-dafe-4381-ac25-78765241c348. It can be public so don't worry :).

image

You can find the preview deployment here

JosueRhea avatar Jun 09 '23 15:06 JosueRhea

@JosueRhea is attempting to deploy a commit to the Spacedrive Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 09 '23 15:06 vercel[bot]

Thank you for contributing, I am guessing this is your service so that's cool.

I couldn't see any logic to upload our docs and their content programmatically and that would be a requirement for the search actually. If that's the case, can you explain how it works? We are also not looking to pay as Agolia (or flexsearch) is free for open source and looks like SearchMate isn't.

utkubakir avatar Jun 10 '23 10:06 utkubakir

Yeah, it indexes the documentation from the GitHub repo, rebuilds the docs based on commits and all that stuff.

For this project, I can make it free. But yes, it still makes sense to use Algolia, as you said

JosueRhea avatar Jun 10 '23 15:06 JosueRhea