Looks cool! I personally think that combining the different searches into one output with visual distinction between the sources could be of some use. I find myself often looking at packages → options → home-manager to see what exists. Kind of like mynixos.com does it
It would also be cool if there was a “universal” search bar which would aggregate the options from all the sources and mark or color-code them with the source they are coming from, like so:
hyprland
hyprland - Nixpkgs package
programs.hyprland.enable - Nixos
wayland.windowManager.hyprland.enable - Home manager
It shouldn’t be case-sensitive per se, but what I did set up is that camel-case words are split, so virtualHosts and virtual-hosts are the same.
I think that there’s still room for improvement there, but haven’t gotten around to it yet: I think this splitting should only happen in the indexing and not with the user query, that would probably improve it
See how Searchix and Searchix return a different set of results.
I noticed this when I first tried to search on my phone, which automatically made the first letter uppercase, and I wondered why there wasn’t more than one result. That can by the way be disabled via the autocapitalize setting on the input field.
oh, that’s very interesting and unexpected. I’ll add the autocapitalize attribute for now as a quick fix and look into the case sensitivity when I have a bit more time and energy. Thanks for the details and the tip!
Please don’t use the logo for just anything related to Nix. It makes it hard to discern between what’s part of the core ecosystem (“official”) and what isn’t. You can use a clearly distinguishable variant of the logo, i.e. one with a altered shape and color.
Searchix is a great idea and all, and my intention is not to put obstacles in your way. Please keep going, we need more people doing cool new things! It’s just that we have a history of inappropriate use of brand identity that has repeatedly lead to confusion. And it’s not like things aren’t confusing enough with all sorts of things having “Nix” in it’s name.
In case you and others want to make it “official”, let’s instead take the opportunity and set an example of how to do it well: you could start by checking with stakeholders of similar projects (search.nixos.org) how to go about it, and then see from there.