Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

sunjay/crategrep

Repository files navigation

crategrep

This project is a web service that allows you to search all of the source code on crates.io with ripgrep.

Dependencies

Make sure you have ripgrep installed.

The easiest way is probably to use cargo install --force ripgrep, though there may be another way you prefer for your specific platform. See the ripgrep repository for more installation instructions.

Mirror All Source Code

To make this work, you need to have a mirror of all of the source code hosted on crates.io. Running the following script will do just that. It may take a while.

$ ./mirror-sources.sh

Building & Running

To start the server, run:

$ cargo run

This should automatically install the right toolchain listed in the rust-toolchain file. To make sure you have a recent Rust nightly installed, use rustup install nightly.

About

Search all the source code on crates.io with ripgrep

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published