Either using [nixos-search](https://github.com/NixOS/nixos-search/blob/dff23cf9c6e554193d4a0372a0f827484f4edfd5/frontend/src/index.js) api, as [nix-index-cli](https://github.com/peterldowns/nix-search-cli/blob/f3f1c53c72dadac06472a7112aeb486ab5dda695/pkg/nixsearch/esclient.go#L17C5-L20) does, or checkout [nix-index-database](https://github.com/nix-community/nix-index-database)