/demo-finding-crates

Expose all crates from crates.io with MeiliSearch

Primary LanguageRustMIT LicenseMIT

Please note: since January 2022, this demo is now hosted at https://github.com/meilisearch/demos/tree/main/src/finding-pypi


Finding Crates

A new experience of search to find your favorite crates 🎉

Search by crate name or by keywords.

crates demo gif

The search is powered by MeiliSearch, the open-source and instant search engine.

See also

How to run the data collector

Set the following envrionment variables:

  • MEILI_HOST_URL
  • MEILI_API_KEY
  • MEILI_INDEX_UID (it should set to crates to be used with the front of this repo)
$ rm -rf crates.io-index/
$ ./run.sh

Details

The front is deployed to GitHub Pages.

We pull new crates and crates updates every 10 minutes from docs.rs and all the downloads counts every day at 3:30 PM UTC from crates.io.

Here is the repository of MeiliSearch.