/juicy-spider

Juicebox Project crawler built for Sepana and Elasticsearch.

Primary LanguageJavaScript

Juicy Spider

A Juicy Spider

Juicy Spider is a Juicebox project crawler built for Sepana. You can use its Sepana engine to search by project:

  • ID
  • Version
  • Handle
  • Metadata
  • Balance
  • Cumulative receiving volume
  • Creation timestamp
  • Trending score
  • Deployer

using Elasticsearch-style queries.

Juicy Spider is built with Node.js, juice-subgraph, and Sepana.

Installation

Clone with:

git clone https://github.com/filipvvv/juicy-spider.git

And install with:

cd juicy-spider && yarn

Create a .env file with:

cp .example.env .env

The env file has been pre-filled with a public engine ID and a read-only API key for that engine.

Querying Sepana

For example queries, run node misc/examples.js.

To learn more about querying Sepana, read:

Running Your Own Engine

Open .env and add your Sepana engine's ID to SEPANA_ENGINE_ID and your Sepana API key to SEPANA_API_KEY. Your API key must have Read and Write ACL Permission over your engine.

  • Run node main/ to synchronize your database with Subgraph and IPFS Juicebox Project data.
  • To reset your engine, run node misc/reset.js.
  • To print the contents of your engine to stdout, run node misc/stringify.js.

About Juicebox

Juicebox helps people run programmable and community funded treasuries from startup to scale, openly on Ethereum. If you have any questions, join the Discord server.