GithubHelp home page GithubHelp logo

howeyc / gopoststuff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madcowfred/gopoststuff

0.0 0.0 0.0 38 KB

Multiple connection USENET binary poster written in Go

License: MIT License

Go 100.00%

gopoststuff's Introduction

GoPostStuff

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

Features

  • Multiple server support with multiple connections per server.
  • Native TLS support so you don't need to use stunnel or equivalent frippery.
  • Fast: a basic Linode VPS can push 250Mbit of TLS-encrypted data while using 50-60% of a single CPU (Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz).

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.toml to ~/.gopoststuff.toml and edit the options as appropriate.

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

Usage

gopoststuff [-c "CONFIG"] [-d] [-g "GROUP"] [-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.
  • -g "GROUP": Post to GROUP instead of the global/DefaultGroup config option.
  • -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"

gopoststuff's People

Contributors

howeyc avatar madcowfred avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.