Giter Club home page Giter Club logo

tg-usenetbot's Introduction

Telegram UsenetBot


Telegram UsenetBot is a bot that provides an easy and convenient way to track the progress of your Usenet downloads using Sabnzbd API and can also search in Indexers using Nzbhydra APIs. With Telegram UsenetBot, you can receive your downloads' progress and post processing updates directly on your Telegram chat.



Note Bot is in BETA currently. Better and detailed readme will be added later. Join Testing Group to test and help into identify more Bugs. ( Group is not open for everyone, please only join if you have prior knowledge of using Usenet.)



More about Usenet : IITK ArticleBasic GuideUsenet Reddit wiki

Note: This bot doesn't download any NZB files or content. It simply interacts with various APIs such as Sabnzbd and NZBHydra to display progress and allow user to control them via Telegram.


Bot Commands and Usage

  • /status - To see progress status with live update.
  • /stats - Get detail stats of Bot server.
  • /pause - Pause the given Taskid task.
  • /resume - Resume the given Taskid task.
  • /cancel - Delete the given Taskid task.
  • /nzbmirror - Reply to a .nzb file to add it in sabnzbd.
  • /nzbgrab or /nzbadd - Add multiple IDs which we get from search.
  • /resumeall /pauseall /cancelall (sudo commands)

searching stuff -

  • /nzbfind- Search your query.
  • /movie - Movie name / IMDB ID / IMDB link.
  • /series - Series Name / IMDB ID / IMDB link.
  • /indexers - List all your indexers. (sudo command)

( Few more commands /start /help /ping /update /logs )


Screenshots


Deployment

SABNzbd post-processing script that automatically uploads completed download files to Google Drive and sends Telegram notifications once the file has been successfully uploaded with the drive link : https://github.com/sanjit-sinha/Tg-UsenetBot/blob/main/TelegramBot/usenetbot/postproc.py (Edit according to your need. Give chmod +x authorization to script before using.)

Sabnzbd installation ( Install it as a service to use rclone ) • NZBHydra Installation

Sabnzbd Settings -

settings -> switches -> post-processing -> Untick Post-Process Only Verified Jobs
settings -> switches -> post-processing -> Tick Deobfuscate final filenames
settings -> sorting -> Enable sortings [ Movie: %title (%y)/%fn.%ext series: %sn (%y)/Season %s/%fn.%ext ]

Docker Installation of Usenet Bot

git clone https://github.com/sanjit-sinha/Tg-UsenetBot
cd Tg-UsenetBot

Now edit and fill all the config vars by typing nano config.env and save it by pressing ctrl+o and to exit press ctrl+x.

Running Bot in docker container

sudo docker build . -t usenetbot 
sudo docker run usenetbot 


Credits and Contibution


Based on : https://github.com/sanjit-sinha/TelegramBot-Boilerplate

Abhishek and Mohitjoshi for helping out with usenet stuff.

Any kind of feedback, bug reports, or contributions is greatly appreciated! :)


Copyright and License



tg-usenetbot's People

Contributors

sanjit-sinha avatar harsh-br0 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.