GithubHelp home page GithubHelp logo

sanjit-sinha / tg-usenetbot Goto Github PK

View Code? Open in Web Editor NEW
42.0 1.0 21.0 176 KB

Telegram Bot for Interacting with SABnzbd and NZBhydra API to manage and use them via Telegram.

Home Page: https://theopensourcerer.t.me

License: MIT License

Dockerfile 0.45% Python 99.55%
nzbhydra2 pyrogram sabnzbd telegram-bot telegram-bot-api usenet googledrive postprocessing python3 rclone scripts

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 or IMDB ID or IMDB link.
/series - Series Name or IMDB ID or 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

borxr avatar harsh-br0 avatar rex69420 avatar sanjit-sinha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tg-usenetbot's Issues

Rclone didn't work

I've followed step by step but why isn't the rclone running, and there aren't any error messages.

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.