Skip to content

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

Notifications You must be signed in to change notification settings

GuinnessNut/nzbCheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.2%
  • QMake 2.8%