Say hi to your friends through Bonjour by creating (empty) Remote Shares in their Finder.
- 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
Bonjourno has several ways of combining where to get data, how to interpret it, and how to go through it.
- 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'
- 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
- By default, it will sequentially go through the messages in order.
- You can randomize the order:
bonjourno --file=messages.txt --random
- 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
- 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'
- ¢¤mp^η1es £1steÐ 1n †he New Yo®k St¤ck EЖ¢han9e:
bonjourno --l33t --csv-field=1 --interval=10s --random --url='https://raw.githubusercontent.com/datasets/nyse-listings/master/data/nyse-listed.csv'
Run with --help
for usage. If you have problems, open an Issue.