Giter Site home page Giter Site logo

mbruel / nzbcheck Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 3.0 211 KB

command line tool to check nzb files. First inside the nzb to see if each files has the expected number of Articles, then we check their availability on Usenet using the NNTP Stat command. Implemented in C++11/Qt5, nzbCheck is released for Linux, Windows, MacOS and RPI.

License: GNU Affero General Public License v3.0

C++ 97.23% QMake 2.77%
cpp11 qt5 nzb nntp cmd

nzbcheck's Introduction

nzbCheck

command line tool to check nzb files:

  • First inside the nzb to see if each files has the expected number of Articles (following yEnc format for the subject of the files)
  • then we check their availability on Usenet using the NNTP Stat command.

Implemented in C++11/Qt5, nzbCheck is released for Linux, Windows, MacOS and RPI.

/!\ It is only checking if the Articles are available, there is no CRC check => some of them might be corrupted /!\

Usage :

Syntax: nzbcheck (options)* -i <nzb file>
	--help             : Help: display syntax
	-v or --version    : app version
	--progress         : display progress bar
	-d or --debug      : display debug information
	-q or --quit       : quiet mode (no output on stdout)
	-i or --input      : input file : nzb file to check

// you can provide servers in one string using -S and/or split the parameters for ONE SINGLE server
	-S or --server     : NNTP server following the format (<user>:<pass>@@@)?<host>:<port>:<nbCons>:(no)?ssl
	-h or --host       : NNTP server hostname (or IP)
	-P or --port       : NNTP server port
	-s or --ssl        : use SSL
	-u or --user       : NNTP server username
	-p or --pass       : NNTP server password
	-n or --connection : number of NNTP connections

Examples:
  - nzbcheck --progress -S "user:password@@@news.usenetserver.com:563:50:ssl" -i /nzb/myNzbFile.nzb
  - nzbcheck --quiet -h news.usenetserver.com -P 563 -u user -p password -n 50 -s -i /nzb/myNzbFile.nzb

Output:

number of missing Articles (or negative value if any syntax error or parsing issue)

How to build

Dependencies:

build-essential (C++ compiler, libstdc++, make,...)
qt5-default (Qt5 libraries and headers)
qt5-qmake (to generate the moc files and create the Makefile)
libssl (v1.0.2 or v1.1) but it should be already installed on your system

Build:

go to the src folder
qmake
make

Easy! it should have generate the executable nzbcheck
you can copy it somewhere in your PATH so it will be accessible from anywhere

As it is made in C++/QT, you can build it and run it on any OS (Linux / Windows / MacOS / Android)
releases have only been made for Linux x64 and Windows x64 (for 7 and above) and MacOS
in order to build on other OS, the easiest way would be to install QT and load the project in QtCreator

Donations

I'm Freelance nowadays, working on several personal projects, so if you use the app and would like to contribute to the effort, feel free to donate what you can.

nzbCheck or in Bitcoin at this address: 3BGbnvnnBCCqrGuq1ytRqUMciAyMXjXAv6 ngPost_QR

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.