Coder Social home page Coder Social logo

teotikalki / dht-bay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bhgraham/dht-bay

0.0 2.0 0.0 153 KB

A DHT crawler, torrent indexer and search portal all in nodeJS

License: The Unlicense

JavaScript 81.42% Shell 3.74% HTML 13.72% CSS 1.13%

dht-bay's Introduction

dht-bay

A DHT crawler, torrent indexer and search portal all in nodeJS

INSTALL

Install necessary tools

apt-get install redis-server redis-tools mongodb aria2

Install node and npm

apt-get install nodejs

Install forever

sudo npm install -g forever

Install dependencies

npm install

Launch the launcher

sh launcher.sh

You'll have your DHT Crawler up and running. Access portal at http://127.0.0.1:3000/. Crawling may take some time so be patient.

CONTENT

The project is composed of 4 modules as presented. Each module is independant and can be used separately without problem.

  • crawlDHT.js is responsible for crawling hashs from the DHT network. It will push hashes on a redis list called DHTS. It also provides a routing table backup system saving it each 10 minutes in a mongo collection called table.
  • loadDHT.js is responsible of loading hashes from the redis list DHTS and to download torrent metadat for indexation. It rely intensely on aria2 tool and tray to download it from torcache, torrage and through DHT.
  • loadTorrent.js is responsible of saving metadatas into our mongo instance in collection torrents. This will be our basis data.
  • portal contains an express instance and is our web portal for data access. Could be greatly improved, some help is welcome.

Using the launcher.sh, all modules will be executed and your database will be populated automatically.

Please fork it, and use it everywhere you can.

@flyersweb

dht-bay's People

Watchers

James Cloos avatar Teoti Nathaniel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.