Show HN: Self-Hostable Algolia DocSearch Replacement

(github.com)

79 points | by yujonglee 15 hours ago ago

23 comments

  • simonw 2 hours ago ago

    Took me a little poking around to figure out what the underlying search engine was: it's https://typesense.org/ hosted in a Docker container.

  • ij23 8 hours ago ago

    Canary is awesome! we use Canary for our doc search at LiteLLM (you can see it here: https://docs.litellm.ai/docs/)

    It's really useful to be able to specify the search space for a specific query (example: Canary allows search for the query "sagemaker" on our docs or on our github issues )

  • pjot an hour ago ago

    Can you talk about how you implemented search-as-you-type? Doing so with semantic search seems tricked given the roundtrips needed to compute embeddings on the fly (assuming the use of OpenAI embeddings)

  • Fire-Dragon-DoL 2 hours ago ago

    Does it have the same API? Have been looking for a way to mock the service in development

  • TnS-hun 5 hours ago ago

    In Firefox the "Search for anything" input does not get focused after opening the search dialog.

    • yujonglee 5 hours ago ago

      nice catch! just downloaded firework to test it :) will fix it shortly

  • uwemaurer 4 hours ago ago

    looks interesting. there is a typo in the headline ("techincal docs") on https://getcanary.dev/

  • hackernewds 10 hours ago ago

    The name Canary is a bit confusing, since a lot of companies already use Canary to indicate symptoms of issues (re: canary in coal mine). However the app doesn't fulfill this need.

    I will give it a try, impressive compression

    • yujonglee 8 hours ago ago

      that's a fair point. I don't think I can rename it at this point, but I'll keep in mind that some people might be confused by the name.

      please do try it out, and come to Discord if you want to chat.

  • skeptrune 13 hours ago ago

    This is sweet. I do think the styling on the component could be a bit cleaner though.

  • jgalt212 5 hours ago ago

    I have to say Algolia is underwhelming (even after all these years). Perhaps I'm using it wrong, but I often more quickly find the comment or story I'm searching for via a targeted search using Google. I should give Bing a try as I've been been getting better finance related results there lately--especially when trying to locate ratings and / or other docs related to newly issued securities.

    • bryanrasmussen an hour ago ago

      I had to use Algolia in a recent ecommerce solution, I think e-commerce really is the sweet spot for what Algolia offers, quick setup not a lot of need to mess around with your rankings etc. with very simple content.

      I'm used to Solr and ElasticSearch for most sites I've ran, which tend to be information sites dense where you need to be able to control rankings to get the best results, which HN is much closer to than to an e-commerce site.

      • shooker435 35 minutes ago ago

        Have you tried Vertex AI Search for Retail?

    • lnrdgmz 5 hours ago ago

      Agreed. I dread having to use Algolia search on documentation these days. The search results feel pretty naively selected, and the UI is pretty poor. I get that people want to deploy static sites, but can we please find a way to bring back search _pages_?

  • Onavo 11 hours ago ago

    You should add support for tinkerbird, so the index can be statically generated and queried without a backend.

    https://github.com/wizenheimer/tinkerbird

    • whilenot-dev 7 hours ago ago

      Just played around with tinkerbird on Tinkerboard[0]... it doesn't seem to get good results with the provided example data. Why do you think a support for it would be worthwhile?

      [0]: https://tinkerboard.vercel.app/

  • hackernewds 10 hours ago ago

    How does it compare to Glean?

    • yujonglee 8 hours ago ago

      Glean is used for searching the workspace (AFAIK, for internal use). Canary is used for searching technical documentation, GitHub issues, etc., and is intended for the users of the project.

  • johntopia 15 hours ago ago

    How did you manage to keep the size so small :O