Flake discoverability

Currently there is https://github.com/NixOS/flake-registry

How to discover distributed flakes?

Discover from the github API?
See one example doing this: https://github.com/casey/janus

Client side or server side?

We’re thinking about adding flakes to the search feature on the nixos.org homepage: https://github.com/NixOS/nixos-search/issues/125. I.e. we’d index all repositories on github.com containing a flake.nix file allowing users to find packages/modules/… provided by public flakes.