AlphaReigns DHT Scraper, includes peer updater and categorizer
Switch branches/tags
Nothing to show
Clone or download
Latest commit bc86477 Jul 14, 2018
Permalink
Failed to load latest commit information.
src adding redis to datastore #22 May 23, 2018
.eslintrc.json version 1.0.0 May 11, 2018
.gitignore version 1.0.0 May 11, 2018
LICENSE Initial Commit Feb 26, 2017
README.md Update README.md Jul 14, 2018
ecosystem.config.js version 1.0.0 May 11, 2018
package.json adding redis to datastore #22 May 23, 2018
todo.md adding redis to datastore #22 May 23, 2018
torrents.json version 1.0.0 May 11, 2018
yarn.lock version 1.0.0 May 11, 2018

README.md

AlphaReign

AlphaReign DHT Scraper is a node project that joins the BitTorrent DHT network and will scrape torrent data that passes along the node.

Installation

  • Install Node (version 8 or greater)
  • Install pm2 globally with yarn / npm yarn global add pm2 or npm i -g pm2
  • Install packages with yarn / npm yarn or npm install
  • Change the store in src/config.js to sqlite or mongodb
  • Run to pm2 start ecosystem.config.js

Data Stores

Currently, Alpha Reign supports sqlite and monogodb as a datastore. There are plans to support elasticsearch and redis for searchability and caching.

It is highly recommended to use monogodb instead of sqlite for production uses as sqlite will require high disk usage for all the writes that will be made.

Changing the datastore can be done by changing the store value in src/config.js

MongoDB

store: 'mongodb',

SQLite

store: 'sqlite',