madcowfred / GoPostStuff

Multiple connection USENET binary poster written in Go
MIT License
32 stars 24 forks source link

GoPostStuff

GoPostStuff is a simple client for posting binaries to Usenet, written in Go. If you've seen/used newsmangler, imagine that but faster (and maybe better one day).

Features

Requirements

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] [-g "GROUP"] [-s "SUBJECT"] [-v] file1 file2 ... fileN

Example

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

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"