Giter VIP home page Giter VIP logo

rutorrent-discord's Introduction

rutorrent-discord

A rutorrent plugin for discord webhook notifications (https://discordapp.com/developers/docs/resources/webhook)

Sends messages directly into a discord channel with configurable parameters:

https://i.imgur.com/JMoa8H5.png

And if discord is properly set up, it displays desktop notifications the moment a torrent is added, deleted or finished:

https://i.imgur.com/yXkpbU1.png

Installation

  • IMPORTANT: Make sure you have php-curl installed on the webserver that's hosting the ruTorrent install
  • Download/clone the repo
  • Add discordpush to your rutorrent/plugins directory
  • Reload the web interface

Usage

You need to get your webhook URL from your Discord server, see here for how to do it: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks

  • In ruTorrent web interface, go to settings > Discord
  • Paste the webhook url in the "Discord Webhook URL" box
  • Choose if you want the "Ratio" to be included
  • Enable / tick what events should be notified
  • If you want to use Discord notifications on the iOS app, then you'll need to include your Discord user ID (so that the events 'mention' your user and therefore trigger a notification). See here for how to find your user ID: https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-

Changelog

  • 21.02.2023

    • Fixed the payload for the Discord API (now works again)
    • Fixed a stupid error with the inclusion of the "ratio" value
  • 07.01.2023

    • This has been updated to work with ruTorrent v4 (should still be compatible with v3)
  • 01.07.2021

    • This version now fixes the inclusion of the 'ratio' value
    • This also enables you to specifically 'mention' a Discord user in the pushed message (which enables proper iOS notifications)
  • 10.04.2018

    • Title now contains the torrent name, so that the discord desktop notification contains the complete Torrent title (was just "Torrent Finished/Deleted/Added" before)
    • Reduced the amount of fields in the discord embed (can be re-added in the plugins/discordpush/discord.php file)
    • Tracker now only displays the hostname without the torrent-key portion
  • 05.04.2018

    • Overhauled discord messages, now uses embed rather than a text message
    • Filesize numbers are now properly rounded

rutorrent-discord's People

Contributors

githubmilo avatar lawltrox avatar radonthetyrant 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.