ocaml / ocaml.org

The official OCaml website.
https://ocaml.org
Other
161 stars 326 forks source link

Package directory where you can browse all packages by tags and categories #953

Open sabine opened 1 year ago

sabine commented 1 year ago

"I didn't find a link to something listing all the packages like https://opam.ocaml.org/packages/"

What if we had a registry to explore by category?

For now, the first step would be to add a /packages/directory page that lists all packages.

cuihtlauac commented 1 year ago

Although partly satisfactory, https://ocaml.org/packages/search?q= returns the complete list (4183 package at time of writing this, same count as https://opam.ocaml.org/packages/).

As an interim solution /packages/directory could redirect to /packages/search?q=

In the longer range, the question is how different would the directory and search result list would look like?

sabine commented 1 year ago

Search will inevitably have pagination.

ETA: In the long run, I mean, when we have one or two orders more packages than now.