Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 23 Oct 2018, 05:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Usenet Poster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 3487
Location: holland

PostPosted: Wed 24 Jan 2018, 17:29    Post subject:  Usenet Poster
Subject description: Simple program to post files to newsgroups at usenet
 

*** Usenet Poster ***

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:
posterpy /pathto/dir1 /pathto/dir2 /pathto/dir3 ....

Or, for files:
Code:
posterpy-sel /pathto/file1 /pathto/file2 /pathto/file3 ....


- By selecting directories or files in Thunar (all content of the directories will be posted)
(should be possible somehow with other filemanagers also, any tips for how-to much appreciated)
For directories set Thunar custom action command to:
Code:
posterpy %F

and set Appearance conditions to Directories
For files, set Thunar custom action command to:
Code:
posterpy-sel %F

and select all, except Directories, under Appearance conditions

- 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
posterpy_0.1.0_all.pet
Description  posterpy .pet package
pet

 Download 
Filename  posterpy_0.1.0_all.pet 
Filesize  42.85 KB 
Downloaded  50 Time(s) 
posterpy_0.1.0_all.deb.gz
Description  posterpy .deb package (remove fake .gz)
gz

 Download 
Filename  posterpy_0.1.0_all.deb.gz 
Filesize  38.64 KB 
Downloaded  63 Time(s) 
posterpy.jpg
 Description   Usenet Poster
 Filesize   54.93 KB
 Viewed   155 Time(s)

posterpy.jpg


_________________
Dog Linux website
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0385s ][ Queries: 14 (0.0144s) ][ GZIP on ]