Lighthouse - A lightning fast search for the LBRY blockchain
Find a file
Mark Beamer Jr e7c97e8420
Strip @ prefix subquery
Signed-off-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2019-09-22 01:56:36 -04:00
decoder Removed configuration of decoder, using lbrycrd conf from .lbrycrd. 2017-09-26 17:51:18 +02:00
docs .io to .com 2019-07-08 20:00:10 +02:00
server Strip @ prefix subquery 2019-09-22 01:56:36 -04: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 Added auto-deployment for lighthouse 2018-11-04 01:01:22 -04:00
.travis.yml .io to .com 2019-07-08 20:00:10 +02:00
CONTRIBUTORS.md Added contributors 2017-09-20 13:17:48 +02:00
gendb.sh Fixed the gendb script for compability with new curl versions. 2018-07-09 14:50:21 +02:00
LICENSE create LICENSE file 2018-02-05 13:04:58 -08:00
package-lock.json Bump eslint from 3.19.0 to 4.18.2 2019-08-20 15:52:36 +00:00
package.json Bump eslint from 3.19.0 to 4.18.2 2019-08-20 15:52:36 +00:00
README.md .io to .com 2019-07-08 20:00:10 +02:00
swagger.json .io to .com 2019-07-08 20:00:10 +02:00

Lighthouse - A lightning fast search for the LBRY blockchain

Codacy Badge MIT licensed

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.com

What does Lighthouse consist of?

  1. Elasticsearch as a backend db server.
  2. LBRYimport, an 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 / Usage example

To make a simple search by string:

https://lighthouse.lbry.com/search?s=stringtosearch

To get autocomplete suggestions:

https://lighthouse.lbry.com/autocomplete?s=stringtocomp

The full API documentation

Installation

Prerequisites

To get started you should clone the git:

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

Make sure elasticsearch is running and run (from the lighthouse dir):

./gendb.sh

Install dependencies:

npm run install --production=false

Build and run Lighthouse:

npm 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.com/faq/contributing

License

This project is MIT Licensed © LBRYio, Filip Nyquist

Security

We take security seriously. Please contact security@lbry.com regarding any security issues. Our PGP key is here if you need it.

Contact

The primary contact for this project is @tiger5226 (beamer@lbry.com)