Skip to content
Lighthouse - A lightning fast search for the LBRY blockchain
JavaScript Shell
Branch: master
Clone or download
tiger5226 and kauffj Strip @ prefix subquery
Signed-off-by: Mark Beamer Jr <markbeamerjr@gmail.com>
Latest commit 5c68e32 Sep 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs .io to .com Jul 8, 2019
server Strip @ prefix subquery Nov 20, 2019
test Added the basic structure and fixed some issues! Aug 16, 2017
.babelrc Added the basic structure and fixed some issues! Aug 16, 2017
.editorconfig Added the basic structure and fixed some issues! Aug 16, 2017
.eslintrc Added the basic structure and fixed some issues! Aug 16, 2017
.gitignore add debugging Oct 14, 2019
.travis.yml .io to .com Jul 8, 2019
CONTRIBUTORS.md Added contributors Sep 20, 2017
LICENSE
README.md .io to .com Jul 8, 2019
chainquery-config.json.example replace API with db connector Oct 14, 2019
gendb.sh Fixed the gendb script for compability with new curl versions. Jul 9, 2018
package-lock.json replace API with db connector Oct 14, 2019
package.json replace API with db connector Oct 14, 2019
swagger.json .io to .com Jul 8, 2019

README.md

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)

You can’t perform that action at this time.