Lighthouse - A lightning fast search for the LBRY blockchain
Find a file
filipnyquist bdfeee4a9d
Merge pull request #42 from BelfordZ/feature/auto-complete
fix(search) Update getAutoComplete
2017-10-31 12:00:08 +01:00
decoder Removed configuration of decoder, using lbrycrd conf from .lbrycrd. 2017-09-26 17:51:18 +02:00
docs Final documentation change for today. 2017-09-28 22:36:36 +02:00
server fix(search) Update getAutoComplete 2017-10-19 20:33:07 -07:00
test Added the basic structure and fixed some issues! 2017-08-16 19:49:27 +02:00
.babelrc Added the basic structure and fixed some issues! 2017-08-16 19:49:27 +02:00
.editorconfig Added the basic structure and fixed some issues! 2017-08-16 19:49:27 +02:00
.eslintrc Added the basic structure and fixed some issues! 2017-08-16 19:49:27 +02:00
.gitignore ignore claimTrieCache 2017-09-22 18:33:31 -04:00
apidoc.json Lets stick to base-path for API. 2017-09-26 18:40:33 +02:00
CONTRIBUTORS.md Added contributors 2017-09-20 13:17:48 +02:00
gendb.sh Made ./gendb.sh idempotent. 2017-09-26 17:52:05 +02:00
package.json fix(search) Update getAutoComplete 2017-10-19 20:33:07 -07:00
README.md Updated documentation with more information! 2017-10-16 22:26:13 +02:00
yarn.lock Bugfixes... 2017-09-26 20:27:44 +02:00

Lighthouse - A lightning fast search for the LBRY blockchain

Created by filipnyquist filip@lbry.io and the community!

What is Lighthouse?

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?

  1. Elasticsearch as a backend db server.
  2. LBRYimport, a importer that imports the claims into the Elasticsearch database.
  3. Lighthouse API server, which serves the API and does all calculations about what to send to the end user.

API Documentation

The full API documentation

Running Lighthouse

Prerequisites

To get started you should clone the git:

git clone https://github.com/lbryio/lighthouse

Grab the latest release of lbrycrd here:

Download lbrycrd

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 a instance of the decoder:

cd decoder && pip install -r requirements.txt && python decoder.py

Build and run Lighthouse:

yarn run prod

WOO! 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 so it could take approx 10-15minutes before all claims are up to date in database.

License

MIT © LBRYio, Filip Nyquist