I have a quite unique website https://ray.run/<p>I tried to create a website like the ones I remember browsing back in early 2000s. It has questions from the users, discord forum archive, dev tools, videos, etc.<p>I want to find a way to add search for users. I see it on the other websites, and usually they use Algolia. However, my community is entirely free and their product is paid. What can I do instead?
Add a search box, on submit, open a new tab with 'site:ray.run'. You can do this on Google or DuckDuckGo,<p>- <a href="https://duckduckgo.com/?q=site%3Aray.run+playwright+test&t=ffab&ia=web" rel="nofollow noreferrer">https://duckduckgo.com/?q=site%3Aray.run+playwright+test&t=f...</a><p>- <a href="https://www.google.com/search?q=site%3Aray.run+playwright+test" rel="nofollow noreferrer">https://www.google.com/search?q=site%3Aray.run+playwright+te...</a><p>Keep it simple for now.
If your content is mostly static, you might want to consider pre-building an index and shipping it as a whole. You could look into something like<p>* <a href="https://stork-search.net/" rel="nofollow noreferrer">https://stork-search.net/</a> (Rust/WASM)<p>* tinysearch: <a href="https://github.com/tinysearch/tinysearch">https://github.com/tinysearch/tinysearch</a> (Rust/WASM)<p>* <a href="https://lunrjs.com/" rel="nofollow noreferrer">https://lunrjs.com/</a> (JS, simple, stable)<p>* <a href="http://elasticlunr.com/" rel="nofollow noreferrer">http://elasticlunr.com/</a> - based on the former, slightly more sophisticated tuning options
Your website <a href="https://ray.run/" rel="nofollow noreferrer">https://ray.run/</a> does have that nostalgic early 2000s vibe, which is cool! Regarding the search functionality, you might want to explore open-source alternatives to Algolia.<p>Projects like Elasticsearch, Solr, or even using Google Custom Search can provide search capabilities without the cost. They might require a bit more setup and maintenance, but they can be budget-friendly options for a free community.<p>In case you need help or assistance with your project, feel free to contact us! <a href="https://www.ratherlabs.com" rel="nofollow noreferrer">https://www.ratherlabs.com</a>
This thread makes me feel old... I remember seeing "Google Custom Search" with Custom Search in grey on so many websites just maybe 12-15 years ago - for it to be so unusual that people on HN don't tend to know of it, seems so odd...
Looks like Google has a way of doing it <a href="https://programmablesearchengine.google.com/controlpanel/create" rel="nofollow noreferrer">https://programmablesearchengine.google.com/controlpanel/cre...</a>