70415626c5
Added claim type filter Improved filtering and return no results when wrong input List of types as input for mediaType and contentType |
||
---|---|---|
decoder | ||
docs | ||
server | ||
test | ||
.babelrc | ||
.editorconfig | ||
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTORS.md | ||
gendb.sh | ||
LICENSE | ||
package.json | ||
README.md | ||
swagger.json | ||
yarn.lock |
Lighthouse - A lightning fast search for the LBRY blockchain
Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities. The official lighthouse instance is live at https://lighthouse.lbry.io
What does Lighthouse consist of?
- Elasticsearch as a backend db server.
- LBRYimport, an importer that imports the claims into the Elasticsearch database.
- Lighthouse API server, which serves the API and does all calculations about what to send to the end user.
API Documentation
Installation
Prerequisites
To get started you should clone the git:
git clone https://github.com/lbryio/lighthouse
Grab the latest release of lbrycrd here:
Create a lbrycrd config file at ~/.lbrycrd/lbrycrd.conf which contains rpcuser,rpcpassword and rpcport. Then run lbrycrd in the background with that config file.
Make sure elasticsearch is running and run (from the lighthouse dir):
./gendb.sh
Install dependencies:
yarn install --production=false
Start an instance of the decoder:
cd decoder && pip install -r requirements.txt && python decoder.py
Build and run Lighthouse:
yarn run prod
You are now up and running! You can connect to lighthouse at http://localhost:50005, api documentation is here. Lighthouse will continue syncing in the background. It usually takes ~15 minutes before all claims are up to date in the database.
Contributing
Contributions to this project are welcome, encouraged, and compensated. For more details, see lbry.io/faq/contributing
License
This project is MIT Licensed © LBRYio, Filip Nyquist
Security
We take security seriously. Please contact security@lbry.io regarding any security issues. Our PGP key is here if you need it.
Contact
The primary contact for this project is @tiger5226 (beamer@lbry.io)