Closed Alw3ys closed 1 year ago
Thanks for the PR! This search system looks neat but I think it might be better to use something local and not rely on a 3rd-party. Maybe https://github.com/praveenn77/docusaurus-lunr-search ?
Hi @coliff! Of course there are benefits and cons to local vs self hosted and 3rd party hosted. What you propose is a local search which isn't as rich as most elastic search engines. You have many to self host yourself and when it comes to ElasticSearch many open source libraries decide to go Algolia with which in fact is 3rd party.
EnhanceDocs approach is simular to Algolia and free for open source but you leverage it's AI Models and dashboard to gain insights to what your users are asking.
So yes, you might go for local search but then you might be missing insights into what your users are searching for and what needs to be better documented so they can get their questions answered and easy out usage of your library.
Ofc, everybody has their preferences, if you still think local search fits better your needs, that's your call! Worst case of relying on a 3rd party is that maybe goes bankrup at some point and then you just have to remove it ¯_(ツ)_/¯
Hey @coliff now enhancedocs is open source and can be self hosted, if you like that better!https://github.com/enhancedocs/enhancedocs
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.
Hi there!
Hi team!
Here's a PR that needs a few variables to be replace implementing EnhanceDocs Search.
ENHANCEDOCS_API_KEY
with secret from https://github.com/htmlhint/HTMLHint/settings/secrets/actions/newLeaving here a screenshoot on how our EnhanceDocs looks like in your docs, and our licence is free for open source btw :)