A crates.io indexer for Meilisearch
- Ensure validity of
.envrc
. - Install
cargo-binstall
- Install
cargo-make
cargo binstall cargo-make
Start Meilisearch with:
./y.sh dev up --wait
This will also start an instance of dozzle
, which is at http://localhost:9999.
You can also open Meilisearch at http://localhost:7700.
For the first load, we use the crates.io-index.
makers clone-index
- Run
init
makers run-init
In production, two tasks are run periodically:
Task | Frequency | Description |
---|---|---|
update_downloads |
Daily @ 2:30am UTC | Downloads the crates-io database dump to update downloads. |
live |
Every 10 minutes | Reads the docs.rs RSS feed and updates the index. |
makers run update
- Search-and-replace API keys and Meilisearch URL
- Install dependencies with
yarn
- Start development server with
yarn dev
- Cash Money
This project is based on https://github.com/meilisearch/demos.