LightSeeker - A Supercharged Search Engine for LBRY
Find a file
2024-07-23 00:55:51 +02:00
src init 2024-07-23 00:55:51 +02:00
.dockerignore init 2024-07-23 00:55:51 +02:00
.gitignore init 2024-07-23 00:55:51 +02:00
docker-compose.yml init 2024-07-23 00:55:51 +02:00
Dockerfile init 2024-07-23 00:55:51 +02:00
LICENSE init 2024-07-23 00:55:51 +02:00
package-lock.json init 2024-07-23 00:55:51 +02:00
package.json init 2024-07-23 00:55:51 +02:00
README.md init 2024-07-23 00:55:51 +02:00
test.js init 2024-07-23 00:55:51 +02:00

Lightseeker - A supercharged search engine API for LBRY.

GitHub License

Lightseeker consists of 4 different components, that together offer a supercharged search of publications on the LBRY network.

  • MeiliSearch - as the database backend.
  • Sync - a service that syncs claims in the MeiliSearch database.
  • Purge - a service that removes any blocked/filtered content from the database.
  • Lightseeker - a search API server, which is a drop-in replacement for Lighthouse.

Roadmap

  • Use HUB servers for Sync instead of Chainquery.

Usage

  • To make a simple search by string:

    https://{LIGHTSEEKER_INSTANCE}/search?s={STRING_TO_SEARCH}
    
  • To get autocomplete suggestions:

    https://{LIGHTSEEKER_INSTANCE}/autocomplete?s={STRING_TO_COMPLETE}
    

Installation

Prerequisites

After you've made sure all of that is set up, you are almost all set! You are now just three simple steps away from a working Lightseeker instance.

Clone the repo

git clone https://github.com/LBRYFoundation/lightseeker.git

Install dependencies

npm install

Start Lightseeker

npm run start

That's it! Now it should be live at http://localhost:3000, or whatever the PORT environment variable is set to.

Contributing

Contributions to this project are welcome and encouraged. For more details, see https://lbry.tech/contribute.

Licence

This project is MIT licensed. For the full license, see LICENSE.