The first place to go in order to find a CID stored in Filecoin
This repo provides an indexer implementation that can be used to index data stored by a range of participating storage providers.
Released for production: The current production release is running at https://cid.contact
This project and is currently under active development 🚧.
This assumes go is already installed.
Install storetheindex:
go get github.com/filecoin-project/storetheindexInitialize the storetheindex repository and configuration:
storetheindex initOptionally, edit the configuration
edit ~/.storetheindex/config To run storetheindex as a service, run the daemon command. The service watches for providers to index, and exposes a query / content routing client interface.
The daemon is configured by the config file in the storetheindex repository. The config file and repo are created when storetheindex is initialized, using the init command. This repo is located in the local file system. By default, the repo is located at ~/.storetheindex. To change the repo location, set the $STORETHEINDEX_PATH environmental variable.
There are a number of client commands included with storetheindex. Their purpose is to perform simple indexing and lookup actions against a running daemon. These can be helpful to test that an indexer is working. These include the following commands:
Informational:
findFind value by CID or multihash in indexerprovidersShow information about providers known to the indexergetGet information about a specified providerlistList the known providers
Administrative:
adminPerform admin activities with an indexerallowAllow advertisements and content from peerblockBlock advertisements and content from peerimport-providersImport provider information from another indexerreload-configReload various settings from the configuration filesyncSync indexer with provider
initInitialize or upgrade indexer node config file
Testing:
importImports data to indexer from different sourcesregisterRegister provider information with an indexersyntheticGenerate synthetic load to import in indexer
To see a list of available commands, see storetheindex --help. For help with command usage, see storetheindex <command> --help.
The storetheindex config file documentation