GithubHelp home page GithubHelp logo

kaotisk-hund / torrent-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 45 KB

Adds torrents' infoHashes to opentracker's whitelist from any IRC channel

License: GNU General Public License v3.0

Shell 15.23% JavaScript 84.77%
torrent bot irc infohash nodejs whitelist torrent-bot irc-bot infohashes

torrent-bot's Introduction

torrent-bot

It's a bot! Just a bot!

Small description

This is an IRC bot for adding torrents' infoHashes to opentracker's whitelist from any IRC channel you want to plant your bot.

Clone

git clone https://github.com/kaotisk-hund/torrent-bot.git

Install

npm install

Start it

npm start

It joins irc.kaotisk-hund.tk and then #torrents channel. You can edit the config object to get it connected wherever.

There... it waits!

While in the same channel

Usage:
!addtorrent <infoHash>

This adds the infoHash to a file called ./whitelist. Now, if you run an opentracker server with whitelist mode on, then there is a file /var/opentracker/whitelist where your server stores its whitelist.

You can use ./bin/append_whitelist.sh to append the local generated whitelist from torrent-bot to the server's one. You can also use crontab to update the list in schedule.

Something to know about torrent tracker whitelist feature: While you can easily and successfully update your whitelist, opentracker requires either restart or SIGHUP signal in order to read the refreshed list.

Usage:
!pending

While there is a time where the added torrent hashes are not yet in the whitelist, waiting to be absorbed to the opentracker's whitelist, we can see with this command which hashes are not yet added to our opentracker's whitelist.

torrent-bot's People

Contributors

kaotisk-hund avatar

Watchers

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