Started this because I wanted to be able to post to usenet from command-line and (one step further) select directories (containing files to be posted, including par2 repair files) from a Thunar custom (right-click) action.
That worked fine, but I extended it also with menu entries (for folder and file select), so a "yad" fileselector pops up.
It makes use of "newsmangler", see here
https://github.com/madcowfred/newsmangler
Which depends on python.
Further dependencies are: yad and par2 (the latter can be installed from PPM, if not installed, no par2 files will be created)
Required is a payed news-server account that supports posting, many can be found on the web, search for "usenet news server"
Usage:
- From command line:
For directories, from commandline, e.g.:
Code: Select all
posterpy /pathto/dir1 /pathto/dir2 /pathto/dir3 ....
Code: Select all
posterpy-sel /pathto/file1 /pathto/file2 /pathto/file3 ....
(should be possible somehow with other filemanagers also, any tips for how-to much appreciated)
For directories set Thunar custom action command to:
Code: Select all
posterpy %F
For files, set Thunar custom action command to:
Code: Select all
posterpy-sel %F
- By running from Menu > Network "Usenet Poster (folderselect)" or: "Usenet Poster (fileselect)"
First time use you need to fill in server address, username, password.
Then some yad windows will pop up to set subject, par2 name (optional), nzbname (optional) and selection window for newsgroup(s) to post to.
Configuration files are: ~/.newsmangler.conf (containing the server name, authentication, etc..) and ~/nglist (containing the choice of newsgroups, edit or add desired newsgroups to display)
Not sure if there's any interest for this, just sharing what initially was meant for my own use, if there is, I may make improvements or fix bugs (if there are any).
Tested on Tahrpup, Debian Wheezy and Debian Stretch
Attached .pet and .deb packages
Fred