gopoststuff

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2014 License: MIT Imports: 14 Imported by: 0

README

GoPostStuff

GoPostStuff is a simple client for posting binaries to Usenet. It's pretty much an attempt at a modernised version of [newsmangler] 1.

Features

  • Multiple server support with multiple connections per server.
  • Encrypted connection support if you like that sort of thing.
  • Maxes a 100Mbit connection with relatively light CPU usage - encrypted connections will use around twice as much CPU (~18% vs ~40% of a single core on my test machine).

Requirements

  • A working [Go installation] 2

  • A Usenet server that allows posting

Installation

  1. Initalise a directory to store Go files:

     mkdir ~/go
     export GOPATH="~/go"
    
  2. Get and install GoPostStuff - this will make a ~/go/bin/GoPostStuff binary:

    go get github.com/madcowfred/GoPostStuff
    go install github.com/madcowfred/GoPostStuff
    
  3. Copy sample.conf to ~/.gopoststuff.conf and edit the options as appropriate.

     cp sample.conf ~/.gopoststuff.conf
     vim ~/.gopoststuff.conf
    
  4. Run GoPostStuff!

Usage

gopoststuff [-c "CONFIG"] [-d] [-s "SUBJECT"] [-v] file1 file2 ... fileN

  • -c "CONFIG": Use an alternate configuration file.
  • -d: Use directory posting mode. Each fileN argument must be a directory. All files in each directory will be posted using the directory name as the subject.
  • -s "SUBJECT": Use subject posting mode. All files will be posted using SUBJECT as the subject. Directories supplied as arguments are always recursed into.
  • -v: Verbose mode. This will spam a lot of extra debug information.

Example

Let's say you have some files that you would like to post:

  • Cool Files/
    • cool.rar
    • cool.r00
    • cool.r01
    • cool.sfv

You can post it with the subject "Cool Files" like so:

gopoststuff -d "Cool Files"

or with a different subject like so:

gopoststuff -s "This is a different subject" "Cool Files"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL