NntpScrape
Various usenet related utilities
Installation
Add this line to your application's Gemfile:
gem 'nntp_scrape'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nntp_scrape
Usage
First, write a config file at ~/.nntp_scrape
host: unlimited.newshosting.com
port: 563 #default
ssl: true #default
user: foobar
pass: bazbak
Then you can:
#/usr/bin/env bash
# watches the provided group, outputting a line of json everytime a new article is posted
nntp_scrape headers alt.binaries.teevee
# starts a repl to interact with the usenet server directly
nntp_scrape repl
>> run Capabilities
=> #<NntpScrape::Commands::Capabilities:0x007ffc56914e20
@caps=
["VERSION 1",
"MODE-READER",
"READER",
...
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request