Say hi to your friends through Bonjour by creating (empty) Remote Shares in
their Finder.
Install
Install Go by downloading a package or on OS X with Homebrew like brew install go (or for the beta, brew install --devel go). You might have to open a new shell to get the env variables you need.
Get bonjourno: go get -v github.com/subparlabs/bonjourno
Try running bonjourno. If it didn't find it, you probably don't have $GOPATH/bin in your path, so just run it from there: $GOPATH/bin/bonjourno
Running
Bonjourno has several ways of combining where to get data, how to interpret it, and how to go through it.
Data Source
Just say something straight in the command line: bonjourno This will show up in Finder
Point it to a file: bonjourno --file=messages.txt
Point it to a url: bonjourno --url='https://raw.githubusercontent.com/SubparLabs/bonjourno/master/README.md'
Data Format
The default is to make every line a message, just keeping the first 40 characters.
Instead of lines, go through all the text in the data, in groups of words < 20 characters: bonjourno --file=essay.txt --words
Grab fields from CSV data by specified the index of the field: bonjourno --file=data.csv --csv-field=2
Iteration
By default, it will sequentially go through the messages in order.
You can randomize the order: bonjourno --file=messages.txt --random
Misc
You can prefix messages, for ex to keep them at the top of the list: bonjourno --file=messages.txt --prefix='1-'
Specify how frequently messages should change: bonjourno --file=messages.txt --interval=10s
Lower, upper, or mixed case: bonjourno --file=messages.txt --mixed-case
£ëet §pëak: bonjourno --file=messages.txt --l33t
Examples
ALL CAP COMPANIES NAMES FROM CRUNCHBASE: bonjourno --upper-case --csv-field=0 --interval=10s --random --url='https://raw.githubusercontent.com/datasets/crunchcrawl/master/companydata.csv'
mIxED cAsE rAnDOm cOuNTrIEs: bonjourno --mixed-case --csv-field=1 --interval=10s --random --url='https://raw.githubusercontent.com/datasets/un-locode/master/data/country-codes.csv'