Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madcowfred/GoPostStuff
Multiple connection USENET binary poster written in Go
https://github.com/madcowfred/GoPostStuff
Last synced: 3 months ago
JSON representation
Multiple connection USENET binary poster written in Go
- Host: GitHub
- URL: https://github.com/madcowfred/GoPostStuff
- Owner: madcowfred
- License: mit
- Created: 2013-12-29T12:11:17.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-16T02:56:01.000Z (almost 10 years ago)
- Last Synced: 2024-08-02T01:25:55.807Z (6 months ago)
- Language: Go
- Size: 236 KB
- Stars: 32
- Watchers: 11
- Forks: 24
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - madcowfred/GoPostStuff - Multiple connection USENET binary poster written in Go (Go)
README
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).[1]: https://github.com/madcowfred/newsmangler/ "newsmangler"
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[2]: http://golang.org/doc/install "Getting Started - The Go Programming Language"
Installation
------------
1. Initalise a directory to store Go files:mkdir ~/go
export GOPATH="~/go"1. Get and install GoPostStuff - this will make a ~/go/bin/GoPostStuff binary:
go get github.com/madcowfred/GoPostStuff
go install github.com/madcowfred/GoPostStuff3. Copy sample.conf to ~/.gopoststuff.conf and edit the options as appropriate.
cp sample.conf ~/.gopoststuff.conf
vim ~/.gopoststuff.conf4. 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.sfvYou 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"``